cecon-interfaces
Version:
Interfaces de Projetos Cecon
31 lines (30 loc) • 922 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioDeviceEntity = void 0;
var PayioDeviceEntity = /** @class */ (function () {
function PayioDeviceEntity(data) {
this.activationId = null;
this.activationKey = null;
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;