cecon-interfaces
Version:
Interfaces de Projetos Cecon
34 lines (33 loc) • 1.02 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MemberAccessEntity = void 0;
var MemberAccessEntity = /** @class */ (function () {
// #endregion Properties (15)
// #region Constructors (1)
function MemberAccessEntity(data) {
// #region Properties (15)
this.accessCount = null;
this.active = true;
this.companyId = '';
this.companyName = '';
this.containerId = null;
this.createdAt = new Date();
this.id = '';
this.imageUrl = null;
this.lastAccessAt = null;
this.name = '';
this.roles = [];
this.tags = [];
this.updated = new Date();
this.userId = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return MemberAccessEntity;
}());
exports.MemberAccessEntity = MemberAccessEntity;