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

@Entity()
export class TrainSettings extends IncrementIdEntity {
  @Column({ comment: '训练ID' })
  train: number;

  @Column({ comment: '训练类型' })
  type: number;

  @Column({ comment: '组别' })
  group: number;

  @Column({ comment: '操作设备' })
  device: number;

  @Column({ comment: '评判规则标志', default: 0 })
  rule: number;

  @Column({ comment: '操作人员用户ID' })
  user: string;

  @Column({ comment: '是否为指导岗位', default: 0 })
  teacher: number;
}
