UNPKG

cecon-interfaces

Version:
26 lines (25 loc) 778 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioTabEntity = void 0; var enums_1 = require("../enums"); var PayioTabEntity = /** @class */ (function () { function PayioTabEntity(data) { this.active = true; this.createdAt = new Date(); this.id = ''; this.name = ''; this.status = enums_1.EPayioTabStatus.AVAILABLE; this.statusReason = null; 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 PayioTabEntity; }()); exports.PayioTabEntity = PayioTabEntity;