cecon-interfaces
Version:
Interfaces de Projetos Cecon
24 lines (23 loc) • 931 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CompanySettingsEntity = void 0;
var wa_server_entity_1 = require("./wa-server.entity");
var CompanySettingsEntity = /** @class */ (function () {
// #endregion Properties (4)
// #region Constructors (1)
function CompanySettingsEntity(data) {
// #region Properties (4)
this.createdAt = new Date();
this.id = '';
this.updatedAt = new Date();
this.waServer = new wa_server_entity_1.CompanySettingsWaServerEntity();
if (data) {
this.id = data.id || '';
this.createdAt = data.createdAt || new Date();
this.updatedAt = data.updatedAt || new Date();
this.waServer = new wa_server_entity_1.CompanySettingsWaServerEntity(data.waServer);
}
}
return CompanySettingsEntity;
}());
exports.CompanySettingsEntity = CompanySettingsEntity;