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;
|
}
|