cecon-interfaces
Version:
Interfaces de Projetos Cecon
34 lines (33 loc) • 1.06 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioAdminEntity = void 0;
var role_enum_1 = require("../enums/role.enum");
var PayioAdminEntity = /** @class */ (function () {
// #endregion Properties (13)
// #region Constructors (1)
function PayioAdminEntity(data) {
// #region Properties (13)
this.accessCount = null;
this.active = true;
this.createdAt = new Date();
this.id = '';
this.imageUrl = null;
this.internationalCode = '55';
this.lastAccessAt = null;
this.name = '';
this.phoneNumber = '';
this.role = role_enum_1.EPayioAdminRole.USER;
this.tags = [];
this.updatedAt = new Date();
this.userId = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioAdminEntity;
}());
exports.PayioAdminEntity = PayioAdminEntity;