cecon-interfaces
Version:
Interfaces de Projetos Cecon
25 lines (24 loc) • 824 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioCatalogPizzaCrustEntity = void 0;
var enums_1 = require("../enums");
var PayioCatalogPizzaCrustEntity = /** @class */ (function () {
function PayioCatalogPizzaCrustEntity(data) {
this.externalCode = '';
this.id = '';
this.index = 0;
this.name = '';
this.price = { value: 0 };
this.sequence = 0;
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioCatalogPizzaCrustEntity;
}());
exports.PayioCatalogPizzaCrustEntity = PayioCatalogPizzaCrustEntity;