UNPKG

mobyo-interfaces

Version:
28 lines (27 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioChefConfigEntity = void 0; var chef_config_operation_entity_1 = require("./chef-config-operation.entity"); var chef_config_scale_entity_1 = require("./chef-config-scale.entity"); var PayioChefConfigEntity = /** @class */ (function () { function PayioChefConfigEntity(data) { this.createdAt = new Date(); this.id = ''; this.name = ''; this.operation = new chef_config_operation_entity_1.PayioChefConfigOperationEntity(); this.printer = null; this.scale = new chef_config_scale_entity_1.PayioChefConfigScaleEntity(); this.tabs = []; 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;