1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| import { EntityModel } from '@midwayjs/orm';
| import { BaseEntity } from '@cool-midway/core';
| import { Column, Double } from 'typeorm';
| /**
| * 设备分组表
| */
| @EntityModel('t_base_device_group')
| export class Devicegroup extends BaseEntity {
| @Column({ comment:'分组设置人员', type:'varchar', default:'null', length:255})
| configurator: string;
|
| @Column({ comment:'逻辑ID', type:'varchar', default:'null', length:255})
| logic_id: string;
|
| @Column({ comment:'备注', type:'varchar', default:'', length:255})
| remark: string;
|
| @Column({ comment:'状态', type:'tinyint', default:1, width:0})
| status: number;
|
| }
|
|