28 lines
708 B
JavaScript
28 lines
708 B
JavaScript
import { appendOnlyActions as actions } from "oak-domain/lib/actions/action";
|
|
export const desc = {
|
|
attributes: {
|
|
operId: {
|
|
notNull: true,
|
|
type: "ref",
|
|
ref: "oper"
|
|
},
|
|
entity: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 32
|
|
},
|
|
ref: ["user", "wechatPay", "withdraw", "withdrawAccount", "withdrawChannel", "withdrawTransfer", "wpAccount", "wpProduct"]
|
|
},
|
|
entityId: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 64
|
|
}
|
|
}
|
|
},
|
|
actionType: "appendOnly",
|
|
actions
|
|
};
|