UNPKG

scheunemann-interfaces

Version:
29 lines (28 loc) 865 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PlanFeatureEntity = void 0; var enums_1 = require("../enums"); var PlanFeatureEntity = /** @class */ (function () { function PlanFeatureEntity(data) { this.appId = ""; this.createdAt = new Date(); this.featureType = enums_1.EPlanFeatureType.FEATURE; this.id = ""; this.index = 0; this.name = ""; this.planId = ""; this.price = 0; this.quantity = 0; this.credit = 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;