| | |
| | | import { BaseEntity } from '@cool-midway/core'; |
| | | import { Column, Double } from 'typeorm'; |
| | | /** |
| | | * 设备运维记录 |
| | | */ |
| | | * 设备运维记录 |
| | | */ |
| | | @EntityModel('t_base_device_opreraterecord') |
| | | export class Deviceopreraterecord extends BaseEntity { |
| | | @Column({ comment:'设备物理ID', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"物理序列号"}', type:'varchar', default:'null', length:50}) |
| | | device_id: string; |
| | | |
| | | @Column({ comment:'设备逻辑ID', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"设备逻辑ID"}', type:'varchar', default:'null', length:50}) |
| | | logic_id: string; |
| | | |
| | | @Column({ comment:'运维内容', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"运维内容"}', type:'varchar', default:'null', length:50}) |
| | | operate_content: string; |
| | | |
| | | @Column({ comment:'运维类型 1-巡检 2-维修', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"运维类型",dict:{"1":"巡检","2":"维修"}}', type:'varchar', default:'null', length:50}) |
| | | operate_type: string; |
| | | |
| | | @Column({ comment:'运维人员', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"运维人员"}', type:'varchar', default:'null', length:50}) |
| | | operater: string; |
| | | |
| | | @Column({ comment:'附件访问路径', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"文件路径"}', type:'varchar', default:'null', length:50}) |
| | | pic_url: string; |
| | | |
| | | @Column({ comment:'备注', type:'varchar', default:'', length:50}) |
| | | @Column({ comment:'{name:"备注"}', type:'varchar', default:'null', length:50}) |
| | | remark: string; |
| | | |
| | | @Column({ comment:'状态,1-启用 0-停用', type:'int', default:1, width:0}) |
| | | @Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0}) |
| | | status: number; |
| | | |
| | | } |