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

/**
 * 问题的答案信息
 */
@Entity()
export class OnlineIssuesAnswer extends IncrementIdEntity {
  @Column({ type: 'longtext', name: 'answer_person_id', comment: '解答人ID' })
  answerPersonId: string;
  @Column({ name: 'issues_id', comment: '问题id' })
  issuesId: number;
  @Column({ type: 'longtext', comment: '回复内容' })
  content: string;
  @Column({ comment: '是否回复0/1', default: 0 })
  status: number;
}
