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/execrecord.ts | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/app/modules/business/entity/execrecord.ts b/src/app/modules/business/entity/execrecord.ts
index c3608f7..9b80c16 100644
--- a/src/app/modules/business/entity/execrecord.ts
+++ b/src/app/modules/business/entity/execrecord.ts
@@ -2,53 +2,53 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 浠诲姟鎵ц璁板綍琛�
- */
+聽 聽 聽 聽 * 浠诲姟鎵ц璁板綍
+聽 聽 聽 聽 */
@EntityModel('t_task_exec_record')
export class Execrecord extends BaseEntity {
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'璁惧鎵ц浠诲姟鏃跺埢鐨勭浉鍏冲弬鏁帮紝json鏍煎紡銆�', type:'varchar', default:'', length:50})
+@Column({ comment:'璁惧鎵ц浠诲姟鏃跺埢鐨勭浉鍏冲弬鏁帮紝json鏍煎紡銆�', type:'varchar', default:'null', length:200})
device_params: string;
-@Column({ comment:'缁撴潫鏃堕棿锛屼换鍔℃墽琛屽畬鎴愭椂闂�', type:'datetime'})
+@Column({ comment:'{name:"缁熻鎴鏃堕棿"}', type:'datetime'})
end_time: Date;
-@Column({ comment:'鎵ц缁撴灉', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎵ц缁撴灉"}', type:'varchar', default:'null', length:50})
exec_result: string;
-@Column({ comment:'鎵ц鑰楁椂', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎵ц鑰楁椂"}', type:'varchar', default:'null', length:0})
exec_time: string;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏄惁鍛ㄦ湡浠诲姟",dict:{"1":"鍛ㄦ湡浠诲姟","0":"鍗虫椂鎬т换鍔�"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'璁惧鐨勯�昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'鏈嶅姟绔暟鎹帴鏀舵椂闂�', type:'datetime'})
+@Column({ comment:'{name:"鏈嶅姟绔暟鎹帴鏀舵椂闂�"}', type:'datetime'})
receive_time: Date;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鏁版嵁鍥炰紶鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"鏁版嵁鍥炰紶鏃堕棿"}', type:'datetime'})
send_time: Date;
-@Column({ comment:'寮�濮嬫椂闂达紝璁惧鏀跺埌鎸囦护鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"缁熻璧峰鏃堕棿"}', type:'datetime'})
start_time: Date;
-@Column({ comment:'鏃犳剰涔夛紝妗嗘灦闇�瑕�', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟鎸囦护', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鎸囦护}', type:'varchar', default:'null', length:50})
task_command: string;
-@Column({ comment:'浠诲姟ID锛屽搴攖_task_periodic_setting鐨勪富閿紝鎴栬�卼_task_immediately涓婚敭', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟ID",tips:"鍛ㄦ湡浠诲姟琛ㄦ垨鑰呭嵆鏃朵换鍔¤〃涓婚敭"}', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍ID锛屽搴攖_task_monitor鐨勪富閿�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍id"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
--
Gitblit v1.9.1