scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
46 lines (45 loc) • 1.52 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RabbitEntity = void 0;
var general_1 = require("../../general");
var fiscal_doc_model_code_enum_1 = require("../../general/enums/fiscal-doc-model-code.enum");
var enums_1 = require("../enums");
var RabbitEntity = /** @class */ (function () {
// #endregion Properties (22)
// #region Constructors (1)
function RabbitEntity(data) {
// #region Properties (22)
this.address = new general_1.AddressEntity();
this.api = 'http://localhost:8089';
this.cityCode = '';
this.doc = '';
this.emitirL = true;
this.enviroment = 'production';
this.ie = '';
this.ignoreCpfCnpj = false;
this.model = fiscal_doc_model_code_enum_1.EFiscalDocModelCode.NFCE;
this.name = '';
this.nfNumber = 1;
this.onlyCash = false;
this.controlPix = true;
this.pdvId = null;
this.percentage = 50;
this.regime = 1;
this.serialNumber = '';
this.signature = '';
this.syncAt = 0;
this.type = enums_1.EAppMode.RABBIT;
this.ufCode = null;
this.updatedAt = new Date();
this.version = '1.0.0';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return RabbitEntity;
}());
exports.RabbitEntity = RabbitEntity;