cecon-interfaces
Version:
Interfaces de Projetos Cecon
24 lines (23 loc) • 828 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioCashConfigEntity = void 0;
var config_operation_entity_1 = require("./config-operation.entity");
var PayioCashConfigEntity = /** @class */ (function () {
function PayioCashConfigEntity(data) {
this.createdAt = new Date();
this.id = '';
this.name = '';
this.operation = new config_operation_entity_1.PayioCashConfigOperationEntity();
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 PayioCashConfigEntity;
}());
exports.PayioCashConfigEntity = PayioCashConfigEntity;