UNPKG

cecon-interfaces

Version:
28 lines (27 loc) 884 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioCatalogPizzaEntity = void 0; var enums_1 = require("../enums"); var PayioCatalogPizzaEntity = /** @class */ (function () { function PayioCatalogPizzaEntity(data) { this.createdAt = new Date(); this.crusts = []; this.edges = []; this.engine = enums_1.EPayioEngines.NONE; this.externalReference = null; this.id = ''; this.shifts = []; this.sizes = []; this.toppings = []; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioCatalogPizzaEntity; }()); exports.PayioCatalogPizzaEntity = PayioCatalogPizzaEntity;