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

/**
 * 学员课件学习信息
 */
@Entity()
export class OnlineIssues extends IncrementIdEntity {
  @Column({ type: 'longtext', comment: '问题名称' })
  title: string;
  @Column({ comment: '问题描述', type: 'longtext' })
  content: string;

  @Column({ comment: '问题简介', type: 'longtext' })
  explain: string;

  @Column({ comment: '问题回复状态', default: 0 })
  status: number;
}
