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

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

  @Column({ comment: '操作设置ID 对应TrainSettings的ID' })
  setting: number;

  @Column({ comment: '总用时', type: 'bigint', default: 0, nullable: true })
  duration: number;
  @Column({ comment: '总分数', default: 0, nullable: true })
  score: number;
}
