UNPKG

cecon-interfaces

Version:
27 lines (26 loc) 996 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioChefConfigEntity = void 0; var config_operation_entity_1 = require("./config-operation.entity"); var config_scale_entity_1 = require("./config-scale.entity"); var PayioChefConfigEntity = /** @class */ (function () { function PayioChefConfigEntity(data) { this.createdAt = new Date(); this.id = ''; this.name = ''; this.operation = new config_operation_entity_1.PayioChefConfigOperationEntity(); this.printer = null; this.scale = new config_scale_entity_1.PayioChefConfigScaleEntity(); this.updatedAt = new Date(); this.webhook = []; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioChefConfigEntity; }()); exports.PayioChefConfigEntity = PayioChefConfigEntity;