'use strict';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { notRelation } from '../../meta/decorators/not-relation.js';
import { transientResource } from '../../meta/decorators/transient-resource.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x2cda20,_0x667f3d)=>__defProp(_0x2cda20,'name',{'value':_0x667f3d,'configurable':!![]}),__decorateClass=(_0x48b295,_0x594f73,_0x2e3196,_0x293655)=>{var _0x202598=_0x293655>-0x238c+0xb4*0x32+0x65?void(0x14d+-0x8*-0x3d3+-0x1fe5):_0x293655?__getOwnPropDesc(_0x594f73,_0x2e3196):_0x594f73;for(var _0x5ae91d=_0x48b295['length']-(0xff4+0xb1f+-0x1b12),_0x19bb63;_0x5ae91d>=-0xa66+-0x1c57+-0xd3*-0x2f;_0x5ae91d--)if(_0x19bb63=_0x48b295[_0x5ae91d])_0x202598=(_0x293655?_0x19bb63(_0x594f73,_0x2e3196,_0x202598):_0x19bb63(_0x202598))||_0x202598;if(_0x293655&&_0x202598)__defProp(_0x594f73,_0x2e3196,_0x202598);return _0x202598;};let ProductParameter=class extends WorkspaceResource{['productId'];['product'];['externalId'];['name'];['minValue'];['maxValue'];['defaultValue'];['step'];['unit'];['type'];};__name(ProductParameter,'ProductParameter'),__decorateClass([notRelation()],ProductParameter['prototype'],'externalId',0xf3*0x1+0x337*0x5+-0x1*0x1104),ProductParameter=__decorateClass([transientResource(),resourceMetaId(resourceIds['productParameter'])],ProductParameter);

export { ProductParameter };
