master
2022-03-16 26d7c4cb292025dad56635dc02bf32a348ee62ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
import { Column, PrimaryGeneratedColumn } from 'typeorm';
 
/**
 * 商品
 */
@EntityModel('t_base_device_group')
export class DemodeviceGroupEntity extends BaseEntity {
  @PrimaryGeneratedColumn({ comment: 'id' })
  id: number;
 
  @Column({ comment: '逻辑ID' })
  logic_id: string;
 
  @Column({ comment: '分组设置人员' })
  configurator: string;
 
  @Column({ comment: '备注', default: "无" })
  remark: string;
 
  @Column({ comment: '状态', default: 1 })
  status: boolean;
}