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

/**
 * 科目步骤
 */
@Entity()
export class SubjectStep extends IncrementIdEntity {
  @Column({ comment: '科目ID' })
  subject: number;

  @Column({ comment: '序号' })
  sort: number;
  @Column({ comment: '延迟时间' })
  delay: number;
  @Column({ comment: '操作用时' })
  duration: number;
  @Column({ comment: '步骤说明', default: '' })
  comment: string;
  @Column({ comment: '操作内容-设备ID' })
  device: number;
  @Column({ comment: '操作内容-部件键值' })
  part: string;
  @Column({ comment: '操作内容-部件状态键值' })
  operation: string;
}
