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

33 lines
707 B
JavaScript

import { actions } from "./Action";
export const desc = {
attributes: {
menuId: {
type: "int",
params: {
width: 4,
signed: true
}
},
menuConfig: {
notNull: true,
type: "object"
},
applicationId: {
notNull: true,
type: "ref",
ref: "application"
},
wechatPublicTagId: {
type: "ref",
ref: "wechatPublicTag"
},
iState: {
notNull: true,
type: "enum",
enumeration: ["wait", "success", "fail"]
}
},
actionType: "crud",
actions
};