UNPKG

mobyo-interfaces

Version:
32 lines (31 loc) 954 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioDeviceEntity = void 0; var PayioDeviceEntity = /** @class */ (function () { // #endregion Properties (12) // #region Constructors (1) function PayioDeviceEntity(data) { // #region Properties (12) this.active = false; this.chef = null; this.companyId = ''; this.containerId = ''; this.createdAt = new Date(); this.deviceId = ''; this.id = ''; this.lastAccess = new Date(); this.name = ''; this.sandbox = false; 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 PayioDeviceEntity; }()); exports.PayioDeviceEntity = PayioDeviceEntity;