import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm'; import { BaseEntity } from '@cool-midway/core'; /** * 开放订单主体 */ @Entity('open_user') export class OpenUserEntity extends BaseEntity { /* 申请收款账户 查询申请列表 查询收款账户列表 */ @Column({ length: 100, comment: '商户编号', default: '' }) mch_id: string; @Column({ length: 100, comment: '用户编号', default: '' }) account_id?: string; @Column({ length: 100, comment: '客户来源', default: '' }) source?: string; }