UNPKG

cannoli-interfaces

Version:
30 lines (29 loc) 933 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DelivererCannoliEntity = void 0; var DelivererCannoliEntity = /** @class */ (function () { // #endregion Properties (10) // #region Constructors (1) function DelivererCannoliEntity(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 DelivererCannoliEntity; }()); exports.DelivererCannoliEntity = DelivererCannoliEntity;