oak-general-business/lib/entities/UserEntityGrant.js

66 lines
1.8 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var entityDesc = {
locales: {
zh_CN: {
name: '用户授权',
attr: {
relation: '关系',
entity: '关联对象',
entityId: '关联对象id',
type: '类型',
number: '次数',
confirmed: '已确认人数',
remark: '备注',
grantee: '领取人',
granter: '授权人',
codes: '微信码',
expired: '是否过期',
expiresAt: '过期时间',
redirectTo: '重定向页面',
qrCodeType: '二维码类型',
},
action: {
confirm: '确认',
},
v: {
type: {
grant: '授予',
transfer: '转交',
},
qrCodeType: {
webForWechatPublic: '网站引流到公众号',
wechatMpDomainUrl: '小程序url码',
wechatMpWxaCode: '小程序码',
wechatPublic: '公众号关注码',
wechatPublicForMp: '公众号回复小程序码',
}
},
},
},
indexes: [
{
name: 'index_entity_entityId',
attributes: [
{
name: 'entity',
},
{
name: 'entityId',
},
],
},
{
name: 'index_uuid',
attributes: [
{
name: 'expired',
},
{
name: 'expiresAt',
}
],
},
],
};