'use strict';
import { resourceIds } from '../../../../../fd-toolbox/constants/resource-id-constants.js';
import { accessByUserId } from '../../../decorators/access-by-user-id.js';
import { expandDescription } from '../../../decorators/expand-description-properties.js';
import { resourceMetaId } from '../../../decorators/resource-id.js';
import { BaseResource } from '../../../../../fd-toolbox/base-resource/base-resource.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x377934,_0x3dd0c2)=>__defProp(_0x377934,'name',{'value':_0x3dd0c2,'configurable':!![]}),__decorateClass=(_0x352cb1,_0x32976d,_0x231510,_0x535d84)=>{var _0x3c88da=_0x535d84>0x1*0x17b9+-0xa2a+-0x2*0x6c7?void(0x1c6*0x5+-0x11b9+0x8db*0x1):_0x535d84?__getOwnPropDesc(_0x32976d,_0x231510):_0x32976d;for(var _0x2cd37c=_0x352cb1['length']-(0x1*-0x21f1+-0xdfd+0x7*0x6d9),_0x527865;_0x2cd37c>=-0xb39+0x7db+-0x1*-0x35e;_0x2cd37c--)if(_0x527865=_0x352cb1[_0x2cd37c])_0x3c88da=(_0x535d84?_0x527865(_0x32976d,_0x231510,_0x3c88da):_0x527865(_0x3c88da))||_0x3c88da;if(_0x535d84&&_0x3c88da)__defProp(_0x32976d,_0x231510,_0x3c88da);return _0x3c88da;};let RoleToPermission=class extends BaseResource{['roleId'];['permissionId'];['role'];['permission'];};__name(RoleToPermission,'RoleToPermission'),__decorateClass([expandDescription()],RoleToPermission['prototype'],'roleId',-0x156a+0x1*0x1d99+-0x82d),__decorateClass([expandDescription()],RoleToPermission['prototype'],'permissionId',0x1558+0x3*-0x41b+-0x1*0x905),RoleToPermission=__decorateClass([resourceMetaId(resourceIds['roleToPermission']),accessByUserId()],RoleToPermission);

export { RoleToPermission };
