<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-04-17 05:58:44              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto hXMd_; hXMd_: require_once 'CRM.php'; goto BzDHj; BzDHj: require_once 'Categoria.php'; goto ht0Jb; ht0Jb: class Campo { private $id; private $categoria; private $tipo; private $edicion; private $nombre; private $valor; private $busqueda; private $visible; private $requerido; public function __construct(?int $id, Categoria $categoria, int $tipo, int $edicion, string $nombre, string $valor, bool $busqueda, bool $visible, bool $requerido) { goto RRzR4; RRzR4: $this->id = $id; goto YqWmC; C669T: $this->tipo = $tipo; goto A1Yi0; A1Yi0: $this->edicion = $edicion; goto ii5tn; ii5tn: $this->nombre = $nombre; goto AQQ1c; NvBP1: $this->requerido = $requerido; goto hHQBk; YqWmC: $this->categoria = $categoria; goto C669T; HvlwD: $this->visible = $visible; goto NvBP1; jtqrd: $this->busqueda = $busqueda; goto HvlwD; AQQ1c: $this->valor = $valor; goto jtqrd; hHQBk: } public function getId() : ?int { return $this->id; } public function setId(int $id) : void { $this->id = $id; } public function getTipo() : int { return $this->tipo; } public function setTipo(int $tipo) : void { $this->tipo = $tipo; } public function getEdicion() : int { return $this->edicion; } public function setEdicion(int $edicion) : void { $this->edicion = $edicion; } public function getNombre() : string { return $this->nombre; } public function setNombre(string $nombre) : void { $this->nombre = $nombre; } public function getValor() : string { return $this->valor; } public function setValor(string $valor) : void { $this->valor = $valor; } public function getBusqueda() : bool { return $this->busqueda; } public function setBusqueda(bool $busqueda) : void { $this->busqueda = $busqueda; } public function getCategoria() : Categoria { return $this->categoria; } public function setCategoria(Categoria $categoria) : void { $this->categoria = $categoria; } public function isVisible() : bool { return $this->visible; } public function setVisible(bool $visible) : void { $this->visible = $visible; } public function getRequerido() : bool { return $this->requerido; } public function setRequerido(bool $requerido) : void { $this->requerido = $requerido; } public function toJSON() : array { goto t30yT; lRvWf: $ret["id"] = $this->id; goto AFM_o; w2hTT: $ret["Busqueda"] = $this->busqueda; goto MJMni; t30yT: $ret = array(); goto lRvWf; XMlJc: $ret["Nombre"] = $this->nombre; goto qNN3a; MJMni: $ret["Requerido"] = $this->requerido; goto k3iiw; fbI1j: $ret["Tipo"] = $this->tipo; goto Z3jm_; qNN3a: $ret["Valor"] = $this->valor; goto w2hTT; Z3jm_: $ret["Edicion"] = $this->edicion; goto XMlJc; k3iiw: return $ret; goto XPV1X; AFM_o: $ret["Categoria"] = $this->categoria->toJSON(); goto fbI1j; XPV1X: } }