1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| import { EntityModel } from '@midwayjs/orm';
| import { BaseEntity } from '@cool-midway/core';
| import { Column, Double } from 'typeorm';
| /**
| * 即时任务记录表
| */
| @EntityModel('t_task_immediately')
| export class Taskimmediately extends BaseEntity {
| @Column({ comment:'逻辑ID', type:'varchar', default:'', length:50})
| logic_ids: string;
|
| @Column({ comment:'设置时间', type:'varchar', default:'', length:50})
| operate_time: string;
|
| @Column({ comment:'操作人', type:'varchar', default:'', length:50})
| operator: string;
|
| @Column({ comment:'备注', type:'varchar', default:'', length:50})
| remark: string;
|
| @Column({ comment:'0-未执行 1-执行中 2-已执行', type:'int', default:null, width:0})
| status: number;
|
| @Column({ comment:'任务指令', type:'varchar', default:'', length:50})
| task_command: string;
|
| @Column({ comment:'任务内容描述', type:'varchar', default:'', length:50})
| task_content: string;
|
| @Column({ comment:'任务参数,如点云参数', type:'varchar', default:'', length:50})
| task_params: string;
|
| @Column({ comment:'任务类型: 1-抓图 2-雷达扫描 3-除尘 ', type:'int', default:null, width:0})
| task_type: number;
|
| }
|
|