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

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0xaf43b1,_0x142862)=>__defProp(_0xaf43b1,'name',{'value':_0x142862,'configurable':!![]}),__decorateClass=(_0x227732,_0x49db3d,_0x591f99,_0x4d7745)=>{var _0x6b563c=_0x4d7745>-0x9fa+-0x5*0xee+0xea1?void(-0xfc+0x2571+-0x2475):_0x4d7745?__getOwnPropDesc(_0x49db3d,_0x591f99):_0x49db3d;for(var _0x47ebbb=_0x227732['length']-(0x1*0x1239+-0x14d2+0x29a),_0x2370ec;_0x47ebbb>=-0x501*-0x5+0xf72+-0x2877;_0x47ebbb--)if(_0x2370ec=_0x227732[_0x47ebbb])_0x6b563c=(_0x4d7745?_0x2370ec(_0x49db3d,_0x591f99,_0x6b563c):_0x2370ec(_0x6b563c))||_0x6b563c;if(_0x4d7745&&_0x6b563c)__defProp(_0x49db3d,_0x591f99,_0x6b563c);return _0x6b563c;};let UserRole=class{['userId'];['roleId'];['id'];['user'];['role'];};__name(UserRole,'UserRole'),__decorateClass([expandDescription()],UserRole['prototype'],'userId',0x195*-0xd+-0x1094+0x2527*0x1),__decorateClass([expandDescription()],UserRole['prototype'],'roleId',0xb*-0xbe+-0x8eb+0x271*0x7),UserRole=__decorateClass([resourceMetaId(resourceIds['userRole']),accessByUserId()],UserRole);

export { UserRole };
