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
| import { EntityModel } from '@midwayjs/orm';
| import { BaseEntity } from '@cool-midway/core';
| import { Column, Double } from 'typeorm';
| /**
| * 盘煤计划
| */
| @EntityModel('t_plan_inventory')
| export class Planinventory extends BaseEntity {
| @Column({ comment:'{name:"煤种标记"}', type:'varchar', default:'', length:50})
| coal_marker: string;
|
| @Column({ comment:'{name:"煤堆体积"}', type:'varchar', default:'', length:50})
| coal_volume: string;
|
| @Column({ comment:'{name:"煤堆重量",tips:"单位吨"}', type:'varchar', default:'', length:50})
| coal_weight: string;
|
| @Column({ comment:'{name:"组合点云ID"}', type:'int', default:null, width:0})
| com_model_id: number;
|
| @Column({ comment:'{name:"盘煤计划ID"}', type:'int', default:null, width:0})
| plan_id: number;
|
| @Column({ comment:'{name:"盘煤名称"}', type:'varchar', default:'', length:50})
| plan_name: string;
|
| @Column({ comment:'{name:"备注"}', type:'varchar', default:'', length:50})
| remark: string;
|
| @Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0})
| status: number;
|
| }
|
|