UNPKG

scheunemann-interfaces

Version:
25 lines (24 loc) 774 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RequestedItemDataEntity = void 0; var RequestedItemDataEntity = /** @class */ (function () { // #endregion Properties (5) // #region Constructors (1) function RequestedItemDataEntity(data) { // #region Properties (5) this.description = ''; this.quantity = 1; this.totalPrice = 0; this.unit = 'UN'; this.unitPrice = 0; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return RequestedItemDataEntity; }()); exports.RequestedItemDataEntity = RequestedItemDataEntity;