47 lines
1.0 KiB
JavaScript
47 lines
1.0 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.desc = void 0;
|
|
const Action_1 = require("./Action");
|
|
exports.desc = {
|
|
attributes: {
|
|
total: {
|
|
notNull: true,
|
|
type: "money"
|
|
},
|
|
avail: {
|
|
notNull: true,
|
|
type: "money"
|
|
},
|
|
refundable: {
|
|
notNull: true,
|
|
type: "money"
|
|
},
|
|
ofSystemId: {
|
|
notNull: true,
|
|
type: "ref",
|
|
ref: "system"
|
|
},
|
|
entity: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 32
|
|
},
|
|
ref: ["system", "user"]
|
|
},
|
|
entityId: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 64
|
|
}
|
|
},
|
|
ableState: {
|
|
type: "enum",
|
|
enumeration: ["enabled", "disabled"]
|
|
}
|
|
},
|
|
actionType: "crud",
|
|
actions: Action_1.actions
|
|
};
|