scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
34 lines (33 loc) • 987 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenEntity = void 0;
var TokenEntity = /** @class */ (function () {
// #endregion Properties (14)
// #region Constructors (1)
function TokenEntity(data) {
// #region Properties (14)
this.active = true;
this.companyId = '';
this.companyName = '';
this.containerId = '';
this.createdAt = Date.now();
this.customerId = '';
this.description = '';
this.expiresAt = Date.now();
this.id = '';
this.lastAccessAt = Date.now();
this.name = '';
this.partnerId = '';
this.sandbox = false;
this.value = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return TokenEntity;
}());
exports.TokenEntity = TokenEntity;