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

/**
 * 学生评价
 */
@Entity()
export class StudentEvaluation extends IncrementIdEntity {
  @Column({ name: 'student_id', comment: '学生 ID' })
  studentId: string;

  @Column({ name: 'indicator_id', comment: '评价指标 ID' })
  indicatorId: number;

  @Column({ comment: '评价分数' })
  score: number;
}
