import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from 'midwayjs-cool-core';
import { Column, PrimaryColumn } from 'typeorm';

/**
 * 账号类型
 */
@EntityModel('shuyou_account_type')
export class ShuyouAccountTypeEntity extends BaseEntity {

  @PrimaryColumn({ comment: '类型名称',length: 100 })
  name: string;

  @Column({ comment: '描述',nullable:true, length: 200 })
  description: string;

}

