mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
41 lines (40 loc) • 1.22 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NatiV1CartEntity = void 0;
var NatiV1CartEntity = /** @class */ (function () {
// #endregion Properties (21)
// #region Constructors (1)
function NatiV1CartEntity(data) {
// #region Properties (21)
this.addition = 0;
this.askedForTheBill = false;
this.blocked = false;
this.customerId = '';
this.desenfila = null;
this.dtAlteracao = new Date();
this.firstDate = new Date();
this.id = 0;
this.idOperadorCaixa = 0;
this.items = [];
this.lastDate = new Date();
this.people = 0;
this.qrCode = undefined;
this.tableId = 0;
this.terminalId = '';
this.total = 0;
this.useByUser = '';
this.uuid = '';
this.vrDesconto = 0;
this.vrLimite = 0;
this.wasReturned = false;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return NatiV1CartEntity;
}());
exports.NatiV1CartEntity = NatiV1CartEntity;