import { IncrementIdEntity } from 'src/common/entities/increment-id.entity';
import { Column, Entity } from 'typeorm';

// 设备部件状态、操作
@Entity()
export class DevicePartOperation extends IncrementIdEntity {
  @Column({
    comment: '状态名/操作名 （唯一）',
  })
  name: string;
  @Column({
    comment: '操作键值',
  })
  keycode: string;
}
