cecon-interfaces
Version:
Interfaces de Projetos Cecon
26 lines (25 loc) • 778 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioTabEntity = void 0;
var enums_1 = require("../enums");
var PayioTabEntity = /** @class */ (function () {
function PayioTabEntity(data) {
this.active = true;
this.createdAt = new Date();
this.id = '';
this.name = '';
this.status = enums_1.EPayioTabStatus.AVAILABLE;
this.statusReason = null;
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 PayioTabEntity;
}());
exports.PayioTabEntity = PayioTabEntity;