mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
27 lines (26 loc) • 832 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioPermissionEntity = void 0;
var enums_1 = require("../enums");
var PayioPermissionEntity = /** @class */ (function () {
function PayioPermissionEntity(data) {
this.active = true;
this.code = '';
this.createdAt = new Date();
this.description = '';
this.id = '';
this.name = '';
this.role = enums_1.EPayioRole.GENERAL;
this.tags = [];
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioPermissionEntity;
}());
exports.PayioPermissionEntity = PayioPermissionEntity;