26 lines
737 B
TypeScript
26 lines
737 B
TypeScript
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
|
|
import { Schema as System } from 'oak-general-business/lib/entities/System';
|
|
import { Schema as Account } from './Account';
|
|
import { Schema as WithdrawAccount } from './WithdrawAccount';
|
|
type PayConfig = {
|
|
withdrawLoss: {
|
|
conservative: boolean;
|
|
ratio?: number;
|
|
lowest?: number;
|
|
highest?: number;
|
|
trim?: "jiao" | "yuan";
|
|
};
|
|
depositLoss: {
|
|
ratio?: number;
|
|
lowest?: number;
|
|
highest?: number;
|
|
};
|
|
};
|
|
export interface Schema extends System {
|
|
accounts: Account[];
|
|
withdrawAccounts: WithdrawAccount[];
|
|
payConfig?: PayConfig;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema>;
|
|
export {};
|