cecon-interfaces
Version:
Interfaces de Projetos Cecon
34 lines (33 loc) • 1.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioUserReportEvidenceEntity = exports.PayioUserReportEntity = void 0;
var enums_1 = require("../enums");
var PayioUserReportEntity = /** @class */ (function () {
function PayioUserReportEntity(data) {
this.createdAt = new Date();
this.description = '';
this.evidences = [];
this.faceId = '';
this.faceImage64 = '';
this.id = '';
this.type = enums_1.UserReportType.OTHER;
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 PayioUserReportEntity;
}());
exports.PayioUserReportEntity = PayioUserReportEntity;
var PayioUserReportEvidenceEntity = /** @class */ (function () {
function PayioUserReportEvidenceEntity() {
this.type = enums_1.UserReportEvidencesType.OTHER;
}
return PayioUserReportEvidenceEntity;
}());
exports.PayioUserReportEvidenceEntity = PayioUserReportEvidenceEntity;