oak-pay-business/lib/entities/WithdrawAccount.d.ts

21 lines
673 B
TypeScript

import { String, 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 WithdrawChannel } from './WithdrawChannel';
import { Schema as System } from './System';
type Action = 'enable' | 'disable';
export interface Schema extends EntityShape {
org?: String<128>;
name: String<64>;
code: String<64>;
ofSystem: System;
data?: Object;
channel: WithdrawChannel;
entity: String<32>;
entityId: String<64>;
isDefault: Boolean;
enabled: Boolean;
}
export declare const entityDesc: EntityDesc<Schema, Action>;
export {};