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

41 lines
895 B
JavaScript

import { genericActions as actions } from "oak-domain/lib/actions/action";
export const 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
}
},
needReceiving: {
type: "boolean"
},
applicationId: {
notNull: true,
type: "ref",
ref: "application"
},
enabled: {
notNull: true,
type: "boolean"
}
},
actionType: "crud",
actions
};