master
2022-03-28 809bb58f93d45452852a01d9222a88aa412b65a9
2022-3-28提交调试
2个文件已修改
51 ■■■■■ 已修改文件
src/app/modules/business/entity/modelstatic.ts 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/app/modules/business/entity/trubinelocation.ts 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/app/modules/business/entity/modelstatic.ts
@@ -18,6 +18,15 @@
  @Column({ comment: '', type: 'varchar', default: '', length: 50 })
  name: string;
  @Column({ comment: '经度', type: 'varchar', default: '', length: 50 })
  longitude: string;
  @Column({ comment: '纬度', type: 'varchar', default: '', length: 50 })
  latitude: string;
  @Column({ comment: '高度', type: 'varchar', default: '', length: 50 })
  height: string;
  @Column({ comment: '{name:"备注"}', type: 'varchar', default: '', length: 50 })
  remark: string;
src/app/modules/business/entity/trubinelocation.ts
@@ -2,29 +2,35 @@
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;
        * 斗轮机信息
        */
@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 })
  heading_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 })
  roll_angle: 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 })
  petch_angle: string;
@Column({ comment:'{name:"精度",format:0.00001,tips:"精确到小数点后6位"}', type:'varchar', default:'', length:50})
precision: string;
  @Column({ comment: '{name:"纬度",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
  latitude: string;
@Column({ comment:'{name:"备注"}', type:'varchar', default:'', length:50})
remark: string;
  @Column({ comment: '{name:"经度",format:0.00001,tips:"精确到小数点后6位"}', type: 'varchar', default: '', length: 50 })
  longitude: string;
@Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0})
status: number;
  @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;
}