cecon-interfaces
Version:
Interfaces de Projetos Cecon
44 lines (43 loc) • 1.52 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeveloperAppEntity = void 0;
var enums_1 = require("../enums");
var developer_app_credentials_entity_1 = require("./developer-app-credentials.entity");
var DeveloperAppEntity = /** @class */ (function () {
// #endregion Properties (19)
// #region Constructors (1)
function DeveloperAppEntity(data) {
// #region Properties (19)
this.createdAt = new Date();
this.credentials = new developer_app_credentials_entity_1.DeveloperAppCredentialsEntity();
this.description = null;
this.developerId = '';
this.developerName = '';
this.developerSlug = '';
this.homePageUrl = null;
this.homologatedAt = null;
this.homologatedScopes = [];
this.id = '';
this.imageUrl = null;
this.logoUrl = null;
this.name = '';
/**
* Reference para um appId external, como por exemplo o appId do NatiV2
*/
this.reference = null;
this.slug = '';
this.softwareHouseName = '';
this.status = enums_1.DeveloperAppStatusEnum.PENDING;
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 DeveloperAppEntity;
}());
exports.DeveloperAppEntity = DeveloperAppEntity;