cecon-interfaces
Version:
Interfaces de Projetos Cecon
29 lines (28 loc) • 857 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioOptionGroupEntity = void 0;
var PayioOptionGroupEntity = /** @class */ (function () {
function PayioOptionGroupEntity(data) {
this.active = true;
this.companyId = '';
this.containerId = null;
this.createdAt = new Date();
this.id = '';
this.index = 0;
this.max = 0;
this.min = 0;
this.name = '';
this.options = [];
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 PayioOptionGroupEntity;
}());
exports.PayioOptionGroupEntity = PayioOptionGroupEntity;