UNPKG

mobyo-interfaces

Version:
30 lines (29 loc) 921 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DelivererMobyoEntity = void 0; var DelivererMobyoEntity = /** @class */ (function () { // #endregion Properties (10) // #region Constructors (1) function DelivererMobyoEntity(data) { // #region Properties (10) this.active = true; this.email = ''; this.id = ''; this.internationalCode = '+55'; this.name = ''; this.nickName = ''; this.ordersCountDeliveredOnRestaurant = []; this.phoneNumber = ''; this.pictureUrl = ''; this.tags = []; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return DelivererMobyoEntity; }()); exports.DelivererMobyoEntity = DelivererMobyoEntity;