scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
35 lines (34 loc) • 1.16 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MottuOrderDelivererEntity = void 0;
var address_entity_1 = require("./address.entity");
var MottuOrderDelivererEntity = /** @class */ (function () {
// #endregion Properties (14)
// #region Constructors (1)
function MottuOrderDelivererEntity(data) {
// #region Properties (14)
this.address = new address_entity_1.MottuAddressEntity();
this.code = null;
this.deliveryCode = null;
this.distance = null;
this.dropoffCode = null;
this.fullCode = null;
this.id = null;
this.name = null;
this.observation = null;
this.onlinePayment = false;
this.orderRoute = 0;
this.phone = null;
this.productValue = null;
this.situation = null;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return MottuOrderDelivererEntity;
}());
exports.MottuOrderDelivererEntity = MottuOrderDelivererEntity;