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/basedeviceinfo.ts | 86 +++++++++++++++++++++---------------------
1 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/src/app/modules/business/entity/basedeviceinfo.ts b/src/app/modules/business/entity/basedeviceinfo.ts
index b385211..c056c41 100644
--- a/src/app/modules/business/entity/basedeviceinfo.ts
+++ b/src/app/modules/business/entity/basedeviceinfo.ts
@@ -1,66 +1,66 @@
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
-import { Column } from 'typeorm';
+import { Column, Double } from 'typeorm';
/**
- * 璁惧淇℃伅琛�
- */
-@EntityModel('t_base_deviceinfo')
-export class BasedeviceinfoEntity extends BaseEntity {
- @Column({ comment: '璁惧楂樺害', type: 'varchar', default: '', length: 50 })
- altitude: string;
+聽 聽 聽 聽 * 璁惧淇℃伅
+聽 聽 聽 聽 */
+@EntityModel('t_base_deviceinfo')
+export class Basedeviceinfo extends BaseEntity {
+@Column({ comment:'{name:"璁惧楂樺害",format:0.000001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
+altitude: string;
- @Column({ comment: '璐﹀彿', type: 'varchar', default: '', length: 50 })
- device_account: string;
+@Column({ comment:'{name:"璐﹀彿",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+device_account: string;
- @Column({ comment: '鍞竴绱㈠紩锛岃澶囩墿鐞唅d锛屽鍘傜紪鍙枫�乻ubscribeno绛�', type: 'varchar', default: '', length: 50 })
- device_id: string;
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
+device_id: string;
- @Column({ comment: '绔彛', type: 'varchar', default: '', length: 50 })
- device_port: string;
+@Column({ comment:'{name:"绔彛",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+device_port: string;
- @Column({ comment: '瀵嗙爜', type: 'varchar', default: '', length: 50 })
- device_psw: string;
+@Column({ comment:'{name:"瀵嗙爜",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+device_psw: string;
- @Column({ comment: '璁惧绮惧害', type: 'varchar', default: '', length: 50 })
- dimension: string;
+@Column({ comment:'{name:"璁惧绮惧害",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+dimension: string;
- @Column({ comment: '', type: 'varchar', default: '', length: 50 })
- heading_angle: string;
+@Column({ comment:'{name:"涓婂�捐",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+heading_angle: string;
- @Column({ comment: 'IP鍦板潃', type: 'varchar', default: '', length: 50 })
- ipaddres: string;
+@Column({ comment:'{name:"IP鍦板潃",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+ipaddres: string;
- @Column({ comment: '绾害锛岀簿纭埌灏忔暟鐐瑰悗6浣�', type: 'varchar', default: '', length: 50 })
- latitude: string;
+@Column({ comment:'{name:"绾害",format:0.000001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
+latitude: string;
- @Column({ comment: '瀹夎浣嶇疆锛�**鐪�**甯�**鍖�**璺�**鍙�**妤�**鏂逛綅', type: 'varchar', default: '', length: 50 })
- location: string;
+@Column({ comment:'{name:"瀹夎浣嶇疆",format:"**鐪�**甯�**鍖�**璺�**鍙�**妤�**鏂逛綅"}', type:'varchar', default:'null', length:50})
+location: string;
- @Column({ comment: '璁惧閫昏緫ID', type: 'varchar', default: '', length: 50 })
- logic_id: string;
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
+logic_id: string;
- @Column({ comment: '缁忓害锛岀簿纭埌灏忔暟鐐瑰悗6浣�', type: 'varchar', default: '', length: 50 })
- longitude: string;
+@Column({ comment:'{name:"缁忓害",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
+longitude: string;
- @Column({ comment: '璁惧鍚嶇О', type: 'varchar', default: '', length: 50 })
- name: string;
+@Column({ comment:'{name:"璁惧鍚嶇О"}', type:'varchar', default:'null', length:50})
+name: string;
- @Column({ comment: '杩愮淮璐熻矗浜�', type: 'varchar', default: '', length: 50 })
- opertator: string;
+@Column({ comment:'{name:"杩愮淮璐熻矗浜�",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+opertator: string;
- @Column({ comment: '淇话瑙�', type: 'varchar', default: '', length: 50 })
- petch_angle: string;
+@Column({ comment:'{name:"淇话瑙�",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+petch_angle: string;
- @Column({ comment: '鑸悜瑙�', type: 'varchar', default: '', length: 50 })
- precision: string;
+@Column({ comment:'{name:"鑸悜瑙�",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+precision: string;
- @Column({ comment: '澶囨敞', type: 'varchar', default: '', length: 50 })
- remark: string;
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
+remark: string;
- @Column({ comment: '妯粴瑙�', type: 'varchar', default: '', length: 50 })
- roll_angle: string;
+@Column({ comment:'{name:"妯粴瑙�",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+roll_angle: string;
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: 1, width: 0 })
- status: number;
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
+status: number;
}
\ No newline at end of file
--
Gitblit v1.9.1