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