/*
 * @Author: YKH
 * @Date: 2021-12-23 15:35:47
 * @LastEditTime: 2021-12-24 11:27:17
 * @Description: 
 * @FilePath: \cool-admin\cool-admin-midway-master\src\app\modules\shuyou\entity\task_game_record.ts
 */
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from 'midwayjs-cool-core';
import { Column, Index } from 'typeorm';

/**
 * 任务游戏记录表
 */

@EntityModel('task_game_record')
export class ShuyouTaskGameRecordEntity extends BaseEntity {

  @Index()
  @Column({ comment: '任务id', length: 50 })
  task_id: string;

  @Column({ comment: '游戏id' })
  game_id: number;

}
