cecon-interfaces
Version:
Interfaces de Projetos Cecon
37 lines (36 loc) • 1.24 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioCatalogOptionGroupEntity = void 0;
var enums_1 = require("../enums");
var PayioCatalogOptionGroupEntity = /** @class */ (function () {
function PayioCatalogOptionGroupEntity(data) {
this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
this.catalogId = '';
this.categoryId = '';
this.companyId = '';
this.containerId = null;
this.createdAt = new Date();
this.engine = enums_1.EPayioEngines.NONE;
this.externalReference = null;
this.id = '';
this.index = 0;
this.itemId = '';
this.max = 0;
this.min = 0;
this.name = '';
this.options = [];
this.sequence = 0;
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
this.tags = [];
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioCatalogOptionGroupEntity;
}());
exports.PayioCatalogOptionGroupEntity = PayioCatalogOptionGroupEntity;