import { String, Text, Price, Boolean } from 'oak-domain/lib/types/DataType'; import { EntityShape } from 'oak-domain/lib/types/Entity'; import { EntityDesc } from 'oak-domain/lib/types'; import { Schema as System } from 'oak-general-business/lib/entities/System'; import { Schema as Pay } from './Pay'; import { Schema as SysAccountOper } from './SysAccountOper'; export interface Schema extends EntityShape { type: 'bank' | 'alipay' | 'wechat' | 'shouqianba' | 'others'; channel?: String<32>; name?: String<64>; qrCode?: Text; allowDeposit: Boolean; allowPay: Boolean; system: System; price: Price; pays: Pay[]; opers: SysAccountOper[]; enabled: Boolean; } export type Action = 'pay' | 'refund' | 'deposit' | 'withdraw' | 'tax'; export declare const entityDesc: EntityDesc;