'use strict';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { expandDescription } from '../../meta/decorators/expand-description-properties.js';
import { descriptionProperty } from '../../meta/decorators/description-property.js';
import { customerProps } from './customer-props.js';
import { accessByUserId } from '../../meta/decorators/access-by-user-id.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x448521,_0x58e183)=>__defProp(_0x448521,'name',{'value':_0x58e183,'configurable':!![]}),__decorateClass=(_0x537849,_0x3e7a85,_0xda41db,_0x3dc8f0)=>{var _0x5e34fe=_0x3dc8f0>-0x705+-0x4*0x95f+-0x12*-0x279?void(0x19bd*0x1+-0x70+-0x17d*0x11):_0x3dc8f0?__getOwnPropDesc(_0x3e7a85,_0xda41db):_0x3e7a85;for(var _0x50f848=_0x537849['length']-(0x1e07+-0x578+-0xe*0x1c1),_0x48bc88;_0x50f848>=0x1bfa+-0xcb5*-0x1+-0x28af;_0x50f848--)if(_0x48bc88=_0x537849[_0x50f848])_0x5e34fe=(_0x3dc8f0?_0x48bc88(_0x3e7a85,_0xda41db,_0x5e34fe):_0x48bc88(_0x5e34fe))||_0x5e34fe;if(_0x3dc8f0&&_0x5e34fe)__defProp(_0x3e7a85,_0xda41db,_0x5e34fe);return _0x5e34fe;};let Customer=class extends WorkspaceResource{['name'];['userId'];['user'];};__name(Customer,'Customer'),__decorateClass([expandDescription()],Customer['prototype'],'userId',0xe7e+0x1e1*0x1+0x105d*-0x1),Customer=__decorateClass([descriptionProperty(customerProps['name']),resourceMetaId(resourceIds['customer']),accessByUserId()],Customer);

export { Customer };
