1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| import { EntityModel } from '@midwayjs/orm';
| import { BaseEntity } from '@cool-midway/core';
| import { Column, Double } from 'typeorm';
| /**
| * 斗轮机信息
| */
| @EntityModel('t_base_dou_trubine_location')
| export class Trubinelocation extends BaseEntity {
| @Column({ comment: '{name:"高度",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| elevation: string;
|
| @Column({ comment: '{name:"方位角",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| heading_angle: string;
|
| @Column({ comment: '{name:"翻滚角",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| roll_angle: string;
|
| @Column({ comment: '{name:"俯仰角",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| petch_angle: string;
|
| @Column({ comment: '{name:"纬度",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| latitude: string;
|
| @Column({ comment: '{name:"经度",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| longitude: string;
|
| @Column({ comment: '{name:"精度",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
| precision: string;
|
| @Column({ comment: '{name:"备注"}', type: 'varchar', default: '', length: 50 })
| remark: string;
|
| @Column({ comment: '{name:"状态",dict:{"1":"启用", "0":"停用"}}', type: 'int', default: 1, width: 0 })
| status: number;
|
| }
|
|