scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
23 lines (22 loc) • 663 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HistoryEntity = void 0;
var HistoryEntity = /** @class */ (function () {
function HistoryEntity(data) {
// #region Properties (12)
this.createdAt = new Date();
this.updatedAt = new Date();
this.id = '';
this.active = true;
this.question = null;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return HistoryEntity;
}());
exports.HistoryEntity = HistoryEntity;