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

/**
 * 学员课件学习信息
 */
@Entity()
export class CourseStudyDisKudos extends IncrementIdEntity {
  @Column({ name: 'record_id', comment: '所属记录id' })
  recordId: number;

  @Column({ name: 'dis_id', comment: '讨论id' })
  disId: number;

  @Column({ name: 'courseware_id', comment: '0/1 踩或点赞' })
  type: number;
}
