oak-pay-business/lib/oak-app-domain/AbstractPayAccount/Storage.js

55 lines
1.2 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
const Action_1 = require("./Action");
exports.desc = {
attributes: {
taxLossRatio: {
type: "decimal",
params: {
precision: 4,
scale: 2
}
},
refundGapDays: {
type: "int",
params: {
width: 4,
signed: true
}
},
refundCompensateRatio: {
type: "int",
params: {
width: 4,
signed: true
}
},
allowWithdrawTransfer: {
notNull: true,
type: "boolean"
},
withdrawTransferLossRatio: {
type: "decimal",
params: {
precision: 4,
scale: 2
}
},
price: {
notNull: true,
type: "money"
},
needReceiving: {
type: "boolean"
},
systemId: {
notNull: true,
type: "ref",
ref: "system"
}
},
actionType: "crud",
actions: Action_1.actions
};