wangrong
2022-03-23 9e3033c25283dff92244ccc0156b3ad1ee409767
src/app/modules/business/entity/basedevicesection.ts
@@ -2,29 +2,29 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
        * 设备组件
        */
        * 设备组件
        */
@EntityModel('t_base_devicesection') 
export class Basedevicesection extends BaseEntity { 
@Column({ comment:'配置人', type:'varchar', default:'', length:50})
@Column({ comment:'{name:"配置人"}', type:'varchar', default:'null', length:50})
configurator: string;
@Column({ comment:'设备物理ID', type:'varchar', default:'', length:50})
@Column({ comment:'{name:"物理序列号"}', type:'varchar', default:'null', length:50})
device_id: string;
@Column({ comment:'备注', type:'varchar', default:'', length:50})
@Column({ comment:'{name:"备注"}', type:'varchar', default:'null', length:50})
remark: string;
@Column({ comment:'组件名称', type:'varchar', default:'', length:50})
@Column({ comment:'{name:"组件"}', type:'varchar', default:'null', length:50})
section_name: string;
@Column({ comment:'顺序编号', type:'varchar', default:'', length:50})
@Column({ comment:'{name:"顺序"}', type:'varchar', default:'null', length:50})
section_sort: string;
@Column({ comment:'组件类型', type:'int', default:null, width:0})
@Column({ comment:'{name:"组件类型",dict:{"1":"工控机","2":"网卡","3":"可见光探头","4":"毫米波雷达"}}', type:'int', default:null, width:0})
section_type: number;
@Column({ comment:'状态,1-启用  0-停用', type:'int', default:1, width:0})
@Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0})
status: number;
}