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

/**
 * 游戏厂商
 */
@EntityModel('shuyou_game_agent')
export class ShuyouGameAgentEntity extends BaseEntity {
  @Column({ comment: '厂商名称' })
  name: string;

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

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

  @Column({ comment: '该厂商类别下游戏数量', default: 0 })
  game_count: number;

}

