/*
 * @Author: YKH
 * @Date: 2022-05-26 09:26:34
 * @LastEditTime: 2022-07-05 16:11:44
 * @Description: 
 * @FilePath: \cool-admin\cool-admin-midway-master\src\app\modules\shuyou\entity\game_complete_hand_card.ts
 */
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from 'midwayjs-cool-core';
import { Column, Index } from 'typeorm';

/**
 * 手动用QQ卡记录表
 */
@EntityModel('shuyou_game_complete_hand_card')
export class ShuyouGameCompleteHandCardEntity extends BaseEntity {

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

  @Index()
  @Column({ type: 'date', comment: '完成日期' })
  new_date: Date;

  @Column({ comment: 'QQ卡号' })
  card_account: string;

  @Column({ comment: '消耗金额' })
  card_balance: string;

}
