scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
35 lines (34 loc) • 1.03 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderItemOptionEntity = void 0;
var OrderItemOptionEntity = /** @class */ (function () {
// #endregion Properties (15)
// #region Constructors (1)
function OrderItemOptionEntity(data) {
// #region Properties (15)
this.ean = '';
this.externalCode = '';
this.id = '';
this.index = 0;
this.name = '';
this.options = [];
this.optionsPrice = 0;
this.preparationPlaceId = '';
this.price = 0;
this.productId = '';
this.quantity = 0;
this.skill = '';
this.totalPrice = 0;
this.unit = '';
this.weight = 0;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return OrderItemOptionEntity;
}());
exports.OrderItemOptionEntity = OrderItemOptionEntity;