cecon-interfaces
Version:
Interfaces de Projetos Cecon
25 lines (24 loc) • 749 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioZeConfigEntity = void 0;
var PayioZeConfigEntity = /** @class */ (function () {
function PayioZeConfigEntity(data) {
this.autoAccept = false;
this.createdAt = new Date();
this.events = [];
this.id = '';
this.name = '';
this.soundAlert = false;
this.updatedAt = new Date();
this.webhook = [];
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioZeConfigEntity;
}());
exports.PayioZeConfigEntity = PayioZeConfigEntity;