master
2022-03-08 8a81242ea5187759f38981039b87db41aed90a38
src/app/modules/taskSetting/entity/taskSetting.ts
@@ -5,36 +5,36 @@
/**
 * 商品
 */
@EntityModel('tasksetting_fcs')
@EntityModel('t_task_periodic_setting')
export class DemotaskSettingEntity extends BaseEntity {
  @PrimaryGeneratedColumn({ comment: 'id' })
  id: number;
  @Column({ comment: '设备分组ID' })
  group_id: string;
  group_id: number;
  @Column({ comment: '周期任务' })
  crontab_rule: string;
  @Column({ comment: '任务类型', default: "无" })
  task_type: string;
  @Column({ comment: '任务类型', default: null })
  task_type: number;
  @Column({ comment: '任务内容描述', default: "无" })
  @Column({ comment: '任务内容描述', default: null })
  task_content: string;
  @Column({ comment: '任务命令格式', default: "无" })
  @Column({ comment: '任务命令格式', default: null })
  task_command: string;
  @Column({ comment: '任务参数', default: "无" })
  @Column({ comment: '任务参数', default: null })
  task_params: string;
  @Column({ comment: '设置人' })
  operator: string;
  @Column({ comment: '任务结束时间', default: "无" })
  end_time: string;
  @Column({ comment: '任务结束时间', default: null })
  end_time: Date;
  @Column({ comment: '备注', default: "无" })
  @Column({ comment: '备注', default: null })
  remark: string;
  @Column({ comment: '状态', default: true })