cecon-interfaces
Version:
Interfaces de Projetos Cecon
31 lines (30 loc) • 1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlanFeatureEntity = void 0;
var plans_feature_type_enum_1 = require("../enums/plans-feature-type.enum");
var PlanFeatureEntity = /** @class */ (function () {
// #endregion Properties (10)
// #region Constructors (1)
function PlanFeatureEntity(data) {
// #region Properties (10)
this.appId = '';
this.createdAt = new Date();
this.featureType = plans_feature_type_enum_1.EPlanFeatureType.FEATURE;
this.id = '';
this.index = 0;
this.name = '';
this.planId = '';
this.price = 0;
this.quantity = 0;
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PlanFeatureEntity;
}());
exports.PlanFeatureEntity = PlanFeatureEntity;