scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
36 lines (35 loc) • 1.25 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InstallationEntity = void 0;
var subscription_base_1 = require("../../subscription-base");
var installation_app_entity_1 = require("./installation-app.entity");
var InstallationEntity = /** @class */ (function () {
// #endregion Properties (14)
// #region Constructors (1)
function InstallationEntity(data) {
// #region Properties (14)
this.app = new installation_app_entity_1.InstallationAppEntity();
this.companyId = '';
this.containerId = '';
this.createdAt = new Date();
this.customConfig = null;
this.customerId = '';
this.deviceId = '';
this.featureId = '';
this.id = '';
this.partnerId = '';
this.status = subscription_base_1.ESubscriptionStatus.PLACED;
this.subscriptionId = '';
this.tags = [];
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return InstallationEntity;
}());
exports.InstallationEntity = InstallationEntity;