scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
29 lines (28 loc) • 884 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddressEntity = void 0;
var coords_entity_1 = require("./coords.entity");
var AddressEntity = /** @class */ (function () {
// #endregion Properties (8)
// #region Constructors (1)
function AddressEntity(data) {
// #region Properties (8)
this.city = '';
this.complement = '';
this.coords = new coords_entity_1.CoordsEntity();
this.neighborhood = '';
this.postalCode = '';
this.state = '';
this.streetName = '';
this.streetNumber = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return AddressEntity;
}());
exports.AddressEntity = AddressEntity;