oak-pay-business/es/oak-app-domain/System/Storage.js

61 lines
1.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { genericActions as actions } from "oak-domain/lib/actions/action";
export const desc = {
attributes: {
name: {
notNull: true,
type: "varchar",
params: {
length: 32
}
},
description: {
type: "text"
},
config: {
notNull: true,
type: "object"
},
platformId: {
type: "ref",
ref: "platform"
},
folder // 提现的loss在用户提现时计算
: {
type: "varchar",
params: {
length: 16
}
},
oldestVersion: {
type: "varchar",
params: {
length: 32
}
},
super // 如果为true则按照渠道taxLossRatio和refundCompensateRatio进行扣取(如果因为depositLossRatio已经大于taxLossRatio则全额退款)
: {
type: "boolean"
},
style: {
type: "object"
},
entity: {
type: "varchar",
params: {
length: 32
}
},
entityId: {
type: "varchar",
params: {
length: 64
}
},
payConfig: {
type: "object"
}
},
actionType: "crud",
actions
};