UNPKG

cecon-interfaces

Version:
35 lines (34 loc) 1.21 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioCatalogCategoryEntity = void 0; var enums_1 = require("../enums"); var PayioCatalogCategoryEntity = /** @class */ (function () { function PayioCatalogCategoryEntity(data) { this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED; this.catalogId = ''; this.companyId = ''; this.containerId = null; this.createdAt = new Date(); this.engine = enums_1.EPayioEngines.NONE; this.externalReference = null; this.id = ''; this.index = 0; this.items = []; this.name = ''; this.pizza = undefined; this.sequence = 0; this.status = enums_1.EPayioCatalogStatus.AVAILABLE; this.tags = []; this.template = enums_1.EPayioCategoryTemplate.DEFAULT; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioCatalogCategoryEntity; }()); exports.PayioCatalogCategoryEntity = PayioCatalogCategoryEntity;