<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-03-26 06:01:17              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto EpJ1H; o8Fyw: require_once 'Categoria.php'; goto Hq0od; EpJ1H: require_once 'CRM.php'; goto o8Fyw; Hq0od: 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 aiGe3; MPyUM: $this->categoria = $categoria; goto DAyyZ; oq2Xb: $this->requerido = $requerido; goto lBuNH; DsqLD: $this->nombre = $nombre; goto LgZEB; zOGQV: $this->visible = $visible; goto oq2Xb; DAyyZ: $this->tipo = $tipo; goto c0o4R; lHdJQ: $this->busqueda = $busqueda; goto zOGQV; aiGe3: $this->id = $id; goto MPyUM; LgZEB: $this->valor = $valor; goto lHdJQ; c0o4R: $this->edicion = $edicion; goto DsqLD; lBuNH: } 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 DayxM; UCzsh: $ret["Valor"] = $this->valor; goto ZAzAB; dEhYY: return $ret; goto qSECT; wzLqT: $ret["Requerido"] = $this->requerido; goto dEhYY; uV_zA: $ret["Tipo"] = $this->tipo; goto NG9dF; Zptet: $ret["Categoria"] = $this->categoria->toJSON(); goto uV_zA; vZ3RA: $ret["id"] = $this->id; goto Zptet; ZAzAB: $ret["Busqueda"] = $this->busqueda; goto wzLqT; NG9dF: $ret["Edicion"] = $this->edicion; goto y2qbY; DayxM: $ret = array(); goto vZ3RA; y2qbY: $ret["Nombre"] = $this->nombre; goto UCzsh; qSECT: } }