scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
30 lines (29 loc) • 908 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequestedItemsEntity = void 0;
var RequestedItemsEntity = /** @class */ (function () {
// #endregion Properties (9)
// #region Constructors (1)
function RequestedItemsEntity(data) {
// #region Properties (9)
this.companyId = null;
this.containerId = null;
this.createdAt = new Date();
this.data = [];
this.id = '';
this.pos = null;
this.preview = false;
this.token = '';
this.updatedAt = new Date();
this.isPaid = false;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return RequestedItemsEntity;
}());
exports.RequestedItemsEntity = RequestedItemsEntity;