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

/**
 * 试题类型表（单选、多选、判断、填空、简答）
 */
@Entity()
export class QuestionType extends IncrementIdEntity {
  @Column({ comment: '类型名（单选多选判断填空简答）' })
  name: string;

  @Column({
    comment: '元素类型（radio、checkbox、radio*2、input、textarea、[video]）',
  })
  element: string;
}
