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

/**
 * 游戏-账号对应表
 */
@EntityModel('game_account_record')
export class ShuyouGameAccountRecordEntity extends BaseEntity {

  @Index()
  @Column({ comment: '账号id', length: 100 })
  account_id: string;

  @Index()
  @Column({ comment: '游戏id', length: 100 })
  game_id: string;


}
