UNPKG

cecon-interfaces

Version:
30 lines (29 loc) 924 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioVisionTerminalEntity = void 0; var PayioVisionTerminalEntity = /** @class */ (function () { function PayioVisionTerminalEntity(data) { this.createdAt = new Date(); this.deviceId = ''; this.function = ''; this.hook = null; this.hookAuthorization = null; this.id = 0; this.ipAddress = ''; this.name = ''; this.password = ''; this.session = null; this.type = ''; this.updatedAt = new Date(); this.username = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioVisionTerminalEntity; }()); exports.PayioVisionTerminalEntity = PayioVisionTerminalEntity;