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

/**
 * 描述
 */
@Entity('dj_kyc')
export class KycEntity extends BaseEntity {
  @Column({ comment: '商户号' })
  mchId: string;

  @Column({ comment: '用户ID' })
  userId: string;

  @Column({ comment: '通道码' })
  code: string;

  @Column({ comment: '平台用户ID' })
  kycUserId: string;

  @Column({ comment: 'KYC_ID' })
  customerId: string;

  @Column({ comment: 'email' })
  email: string;

  @Column({ comment: 'country' })
  country: string;

  @Column({ comment: 'KYC_Level' })
  level: string;

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