UNPKG

cecon-interfaces

Version:
24 lines (23 loc) 828 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioCashConfigEntity = void 0; var config_operation_entity_1 = require("./config-operation.entity"); var PayioCashConfigEntity = /** @class */ (function () { function PayioCashConfigEntity(data) { this.createdAt = new Date(); this.id = ''; this.name = ''; this.operation = new config_operation_entity_1.PayioCashConfigOperationEntity(); 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 PayioCashConfigEntity; }()); exports.PayioCashConfigEntity = PayioCashConfigEntity;