import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

/**
 * 课程评价维度
 */
@Entity()
export class courseEvaluate {
  @PrimaryGeneratedColumn('increment')
  id: number;

  @Column({ name: 'course_id', comment: '课程ID' })
  courseId: number;
  @Column({ type: 'longtext', comment: '维度名称' })
  dimensionality: string;

  @Column({ comment: '0/1 课程评价或学院自评' })
  type: number;

  @Column({
    default: 0,
    select: false,
    name: 'del_flag',
    comment: '是否删除：0否/1是',
  })
  delFlag: number;
}
