open_user.ts 587 B

12345678910111213141516171819202122
  1. import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
  2. import { BaseEntity } from '@cool-midway/core';
  3. /**
  4. * 开放订单主体
  5. */
  6. @Entity('open_user')
  7. export class OpenUserEntity extends BaseEntity {
  8. /*
  9. 申请收款账户
  10. 查询申请列表
  11. 查询收款账户列表
  12. */
  13. @Column({ length: 100, comment: '商户编号', default: '' })
  14. mch_id: string;
  15. @Column({ length: 100, comment: '用户编号', default: '' })
  16. account_id?: string;
  17. @Column({ length: 100, comment: '客户来源', default: '' })
  18. source?: string;
  19. }