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/basedevicesection.ts |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/app/modules/business/entity/basedevicesection.ts b/src/app/modules/business/entity/basedevicesection.ts
index 025e88d..0590fc8 100644
--- a/src/app/modules/business/entity/basedevicesection.ts
+++ b/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;
 
 }
\ No newline at end of file

--
Gitblit v1.9.1