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

35 lines
778 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
const action_1 = require("oak-domain/lib/actions/action");
exports.desc = {
attributes: {
price: {
notNull: true,
type: "money"
},
externalId: {
notNull: true,
type: "varchar",
params: {
length: 64
}
},
operatorId: {
notNull: true,
type: "ref",
ref: "user"
},
remark: {
type: "text"
},
systemId: {
notNull: true,
type: "ref",
ref: "system"
}
},
actionType: "appendOnly",
actions: action_1.appendOnlyActions
};