oak-pay-business/lib/entities/Account.js

57 lines
1.5 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.entityDesc = exports.AbleActionDef = void 0;
const action_1 = require("oak-domain/lib/actions/action");
;
exports.AbleActionDef = (0, action_1.makeAbleActionDef)('enabled');
exports.entityDesc = {
locales: {
zh_CN: {
name: '帐户',
attr: {
total: '总余额',
avail: '可用余额',
refundable: '可免费提现额度',
ableState: '状态',
ofSystem: '系统',
entity: '所属对象',
entityId: '所属对象Id',
pays: '支付',
},
action: {
enable: '启用',
disable: '禁用',
deposit: '充值',
withdraw: '提现',
withdrawBack: '提现退还',
consume: '消费',
loan: '抵押',
repay: '偿还',
},
v: {
ableState: {
enabled: '可用的',
disabled: '禁用的',
}
}
},
},
style: {
icon: {
enable: '',
disable: '',
deposit: '',
withdraw: '',
consume: '',
loan: '',
repay: '',
},
color: {
ableState: {
enabled: '#008000',
disabled: '#A9A9A9'
}
}
}
};