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:'', length:50})
| remark: string;
|
| @Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0})
| status: number;
|
| }
|
|