scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
31 lines (30 loc) • 985 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventMessageEntity = void 0;
var enums_1 = require("../enums");
var EventMessageEntity = /** @class */ (function () {
// #endregion Properties (10)
// #region Constructors (1)
function EventMessageEntity(data) {
// #region Properties (10)
this.companyId = null;
this.containerId = null;
this.createdAt = new Date();
this.customerId = null;
this.description = null;
this.event = enums_1.EEventMessage.LAST_DAY_SALES;
this.id = '';
this.partnerId = null;
this.recipients = [];
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return EventMessageEntity;
}());
exports.EventMessageEntity = EventMessageEntity;