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

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x21cfbb,_0x2e2f19)=>__defProp(_0x21cfbb,'name',{'value':_0x2e2f19,'configurable':!![]}),__decorateClass=(_0x557aa7,_0x34678e,_0x1a2480,_0x44fbbe)=>{var _0x257f34=_0x44fbbe>-0x1*-0xe15+0x1586+0x5ef*-0x6?void(-0x215d+-0x3b*0x85+0x4004*0x1):_0x44fbbe?__getOwnPropDesc(_0x34678e,_0x1a2480):_0x34678e;for(var _0x53a3ff=_0x557aa7['length']-(-0x23f1*0x1+0x327+0x20cb),_0x48ba63;_0x53a3ff>=0x49*0x5e+-0x222f+0x761;_0x53a3ff--)if(_0x48ba63=_0x557aa7[_0x53a3ff])_0x257f34=(_0x44fbbe?_0x48ba63(_0x34678e,_0x1a2480,_0x257f34):_0x48ba63(_0x257f34))||_0x257f34;if(_0x44fbbe&&_0x257f34)__defProp(_0x34678e,_0x1a2480,_0x257f34);return _0x257f34;};let Feature=class extends BaseResource{['name'];['code'];['state'];['enabledByDefaultForUsers'];['userFeatureList'];['roleFeatureList'];['paymentPlanFeatureList'];};__name(Feature,'Feature'),__decorateClass([unique()],Feature['prototype'],'name',-0x25*0xfe+0x106f+0x1449*0x1),__decorateClass([expandDescription()],Feature['prototype'],'userFeatureList',-0x1f2*-0x3+-0xda1+0x7cd),Feature=__decorateClass([resourceMetaId(resourceIds['feature'])],Feature);

export { Feature };
