scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
32 lines (31 loc) • 1.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MottuStoreEntity = void 0;
var address_entity_1 = require("./address.entity");
var store_matrix_entity_1 = require("./store-matrix.entity");
var store_responsible_entity_1 = require("./store-responsible.entity");
var MottuStoreEntity = /** @class */ (function () {
// #endregion Properties (10)
// #region Constructors (1)
function MottuStoreEntity(data) {
// #region Properties (10)
this.address = new address_entity_1.MottuAddressEntity();
this.balance = 0;
this.cnpj = '';
this.email = '';
this.id = 0;
this.marketplaceBranchId = 0;
this.matrix = new store_matrix_entity_1.MottuStoreMatrixEntity();
this.name = '';
this.responsible = new store_responsible_entity_1.MottuStoreResponsibleEntity();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return MottuStoreEntity;
}());
exports.MottuStoreEntity = MottuStoreEntity;