'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 { orderItemProps } from '../orders/order-line-props.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x3c149e,_0x3a1bec)=>__defProp(_0x3c149e,'name',{'value':_0x3a1bec,'configurable':!![]}),__decorateClass=(_0x52dd84,_0x23cdb3,_0x1ebe21,_0x1dfc48)=>{var _0xd02ec1=_0x1dfc48>0x1093+0x194*-0x10+-0x8ae*-0x1?void(-0x4ef*0x3+0x1b56+-0xc89):_0x1dfc48?__getOwnPropDesc(_0x23cdb3,_0x1ebe21):_0x23cdb3;for(var _0x5c67ad=_0x52dd84['length']-(0x7*0x44d+-0x21e8+0x3ce),_0x31401a;_0x5c67ad>=0x1caf+0xb4+-0x1d63;_0x5c67ad--)if(_0x31401a=_0x52dd84[_0x5c67ad])_0xd02ec1=(_0x1dfc48?_0x31401a(_0x23cdb3,_0x1ebe21,_0xd02ec1):_0x31401a(_0xd02ec1))||_0xd02ec1;if(_0x1dfc48&&_0xd02ec1)__defProp(_0x23cdb3,_0x1ebe21,_0xd02ec1);return _0xd02ec1;};let OrderItem=class extends WorkspaceResource{['name'];['orderId'];['order'];['productId'];['product'];['quantity'];['price'];};__name(OrderItem,'OrderItem'),__decorateClass([expandDescription()],OrderItem['prototype'],'orderId',-0x1*0x1b7f+0x1003*0x1+0xb7e),__decorateClass([expandDescription()],OrderItem['prototype'],'productId',-0x31d*-0x1+-0x4*0x2db+-0x851*-0x1),OrderItem=__decorateClass([descriptionProperty(orderItemProps['name']),resourceMetaId(resourceIds['orderItem'])],OrderItem);

export { OrderItem };
