UNPKG

scheunemann-interfaces

Version:
23 lines (22 loc) 654 B
"use strict"; 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;