/*
 * @Author: YKH
 * @Date: 2021-12-08 10:26:27
 * @LastEditTime: 2022-03-16 16:38:03
 * @Description: 
 * @FilePath: \cool-admin\cool-admin-midway-master\src\app\modules\shuyou\entity\lo_mode.ts
 */
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from 'midwayjs-cool-core';
import { Column } from 'typeorm';

/**
 * 游戏登录方式
 */
@EntityModel('shuyou_lo_mode')
export class ShuyouLoModeEntity extends BaseEntity {
  @Column({ comment: '登录方式' })
  name: string;

  @Column({ comment: '描述' })
  description: string;

  @Column({ comment: '显示顺序', nullable: true })
  sort: number;

  @Column({ comment: '该登录方式下游戏数量', default: 0 })
  game_count: number;

}
