From 9e3033c25283dff92244ccc0156b3ad1ee409767 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期三, 23 三月 2022 10:12:36 +0800
Subject: [PATCH] check the entity

---
 src/app/modules/business/entity/basedevicestatus.ts |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/app/modules/business/entity/basedevicestatus.ts b/src/app/modules/business/entity/basedevicestatus.ts
index c7e0b3b..c44577a 100644
--- a/src/app/modules/business/entity/basedevicestatus.ts
+++ b/src/app/modules/business/entity/basedevicestatus.ts
@@ -2,29 +2,29 @@
 import { BaseEntity } from '@cool-midway/core';
 import { Column, Double } from 'typeorm';
 /**
-        * 璁惧鐘舵�佽〃
-        */
+聽 聽 聽 聽 * 璁惧鐘舵��
+聽 聽 聽 聽 */
 @EntityModel('t_base_devicestatus') 
 export class Basedevicestatus extends BaseEntity { 
-@Column({ comment:'绫诲埆   1-蹇冭烦   2-鍛婅', type:'int', default:null, width:0})
+@Column({ comment:'{name:"绫诲埆",dict:{"1":"蹇冭烦", "2":"鍛婅"}}', type:'int', default:null, width:0})
 alarm_type: number;
 
-@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})
 remark: string;
 
-@Column({ comment:'涓婃姤鍐呭锛屽彲浠ユ槸json鏍煎紡', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"涓婃姤鍐呭",tips:"鍙互鏄痡son鏍煎紡"}', type:'varchar', default:'null', length:200})
 report_content: string;
 
-@Column({ comment:'涓婃姤鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"涓婃姤鏃堕棿"}', type:'datetime'})
 report_time: Date;
 
-@Column({ comment:'鐘舵��,1-鍚敤  0-鍋滅敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
 status: number;
 
 }
\ No newline at end of file

--
Gitblit v1.9.1