master
2022-03-23 3b8d6dc7ac1f52a411671ceb5cabfb995ea3cfe2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
        * 监测元数据
        */
@EntityModel('t_model_point_cloud') 
export class Pointcloud extends BaseEntity { 
@Column({ comment:'{name:"备注"}', type:'varchar', default:'null', length:50})
remark: string;
 
@Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0})
status: number;
 
}