cecon-interfaces
Version:
Interfaces de Projetos Cecon
31 lines (30 loc) • 998 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransactionResumeDataEntity = void 0;
var enums_1 = require("../enums");
var TransactionResumeDataEntity = /** @class */ (function () {
function TransactionResumeDataEntity(data) {
this.amount = 0;
this.amountDay = 0;
this.amountMonth = 0;
this.amountYear = 0;
this.countDay = 0;
this.countMonth = 0;
this.countYear = 0;
this.date = new Date();
this.operationType = enums_1.EOperationType.NATIPAY;
this.period = '';
this.periodMonth = '';
this.periodYear = '';
this.reference = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return TransactionResumeDataEntity;
}());
exports.TransactionResumeDataEntity = TransactionResumeDataEntity;