import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';

/**
 * 描述
 */
@Entity('dj_pay_type')
export class PayTypeEntity extends BaseEntity {
  @Column({ comment: '支付方式' })
  payType: string;

  @Column({ comment: '类型 1-代收 2-代付', default: 1 })
  type: number;

  @Column({ comment: '货币', default: '', length: 300 })
  currencies: string;

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