| | |
| | | import { BaseEntity } from '@cool-midway/core'; |
| | | import { Column, Double } from 'typeorm'; |
| | | /** |
| | | * 分组任务参数设置 |
| | | */ |
| | | @EntityModel('t_task_periodic_setting') |
| | | export class Periodicsetting extends BaseEntity { |
| | | @Column({ comment:'周期任务', type:'varchar', default:'null', length:255}) |
| | | crontab_rule: string; |
| | | * 分组任务参数设置 |
| | | */ |
| | | @EntityModel('t_task_periodic_setting') |
| | | export class Periodicsetting extends BaseEntity { |
| | | @Column({ comment: '周期任务', type: 'varchar', default: '', length: 255 }) |
| | | crontab_rule: string; |
| | | |
| | | @Column({ comment:'任务结束时间', type:'datetime'}) |
| | | end_time: Date; |
| | | @Column({ comment: '任务结束时间', type: 'datetime' }) |
| | | end_time: Date; |
| | | |
| | | @Column({ comment:'设备分组ID', type:'int', default:null, width:0}) |
| | | group_id: number; |
| | | @Column({ comment: '设备分组ID', type: 'int', default: null, width: 0 }) |
| | | group_id: number; |
| | | |
| | | @Column({ comment:'设置人', type:'varchar', default:'null', length:255}) |
| | | operator: string; |
| | | @Column({ comment: '设置人', type: 'varchar', default: '', length: 255 }) |
| | | operator: string; |
| | | |
| | | @Column({ comment:'备注', type:'varchar', default:'null', length:255}) |
| | | remark: string; |
| | | @Column({ comment: '备注', type: 'varchar', default: '', length: 255 }) |
| | | remark: string; |
| | | |
| | | @Column({ comment:'状态', type:'tinyint', default:1, width:0}) |
| | | status: number; |
| | | @Column({ comment: '状态', type: 'tinyint', default: 1, width: 0 }) |
| | | status: number; |
| | | |
| | | @Column({ comment:'任务命令格式', type:'varchar', default:'null', length:255}) |
| | | task_command: string; |
| | | @Column({ comment: '任务命令格式', type: 'varchar', default: '', length: 255 }) |
| | | task_command: string; |
| | | |
| | | @Column({ comment:'任务内容描述', type:'varchar', default:'null', length:255}) |
| | | task_content: string; |
| | | @Column({ comment: '任务内容描述', type: 'varchar', default: '', length: 255 }) |
| | | task_content: string; |
| | | |
| | | @Column({ comment:'任务参数', type:'varchar', default:'null', length:255}) |
| | | task_params: string; |
| | | @Column({ comment: '任务参数', type: 'varchar', default: '', length: 255 }) |
| | | task_params: string; |
| | | |
| | | @Column({ comment:'任务类型', type:'int', default:null, width:0}) |
| | | task_type: number; |
| | | @Column({ comment: '任务类型', type: 'int', default: null, width: 0 }) |
| | | task_type: number; |
| | | |
| | | } |