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

/**
 * 游戏列表
 */

@EntityModel('shuyou_game_list')
export class ShuyouGameListEntity extends BaseEntity {

  @Index()
  @Column({ comment: '游戏名称', length: 100 })
  game_name: string;

  @Column({ comment: '游戏端口id' })
  game_agentId: number;

  @Column({ comment: '登录方式id' })
  login_modeId: number;

  @Column({ comment: '备注', nullable: true })
  remark: string;

}
