diff options
author | devega <ma.devega@globunet.com> | 2019-02-21 13:48:28 +0100 |
---|---|---|
committer | devega <ma.devega@globunet.com> | 2019-02-21 13:48:28 +0100 |
commit | b082903077cb649cf5b81e74b69816afe6c36643 (patch) | |
tree | cdf7ee47c330888c722c4ef1dc906771944c68d9 | |
parent | 9278f03cbb801645d1a564866afadbc74a8b2ebf (diff) |
ImplementaciĆ³n de un comando para realizar la migraciĆ³n.
111 files changed, 12094 insertions, 371 deletions
diff --git a/admin/WebConsole3/backend/app/config/config.yml b/admin/WebConsole3/backend/app/config/config.yml index fc69b632..9408c532 100644 --- a/admin/WebConsole3/backend/app/config/config.yml +++ b/admin/WebConsole3/backend/app/config/config.yml @@ -98,13 +98,17 @@ swiftmailer: spool: { type: memory } monolog: - channels: ['opengnsys'] + channels: ['og_server', 'og_migration'] handlers: - varicentrolog: - # log all messages (since debug is the lowest level) + og_server: type: stream level: debug - path: '%kernel.logs_dir%/opengnsys.log' - channels: [opengnsys] + path: '%kernel.logs_dir%/og_server.log' + channels: [og_server] + og_migration: + type: stream + level: debug + path: '%kernel.logs_dir%/og_migration.log' + channels: [og_migration] nelmio_api_doc: name: Page Opengnsys API diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Command/MigrateCommand.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Command/MigrateCommand.php new file mode 100644 index 00000000..20922975 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Command/MigrateCommand.php @@ -0,0 +1,273 @@ +<?php + +namespace Opengnsys\MigrationBundle\Command; + +use Opengnsys\MigrationBundle\Entity\Aulas; +use Opengnsys\MigrationBundle\Entity\Centros; +use Opengnsys\MigrationBundle\Entity\Gruposordenadores; +use Opengnsys\MigrationBundle\Entity\Menus; +use Opengnsys\MigrationBundle\Entity\Ordenadores; +use Opengnsys\MigrationBundle\Entity\Perfileshard; +use Opengnsys\MigrationBundle\Entity\Repositorios; +use Opengnsys\ServerBundle\Entity\Client; +use Opengnsys\ServerBundle\Entity\HardwareProfile; +use Opengnsys\ServerBundle\Entity\Menu; +use Opengnsys\ServerBundle\Entity\NetworkSettings; +use Opengnsys\ServerBundle\Entity\OrganizationalUnit; +use Opengnsys\ServerBundle\Entity\Repository; +use Opengnsys\ServerBundle\Entity\SoftwareProfile; +use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; +use Symfony\Component\Console\Input\ArrayInput; +use Symfony\Component\Console\Input\InputInterface; +use Symfony\Component\Console\Output\OutputInterface; + +class MigrateCommand extends ContainerAwareCommand +{ + protected function configure() + { + $this + ->setName('opengnsys:migration:execute') + ->setDescription('Execute migration Og 1.1 to 3.0') + ; + } + + protected function execute(InputInterface $input, OutputInterface $output) + { + $logger = $this->getContainer()->get('monolog.logger.og_migration'); + $em = $this->getContainer()->get('doctrine')->getManager(); + $emSlave = $this->getContainer()->get('doctrine')->getManager('og_1'); + + // og_1 + $centros = $emSlave->getRepository(Centros::class)->findAll(); + $aulas = $emSlave->getRepository(Aulas::class)->findAll(); + $grupos = $emSlave->getRepository(Gruposordenadores::class)->findAll(); + $ordenadores = $emSlave->getRepository(Ordenadores::class)->findAll(); + $repositorios = $emSlave->getRepository(Repositorios::class)->findAll(); + $menuses = $emSlave->getRepository(Menus::class)->findAll(); + $perfileshards = $emSlave->getRepository(Perfileshard::class)->findAll(); + $perfilessofts = $emSlave->getRepository(Perfileshard::class)->findAll(); + + // og_3 + $organizationalUnitRepository = $em->getRepository(OrganizationalUnit::class); + $clientRepository = $em->getRepository(Client::class); + $repositoryRepository = $em->getRepository(Repository::class); + $menuRepository = $em->getRepository(Menu::class); + $hardwareProfileRepository = $em->getRepository(HardwareProfile::class); + $softwareProfileRepository = $em->getRepository(SoftwareProfile::class); + + + /** Centros **/ + $logger->info("CENTROS TOTAL: ". count($centros)); + foreach ($centros as $centro){ + $id = $centro->getIdcentro(); + $migrateId ="centro:".$id; + + $organizationalUnit = $organizationalUnitRepository->findOneByNotes($migrateId); + if(!$organizationalUnit){ + $organizationalUnit = new OrganizationalUnit(); + $organizationalUnit->setNotes($migrateId); + $em->persist($organizationalUnit); + } + $organizationalUnit->setName($centro->getNombrecentro()); + } + $em->flush(); + + /** Aulas **/ + $logger->info("AULAS TOTAL: ". count($aulas)); + foreach ($aulas as $aula){ + $id = $aula->getIdaula(); + $migrateId ="aula:".$id; + + $migrateParentId = "centro:".$aula->getIdcentro(); + + $organizationalUnit = $organizationalUnitRepository->findOneByNotes($migrateId); + if(!$organizationalUnit){ + $organizationalUnit = new OrganizationalUnit(); + $organizationalUnit->setNotes($migrateId); + $em->persist($organizationalUnit); + } + $organizationalUnit->setName($aula->getNombreaula()); + + $organizationalUnitParent = $organizationalUnitRepository->findOneByNotes($migrateParentId); + $organizationalUnit->setParent($organizationalUnitParent); + + $networkSettings = $organizationalUnit->getNetworkSettings(); + if(!$networkSettings){ + $networkSettings = new NetworkSettings(); + $organizationalUnit->setNetworkSettings($networkSettings); + //$em->persist($networkSettings); + } + $networkSettings->setProxy($aula->getProxy()); + $networkSettings->setDns($aula->getDns()); + $networkSettings->setNetmask($aula->getNetmask()); + $networkSettings->setRouter($aula->getRouter()); + $networkSettings->setNtp($aula->getNtp()); + + $networkSettings->setP2pTime($aula->getTimep2p()); + $networkSettings->setP2pMode($aula->getModp2p()); + + $networkSettings->setMcastIp($aula->getIpmul()); + $networkSettings->setMcastSpeed($aula->getVelmul()); + $networkSettings->setMcastPort($aula->getPormul()); + $networkSettings->setMcastMode($aula->getModomul()); + } + + /** Grupo Ordenador **/ + $logger->info("Grupos TOTAL: ". count($grupos)); + foreach ($grupos as $grupo){ + $id = $grupo->getIdgrupo(); + $migrateId ="grupo:".$id; + + if($grupo->getGrupoid() == 0){ + $migrateParentId = "aula:".$grupo->getIdaula(); + }else{ + $migrateParentId = "grupo:".$grupo->getGrupoid(); + } + + $organizationalUnit = $organizationalUnitRepository->findOneByNotes($migrateId); + if(!$organizationalUnit){ + $organizationalUnit = new OrganizationalUnit(); + $organizationalUnit->setNotes($migrateId); + $em->persist($organizationalUnit); + } + $organizationalUnit->setName($grupo->getNombregrupoordenador()); + $organizationalUnit->setComments($grupo->getComentarios()); + + $organizationalUnitParent = $organizationalUnitRepository->findOneByNotes($migrateParentId); + $organizationalUnit->setParent($organizationalUnitParent); + + $em->flush(); + + } + $em->flush(); + + /** Repositorios **/ + $logger->info("REPOSITORIOS TOTAL: ". count($repositorios)); + foreach ($repositorios as $repositorio){ + $id = $repositorio->getIdrepositorio(); + $migrateId ="repositorio:".$id; + + $repository = $repositoryRepository->findOneByNotes($migrateId); + if(!$repository){ + $repository = new Repository(); + $repository->setNotes($migrateId); + $em->persist($repository); + } + $repository->setName($repositorio->getNombrerepositorio()); + $repository->setIp($repositorio->getIp()); + $repository->setPassword($repositorio->getPassguor()); + $repository->setConfigurationpath("-"); + $repository->setAdminpath("-"); + $repository->setPxepath("-"); + $repository->setPort($repositorio->getPuertorepo()); + + // OrganizationalUnit + if($repositorio->getGrupoid() == 0){ + $migrateId = "centro:".$repositorio->getIdcentro(); + }else{ + $migrateId = "grupo:".$repositorio->getGrupoid(); + } + $organizationalUnit = $organizationalUnitRepository->findOneByNotes($migrateId); + $repository->setOrganizationalUnit($organizationalUnit); + } + $em->flush(); + + /** Perfil Hardware **/ + $logger->info("PERFIL HARDWARES TOTAL: ". count($perfileshards)); + foreach ($perfileshards as $perfileshard){ + $perfileshard = new Perfileshard(); + $id = $perfileshard->getIdperfilhard(); + $migrateId ="perfilHardware:".$id; + + $hardwareProfile = $hardwareProfileRepository->findOneByNotes($migrateId); + if(!$hardwareProfile){ + $hardwareProfile = new HardwareProfile(); + $hardwareProfile->setNotes($migrateId); + $em->persist($hardwareProfile); + } + $hardwareProfile->setDescription($perfileshard->getDescripcion()); + $hardwareProfile->setComments($perfileshard->getComentarios()); + + + // OrganizationalUnit + if($perfileshard->getGrupoid() == 0){ + $migrateId = "centro:".$perfileshard->getIdcentro(); + }else{ + $migrateId = "grupo:".$perfileshard->getGrupoid(); + } + $organizationalUnit = $organizationalUnitRepository->findOneByNotes($migrateId); + $hardwareProfile->setOrganizationalUnit($organizationalUnit); + } + $em->flush(); + + /** Perfil Softwares **/ + + /** Menus **/ + + /** Ordenadores **/ + $logger->info("Ordenadores TOTAL: ". count($ordenadores)); + foreach ($ordenadores as $ordenador){ + //$ordenador = new Ordenadores(); + $id = $ordenador->getIdordenador(); + $migrateId ="ordenador:".$id; + + $client = $clientRepository->findOneByNotes($migrateId); + if(!$client){ + $client = new Client(); + $client->setNotes($migrateId); + $em->persist($client); + } + $client->setName($ordenador->getNombreordenador()); + $client->setSerialno($ordenador->getNumserie()); + $client->setNetiface($ordenador->getNetiface()); + $client->setNetdriver($ordenador->getNetdriver()); + $client->setMac($ordenador->getMac()); + $client->setIp($ordenador->getIp()); + //$client->setStatus(); + $client->setCache($ordenador->getCache()); + $client->setIdproautoexec($ordenador->getIdproautoexec()); + $client->setOglive($ordenador->getOglivedir()); + + // Netboot + + // ValidationSettings + //$migrateId = "" + //$validationSettings = $validationSettingsRepository->findOneByNotes($migrateId); + //$client->setValidationSettings($validationSettings); + + // HardwareProfile + $migrateId = "perfilHardware:".$ordenador->getIdperfilhard(); + $hardwareProfile = $hardwareProfileRepository->findOneByNotes($migrateId); + $client->setHardwareProfile($hardwareProfile); + + // Menu + $migrateId = "menu:".$ordenador->getIdmenu(); + $menu = $menuRepository->findOneByNotes($migrateId); + $client->setMenu($menu); + + // Repository + $migrateId = "repositorio:".$ordenador->getIdrepositorio(); + $repository = $repositoryRepository->findOneByNotes($migrateId); + $client->setRepository($repository); + + // OrganizationalUnit + if($ordenador->getGrupoid() == 0){ + $migrateId = "aula:".$ordenador->getIdaula(); + }else{ + $migrateId = "grupo:".$ordenador->getGrupoid(); + } + $organizationalUnit = $organizationalUnitRepository->findOneByNotes($migrateId); + $client->setOrganizationalUnit($organizationalUnit); + + } + $em->flush(); + + + + + + + + $output->writeln(sprintf('End')); + } +}
\ No newline at end of file diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Acciones.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Acciones.php new file mode 100644 index 00000000..d4445c14 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Acciones.php @@ -0,0 +1,605 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Acciones + */ +class Acciones +{ + /** + * @var int + */ + private $tipoaccion; + + /** + * @var int + */ + private $idtipoaccion; + + /** + * @var string + */ + private $descriaccion; + + /** + * @var int + */ + private $idordenador; + + /** + * @var string + */ + private $ip; + + /** + * @var int + */ + private $sesion; + + /** + * @var int + */ + private $idcomando; + + /** + * @var string|null + */ + private $parametros; + + /** + * @var \DateTime + */ + private $fechahorareg = '1970-01-01 00:00:00'; + + /** + * @var \DateTime + */ + private $fechahorafin = '1970-01-01 00:00:00'; + + /** + * @var bool + */ + private $estado = '0'; + + /** + * @var bool + */ + private $resultado = '0'; + + /** + * @var string|null + */ + private $descrinotificacion; + + /** + * @var int + */ + private $ambito = '0'; + + /** + * @var int + */ + private $idambito = '0'; + + /** + * @var string|null + */ + private $restrambito; + + /** + * @var int + */ + private $idprocedimiento = '0'; + + /** + * @var int + */ + private $idtarea = '0'; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int + */ + private $idprogramacion = '0'; + + /** + * @var int + */ + private $idaccion; + + + /** + * Set tipoaccion. + * + * @param int $tipoaccion + * + * @return Acciones + */ + public function setTipoaccion($tipoaccion) + { + $this->tipoaccion = $tipoaccion; + + return $this; + } + + /** + * Get tipoaccion. + * + * @return int + */ + public function getTipoaccion() + { + return $this->tipoaccion; + } + + /** + * Set idtipoaccion. + * + * @param int $idtipoaccion + * + * @return Acciones + */ + public function setIdtipoaccion($idtipoaccion) + { + $this->idtipoaccion = $idtipoaccion; + + return $this; + } + + /** + * Get idtipoaccion. + * + * @return int + */ + public function getIdtipoaccion() + { + return $this->idtipoaccion; + } + + /** + * Set descriaccion. + * + * @param string $descriaccion + * + * @return Acciones + */ + public function setDescriaccion($descriaccion) + { + $this->descriaccion = $descriaccion; + + return $this; + } + + /** + * Get descriaccion. + * + * @return string + */ + public function getDescriaccion() + { + return $this->descriaccion; + } + + /** + * Set idordenador. + * + * @param int $idordenador + * + * @return Acciones + */ + public function setIdordenador($idordenador) + { + $this->idordenador = $idordenador; + + return $this; + } + + /** + * Get idordenador. + * + * @return int + */ + public function getIdordenador() + { + return $this->idordenador; + } + + /** + * Set ip. + * + * @param string $ip + * + * @return Acciones + */ + public function setIp($ip) + { + $this->ip = $ip; + + return $this; + } + + /** + * Get ip. + * + * @return string + */ + public function getIp() + { + return $this->ip; + } + + /** + * Set sesion. + * + * @param int $sesion + * + * @return Acciones + */ + public function setSesion($sesion) + { + $this->sesion = $sesion; + + return $this; + } + + /** + * Get sesion. + * + * @return int + */ + public function getSesion() + { + return $this->sesion; + } + + /** + * Set idcomando. + * + * @param int $idcomando + * + * @return Acciones + */ + public function setIdcomando($idcomando) + { + $this->idcomando = $idcomando; + + return $this; + } + + /** + * Get idcomando. + * + * @return int + */ + public function getIdcomando() + { + return $this->idcomando; + } + + /** + * Set parametros. + * + * @param string|null $parametros + * + * @return Acciones + */ + public function setParametros($parametros = null) + { + $this->parametros = $parametros; + + return $this; + } + + /** + * Get parametros. + * + * @return string|null + */ + public function getParametros() + { + return $this->parametros; + } + + /** + * Set fechahorareg. + * + * @param \DateTime $fechahorareg + * + * @return Acciones + */ + public function setFechahorareg($fechahorareg) + { + $this->fechahorareg = $fechahorareg; + + return $this; + } + + /** + * Get fechahorareg. + * + * @return \DateTime + */ + public function getFechahorareg() + { + return $this->fechahorareg; + } + + /** + * Set fechahorafin. + * + * @param \DateTime $fechahorafin + * + * @return Acciones + */ + public function setFechahorafin($fechahorafin) + { + $this->fechahorafin = $fechahorafin; + + return $this; + } + + /** + * Get fechahorafin. + * + * @return \DateTime + */ + public function getFechahorafin() + { + return $this->fechahorafin; + } + + /** + * Set estado. + * + * @param bool $estado + * + * @return Acciones + */ + public function setEstado($estado) + { + $this->estado = $estado; + + return $this; + } + + /** + * Get estado. + * + * @return bool + */ + public function getEstado() + { + return $this->estado; + } + + /** + * Set resultado. + * + * @param bool $resultado + * + * @return Acciones + */ + public function setResultado($resultado) + { + $this->resultado = $resultado; + + return $this; + } + + /** + * Get resultado. + * + * @return bool + */ + public function getResultado() + { + return $this->resultado; + } + + /** + * Set descrinotificacion. + * + * @param string|null $descrinotificacion + * + * @return Acciones + */ + public function setDescrinotificacion($descrinotificacion = null) + { + $this->descrinotificacion = $descrinotificacion; + + return $this; + } + + /** + * Get descrinotificacion. + * + * @return string|null + */ + public function getDescrinotificacion() + { + return $this->descrinotificacion; + } + + /** + * Set ambito. + * + * @param int $ambito + * + * @return Acciones + */ + public function setAmbito($ambito) + { + $this->ambito = $ambito; + + return $this; + } + + /** + * Get ambito. + * + * @return int + */ + public function getAmbito() + { + return $this->ambito; + } + + /** + * Set idambito. + * + * @param int $idambito + * + * @return Acciones + */ + public function setIdambito($idambito) + { + $this->idambito = $idambito; + + return $this; + } + + /** + * Get idambito. + * + * @return int + */ + public function getIdambito() + { + return $this->idambito; + } + + /** + * Set restrambito. + * + * @param string|null $restrambito + * + * @return Acciones + */ + public function setRestrambito($restrambito = null) + { + $this->restrambito = $restrambito; + + return $this; + } + + /** + * Get restrambito. + * + * @return string|null + */ + public function getRestrambito() + { + return $this->restrambito; + } + + /** + * Set idprocedimiento. + * + * @param int $idprocedimiento + * + * @return Acciones + */ + public function setIdprocedimiento($idprocedimiento) + { + $this->idprocedimiento = $idprocedimiento; + + return $this; + } + + /** + * Get idprocedimiento. + * + * @return int + */ + public function getIdprocedimiento() + { + return $this->idprocedimiento; + } + + /** + * Set idtarea. + * + * @param int $idtarea + * + * @return Acciones + */ + public function setIdtarea($idtarea) + { + $this->idtarea = $idtarea; + + return $this; + } + + /** + * Get idtarea. + * + * @return int + */ + public function getIdtarea() + { + return $this->idtarea; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Acciones + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set idprogramacion. + * + * @param int $idprogramacion + * + * @return Acciones + */ + public function setIdprogramacion($idprogramacion) + { + $this->idprogramacion = $idprogramacion; + + return $this; + } + + /** + * Get idprogramacion. + * + * @return int + */ + public function getIdprogramacion() + { + return $this->idprogramacion; + } + + /** + * Get idaccion. + * + * @return int + */ + public function getIdaccion() + { + return $this->idaccion; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AccionesLog.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AccionesLog.php new file mode 100644 index 00000000..5bf80cc2 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AccionesLog.php @@ -0,0 +1,634 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * AccionesLog + */ +class AccionesLog +{ + /** + * @var int + */ + private $tipoaccion; + + /** + * @var int + */ + private $idtipoaccion; + + /** + * @var string + */ + private $descriaccion; + + /** + * @var int + */ + private $idordenador; + + /** + * @var string + */ + private $ip; + + /** + * @var int + */ + private $sesion; + + /** + * @var int + */ + private $idcomando; + + /** + * @var string|null + */ + private $parametros; + + /** + * @var \DateTime + */ + private $fechahorareg = '1970-01-01 00:00:00'; + + /** + * @var \DateTime + */ + private $fechahorafin = '1970-01-01 00:00:00'; + + /** + * @var bool + */ + private $estado = '0'; + + /** + * @var bool + */ + private $resultado = '0'; + + /** + * @var string|null + */ + private $descrinotificacion; + + /** + * @var int + */ + private $ambito = '0'; + + /** + * @var int + */ + private $idambito = '0'; + + /** + * @var string|null + */ + private $restrambito; + + /** + * @var int + */ + private $idprocedimiento = '0'; + + /** + * @var int + */ + private $idtarea = '0'; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int + */ + private $idprogramacion = '0'; + + /** + * @var \DateTime|null + */ + private $fechaBorrado; + + /** + * @var int + */ + private $idaccion; + + + /** + * Set tipoaccion. + * + * @param int $tipoaccion + * + * @return AccionesLog + */ + public function setTipoaccion($tipoaccion) + { + $this->tipoaccion = $tipoaccion; + + return $this; + } + + /** + * Get tipoaccion. + * + * @return int + */ + public function getTipoaccion() + { + return $this->tipoaccion; + } + + /** + * Set idtipoaccion. + * + * @param int $idtipoaccion + * + * @return AccionesLog + */ + public function setIdtipoaccion($idtipoaccion) + { + $this->idtipoaccion = $idtipoaccion; + + return $this; + } + + /** + * Get idtipoaccion. + * + * @return int + */ + public function getIdtipoaccion() + { + return $this->idtipoaccion; + } + + /** + * Set descriaccion. + * + * @param string $descriaccion + * + * @return AccionesLog + */ + public function setDescriaccion($descriaccion) + { + $this->descriaccion = $descriaccion; + + return $this; + } + + /** + * Get descriaccion. + * + * @return string + */ + public function getDescriaccion() + { + return $this->descriaccion; + } + + /** + * Set idordenador. + * + * @param int $idordenador + * + * @return AccionesLog + */ + public function setIdordenador($idordenador) + { + $this->idordenador = $idordenador; + + return $this; + } + + /** + * Get idordenador. + * + * @return int + */ + public function getIdordenador() + { + return $this->idordenador; + } + + /** + * Set ip. + * + * @param string $ip + * + * @return AccionesLog + */ + public function setIp($ip) + { + $this->ip = $ip; + + return $this; + } + + /** + * Get ip. + * + * @return string + */ + public function getIp() + { + return $this->ip; + } + + /** + * Set sesion. + * + * @param int $sesion + * + * @return AccionesLog + */ + public function setSesion($sesion) + { + $this->sesion = $sesion; + + return $this; + } + + /** + * Get sesion. + * + * @return int + */ + public function getSesion() + { + return $this->sesion; + } + + /** + * Set idcomando. + * + * @param int $idcomando + * + * @return AccionesLog + */ + public function setIdcomando($idcomando) + { + $this->idcomando = $idcomando; + + return $this; + } + + /** + * Get idcomando. + * + * @return int + */ + public function getIdcomando() + { + return $this->idcomando; + } + + /** + * Set parametros. + * + * @param string|null $parametros + * + * @return AccionesLog + */ + public function setParametros($parametros = null) + { + $this->parametros = $parametros; + + return $this; + } + + /** + * Get parametros. + * + * @return string|null + */ + public function getParametros() + { + return $this->parametros; + } + + /** + * Set fechahorareg. + * + * @param \DateTime $fechahorareg + * + * @return AccionesLog + */ + public function setFechahorareg($fechahorareg) + { + $this->fechahorareg = $fechahorareg; + + return $this; + } + + /** + * Get fechahorareg. + * + * @return \DateTime + */ + public function getFechahorareg() + { + return $this->fechahorareg; + } + + /** + * Set fechahorafin. + * + * @param \DateTime $fechahorafin + * + * @return AccionesLog + */ + public function setFechahorafin($fechahorafin) + { + $this->fechahorafin = $fechahorafin; + + return $this; + } + + /** + * Get fechahorafin. + * + * @return \DateTime + */ + public function getFechahorafin() + { + return $this->fechahorafin; + } + + /** + * Set estado. + * + * @param bool $estado + * + * @return AccionesLog + */ + public function setEstado($estado) + { + $this->estado = $estado; + + return $this; + } + + /** + * Get estado. + * + * @return bool + */ + public function getEstado() + { + return $this->estado; + } + + /** + * Set resultado. + * + * @param bool $resultado + * + * @return AccionesLog + */ + public function setResultado($resultado) + { + $this->resultado = $resultado; + + return $this; + } + + /** + * Get resultado. + * + * @return bool + */ + public function getResultado() + { + return $this->resultado; + } + + /** + * Set descrinotificacion. + * + * @param string|null $descrinotificacion + * + * @return AccionesLog + */ + public function setDescrinotificacion($descrinotificacion = null) + { + $this->descrinotificacion = $descrinotificacion; + + return $this; + } + + /** + * Get descrinotificacion. + * + * @return string|null + */ + public function getDescrinotificacion() + { + return $this->descrinotificacion; + } + + /** + * Set ambito. + * + * @param int $ambito + * + * @return AccionesLog + */ + public function setAmbito($ambito) + { + $this->ambito = $ambito; + + return $this; + } + + /** + * Get ambito. + * + * @return int + */ + public function getAmbito() + { + return $this->ambito; + } + + /** + * Set idambito. + * + * @param int $idambito + * + * @return AccionesLog + */ + public function setIdambito($idambito) + { + $this->idambito = $idambito; + + return $this; + } + + /** + * Get idambito. + * + * @return int + */ + public function getIdambito() + { + return $this->idambito; + } + + /** + * Set restrambito. + * + * @param string|null $restrambito + * + * @return AccionesLog + */ + public function setRestrambito($restrambito = null) + { + $this->restrambito = $restrambito; + + return $this; + } + + /** + * Get restrambito. + * + * @return string|null + */ + public function getRestrambito() + { + return $this->restrambito; + } + + /** + * Set idprocedimiento. + * + * @param int $idprocedimiento + * + * @return AccionesLog + */ + public function setIdprocedimiento($idprocedimiento) + { + $this->idprocedimiento = $idprocedimiento; + + return $this; + } + + /** + * Get idprocedimiento. + * + * @return int + */ + public function getIdprocedimiento() + { + return $this->idprocedimiento; + } + + /** + * Set idtarea. + * + * @param int $idtarea + * + * @return AccionesLog + */ + public function setIdtarea($idtarea) + { + $this->idtarea = $idtarea; + + return $this; + } + + /** + * Get idtarea. + * + * @return int + */ + public function getIdtarea() + { + return $this->idtarea; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return AccionesLog + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set idprogramacion. + * + * @param int $idprogramacion + * + * @return AccionesLog + */ + public function setIdprogramacion($idprogramacion) + { + $this->idprogramacion = $idprogramacion; + + return $this; + } + + /** + * Get idprogramacion. + * + * @return int + */ + public function getIdprogramacion() + { + return $this->idprogramacion; + } + + /** + * Set fechaBorrado. + * + * @param \DateTime|null $fechaBorrado + * + * @return AccionesLog + */ + public function setFechaBorrado($fechaBorrado = null) + { + $this->fechaBorrado = $fechaBorrado; + + return $this; + } + + /** + * Get fechaBorrado. + * + * @return \DateTime|null + */ + public function getFechaBorrado() + { + return $this->fechaBorrado; + } + + /** + * Get idaccion. + * + * @return int + */ + public function getIdaccion() + { + return $this->idaccion; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AccionesMenus.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AccionesMenus.php new file mode 100644 index 00000000..163e5f66 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AccionesMenus.php @@ -0,0 +1,228 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * AccionesMenus + */ +class AccionesMenus +{ + /** + * @var bool + */ + private $tipoaccion = '0'; + + /** + * @var int + */ + private $idtipoaccion = '0'; + + /** + * @var int + */ + private $idmenu = '0'; + + /** + * @var bool|null + */ + private $tipoitem; + + /** + * @var int|null + */ + private $idurlimg; + + /** + * @var string|null + */ + private $descripitem; + + /** + * @var bool|null + */ + private $orden; + + /** + * @var int + */ + private $idaccionmenu; + + + /** + * Set tipoaccion. + * + * @param bool $tipoaccion + * + * @return AccionesMenus + */ + public function setTipoaccion($tipoaccion) + { + $this->tipoaccion = $tipoaccion; + + return $this; + } + + /** + * Get tipoaccion. + * + * @return bool + */ + public function getTipoaccion() + { + return $this->tipoaccion; + } + + /** + * Set idtipoaccion. + * + * @param int $idtipoaccion + * + * @return AccionesMenus + */ + public function setIdtipoaccion($idtipoaccion) + { + $this->idtipoaccion = $idtipoaccion; + + return $this; + } + + /** + * Get idtipoaccion. + * + * @return int + */ + public function getIdtipoaccion() + { + return $this->idtipoaccion; + } + + /** + * Set idmenu. + * + * @param int $idmenu + * + * @return AccionesMenus + */ + public function setIdmenu($idmenu) + { + $this->idmenu = $idmenu; + + return $this; + } + + /** + * Get idmenu. + * + * @return int + */ + public function getIdmenu() + { + return $this->idmenu; + } + + /** + * Set tipoitem. + * + * @param bool|null $tipoitem + * + * @return AccionesMenus + */ + public function setTipoitem($tipoitem = null) + { + $this->tipoitem = $tipoitem; + + return $this; + } + + /** + * Get tipoitem. + * + * @return bool|null + */ + public function getTipoitem() + { + return $this->tipoitem; + } + + /** + * Set idurlimg. + * + * @param int|null $idurlimg + * + * @return AccionesMenus + */ + public function setIdurlimg($idurlimg = null) + { + $this->idurlimg = $idurlimg; + + return $this; + } + + /** + * Get idurlimg. + * + * @return int|null + */ + public function getIdurlimg() + { + return $this->idurlimg; + } + + /** + * Set descripitem. + * + * @param string|null $descripitem + * + * @return AccionesMenus + */ + public function setDescripitem($descripitem = null) + { + $this->descripitem = $descripitem; + + return $this; + } + + /** + * Get descripitem. + * + * @return string|null + */ + public function getDescripitem() + { + return $this->descripitem; + } + + /** + * Set orden. + * + * @param bool|null $orden + * + * @return AccionesMenus + */ + public function setOrden($orden = null) + { + $this->orden = $orden; + + return $this; + } + + /** + * Get orden. + * + * @return bool|null + */ + public function getOrden() + { + return $this->orden; + } + + /** + * Get idaccionmenu. + * + * @return int + */ + public function getIdaccionmenu() + { + return $this->idaccionmenu; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AdministradoresCentros.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AdministradoresCentros.php new file mode 100644 index 00000000..e6e98c38 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/AdministradoresCentros.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * AdministradoresCentros + */ +class AdministradoresCentros +{ + /** + * @var int + */ + private $idusuario = '0'; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int + */ + private $idadministradorcentro; + + + /** + * Set idusuario. + * + * @param int $idusuario + * + * @return AdministradoresCentros + */ + public function setIdusuario($idusuario) + { + $this->idusuario = $idusuario; + + return $this; + } + + /** + * Get idusuario. + * + * @return int + */ + public function getIdusuario() + { + return $this->idusuario; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return AdministradoresCentros + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Get idadministradorcentro. + * + * @return int + */ + public function getIdadministradorcentro() + { + return $this->idadministradorcentro; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Asistentes.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Asistentes.php new file mode 100644 index 00000000..99508619 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Asistentes.php @@ -0,0 +1,329 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Asistentes + */ +class Asistentes +{ + /** + * @var string + */ + private $pagina; + + /** + * @var string + */ + private $gestor; + + /** + * @var string + */ + private $funcion; + + /** + * @var string|null + */ + private $urlimg; + + /** + * @var bool|null + */ + private $aplicambito; + + /** + * @var string|null + */ + private $visuparametros; + + /** + * @var string|null + */ + private $parametros; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var bool + */ + private $activo; + + /** + * @var int + */ + private $idcomando; + + /** + * @var string + */ + private $descripcion; + + + /** + * Set pagina. + * + * @param string $pagina + * + * @return Asistentes + */ + public function setPagina($pagina) + { + $this->pagina = $pagina; + + return $this; + } + + /** + * Get pagina. + * + * @return string + */ + public function getPagina() + { + return $this->pagina; + } + + /** + * Set gestor. + * + * @param string $gestor + * + * @return Asistentes + */ + public function setGestor($gestor) + { + $this->gestor = $gestor; + + return $this; + } + + /** + * Get gestor. + * + * @return string + */ + public function getGestor() + { + return $this->gestor; + } + + /** + * Set funcion. + * + * @param string $funcion + * + * @return Asistentes + */ + public function setFuncion($funcion) + { + $this->funcion = $funcion; + + return $this; + } + + /** + * Get funcion. + * + * @return string + */ + public function getFuncion() + { + return $this->funcion; + } + + /** + * Set urlimg. + * + * @param string|null $urlimg + * + * @return Asistentes + */ + public function setUrlimg($urlimg = null) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string|null + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Set aplicambito. + * + * @param bool|null $aplicambito + * + * @return Asistentes + */ + public function setAplicambito($aplicambito = null) + { + $this->aplicambito = $aplicambito; + + return $this; + } + + /** + * Get aplicambito. + * + * @return bool|null + */ + public function getAplicambito() + { + return $this->aplicambito; + } + + /** + * Set visuparametros. + * + * @param string|null $visuparametros + * + * @return Asistentes + */ + public function setVisuparametros($visuparametros = null) + { + $this->visuparametros = $visuparametros; + + return $this; + } + + /** + * Get visuparametros. + * + * @return string|null + */ + public function getVisuparametros() + { + return $this->visuparametros; + } + + /** + * Set parametros. + * + * @param string|null $parametros + * + * @return Asistentes + */ + public function setParametros($parametros = null) + { + $this->parametros = $parametros; + + return $this; + } + + /** + * Get parametros. + * + * @return string|null + */ + public function getParametros() + { + return $this->parametros; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Asistentes + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set activo. + * + * @param bool $activo + * + * @return Asistentes + */ + public function setActivo($activo) + { + $this->activo = $activo; + + return $this; + } + + /** + * Get activo. + * + * @return bool + */ + public function getActivo() + { + return $this->activo; + } + + /** + * Set idcomando. + * + * @param int $idcomando + * + * @return Asistentes + */ + public function setIdcomando($idcomando) + { + $this->idcomando = $idcomando; + + return $this; + } + + /** + * Get idcomando. + * + * @return int + */ + public function getIdcomando() + { + return $this->idcomando; + } + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Asistentes + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Aulas.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Aulas.php new file mode 100644 index 00000000..87522ec5 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Aulas.php @@ -0,0 +1,808 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Aulas + */ +class Aulas +{ + /** + * @var string + */ + private $nombreaula = ''; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var string|null + */ + private $urlfoto; + + /** + * @var bool|null + */ + private $cagnon; + + /** + * @var bool|null + */ + private $pizarra; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var string|null + */ + private $ubicacion; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $puestos; + + /** + * @var bool|null + */ + private $horaresevini; + + /** + * @var bool|null + */ + private $horaresevfin; + + /** + * @var bool + */ + private $modomul; + + /** + * @var string + */ + private $ipmul; + + /** + * @var int + */ + private $pormul; + + /** + * @var int + */ + private $velmul = '70'; + + /** + * @var string|null + */ + private $router; + + /** + * @var string|null + */ + private $netmask; + + /** + * @var string|null + */ + private $dns; + + /** + * @var string|null + */ + private $proxy; + + /** + * @var string|null + */ + private $ntp; + + /** + * @var string|null + */ + private $modp2p = 'peer'; + + /** + * @var int + */ + private $timep2p = '60'; + + /** + * @var bool|null + */ + private $validacion = '0'; + + /** + * @var string|null + */ + private $paginalogin; + + /** + * @var string|null + */ + private $paginavalidacion; + + /** + * @var bool|null + */ + private $inremotepc = '0'; + + /** + * @var string + */ + private $oglivedir = 'ogLive'; + + /** + * @var int + */ + private $idaula; + + + /** + * Set nombreaula. + * + * @param string $nombreaula + * + * @return Aulas + */ + public function setNombreaula($nombreaula) + { + $this->nombreaula = $nombreaula; + + return $this; + } + + /** + * Get nombreaula. + * + * @return string + */ + public function getNombreaula() + { + return $this->nombreaula; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Aulas + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set urlfoto. + * + * @param string|null $urlfoto + * + * @return Aulas + */ + public function setUrlfoto($urlfoto = null) + { + $this->urlfoto = $urlfoto; + + return $this; + } + + /** + * Get urlfoto. + * + * @return string|null + */ + public function getUrlfoto() + { + return $this->urlfoto; + } + + /** + * Set cagnon. + * + * @param bool|null $cagnon + * + * @return Aulas + */ + public function setCagnon($cagnon = null) + { + $this->cagnon = $cagnon; + + return $this; + } + + /** + * Get cagnon. + * + * @return bool|null + */ + public function getCagnon() + { + return $this->cagnon; + } + + /** + * Set pizarra. + * + * @param bool|null $pizarra + * + * @return Aulas + */ + public function setPizarra($pizarra = null) + { + $this->pizarra = $pizarra; + + return $this; + } + + /** + * Get pizarra. + * + * @return bool|null + */ + public function getPizarra() + { + return $this->pizarra; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Aulas + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set ubicacion. + * + * @param string|null $ubicacion + * + * @return Aulas + */ + public function setUbicacion($ubicacion = null) + { + $this->ubicacion = $ubicacion; + + return $this; + } + + /** + * Get ubicacion. + * + * @return string|null + */ + public function getUbicacion() + { + return $this->ubicacion; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Aulas + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set puestos. + * + * @param int|null $puestos + * + * @return Aulas + */ + public function setPuestos($puestos = null) + { + $this->puestos = $puestos; + + return $this; + } + + /** + * Get puestos. + * + * @return int|null + */ + public function getPuestos() + { + return $this->puestos; + } + + /** + * Set horaresevini. + * + * @param bool|null $horaresevini + * + * @return Aulas + */ + public function setHoraresevini($horaresevini = null) + { + $this->horaresevini = $horaresevini; + + return $this; + } + + /** + * Get horaresevini. + * + * @return bool|null + */ + public function getHoraresevini() + { + return $this->horaresevini; + } + + /** + * Set horaresevfin. + * + * @param bool|null $horaresevfin + * + * @return Aulas + */ + public function setHoraresevfin($horaresevfin = null) + { + $this->horaresevfin = $horaresevfin; + + return $this; + } + + /** + * Get horaresevfin. + * + * @return bool|null + */ + public function getHoraresevfin() + { + return $this->horaresevfin; + } + + /** + * Set modomul. + * + * @param bool $modomul + * + * @return Aulas + */ + public function setModomul($modomul) + { + $this->modomul = $modomul; + + return $this; + } + + /** + * Get modomul. + * + * @return bool + */ + public function getModomul() + { + return $this->modomul; + } + + /** + * Set ipmul. + * + * @param string $ipmul + * + * @return Aulas + */ + public function setIpmul($ipmul) + { + $this->ipmul = $ipmul; + + return $this; + } + + /** + * Get ipmul. + * + * @return string + */ + public function getIpmul() + { + return $this->ipmul; + } + + /** + * Set pormul. + * + * @param int $pormul + * + * @return Aulas + */ + public function setPormul($pormul) + { + $this->pormul = $pormul; + + return $this; + } + + /** + * Get pormul. + * + * @return int + */ + public function getPormul() + { + return $this->pormul; + } + + /** + * Set velmul. + * + * @param int $velmul + * + * @return Aulas + */ + public function setVelmul($velmul) + { + $this->velmul = $velmul; + + return $this; + } + + /** + * Get velmul. + * + * @return int + */ + public function getVelmul() + { + return $this->velmul; + } + + /** + * Set router. + * + * @param string|null $router + * + * @return Aulas + */ + public function setRouter($router = null) + { + $this->router = $router; + + return $this; + } + + /** + * Get router. + * + * @return string|null + */ + public function getRouter() + { + return $this->router; + } + + /** + * Set netmask. + * + * @param string|null $netmask + * + * @return Aulas + */ + public function setNetmask($netmask = null) + { + $this->netmask = $netmask; + + return $this; + } + + /** + * Get netmask. + * + * @return string|null + */ + public function getNetmask() + { + return $this->netmask; + } + + /** + * Set dns. + * + * @param string|null $dns + * + * @return Aulas + */ + public function setDns($dns = null) + { + $this->dns = $dns; + + return $this; + } + + /** + * Get dns. + * + * @return string|null + */ + public function getDns() + { + return $this->dns; + } + + /** + * Set proxy. + * + * @param string|null $proxy + * + * @return Aulas + */ + public function setProxy($proxy = null) + { + $this->proxy = $proxy; + + return $this; + } + + /** + * Get proxy. + * + * @return string|null + */ + public function getProxy() + { + return $this->proxy; + } + + /** + * Set ntp. + * + * @param string|null $ntp + * + * @return Aulas + */ + public function setNtp($ntp = null) + { + $this->ntp = $ntp; + + return $this; + } + + /** + * Get ntp. + * + * @return string|null + */ + public function getNtp() + { + return $this->ntp; + } + + /** + * Set modp2p. + * + * @param string|null $modp2p + * + * @return Aulas + */ + public function setModp2p($modp2p = null) + { + $this->modp2p = $modp2p; + + return $this; + } + + /** + * Get modp2p. + * + * @return string|null + */ + public function getModp2p() + { + return $this->modp2p; + } + + /** + * Set timep2p. + * + * @param int $timep2p + * + * @return Aulas + */ + public function setTimep2p($timep2p) + { + $this->timep2p = $timep2p; + + return $this; + } + + /** + * Get timep2p. + * + * @return int + */ + public function getTimep2p() + { + return $this->timep2p; + } + + /** + * Set validacion. + * + * @param bool|null $validacion + * + * @return Aulas + */ + public function setValidacion($validacion = null) + { + $this->validacion = $validacion; + + return $this; + } + + /** + * Get validacion. + * + * @return bool|null + */ + public function getValidacion() + { + return $this->validacion; + } + + /** + * Set paginalogin. + * + * @param string|null $paginalogin + * + * @return Aulas + */ + public function setPaginalogin($paginalogin = null) + { + $this->paginalogin = $paginalogin; + + return $this; + } + + /** + * Get paginalogin. + * + * @return string|null + */ + public function getPaginalogin() + { + return $this->paginalogin; + } + + /** + * Set paginavalidacion. + * + * @param string|null $paginavalidacion + * + * @return Aulas + */ + public function setPaginavalidacion($paginavalidacion = null) + { + $this->paginavalidacion = $paginavalidacion; + + return $this; + } + + /** + * Get paginavalidacion. + * + * @return string|null + */ + public function getPaginavalidacion() + { + return $this->paginavalidacion; + } + + /** + * Set inremotepc. + * + * @param bool|null $inremotepc + * + * @return Aulas + */ + public function setInremotepc($inremotepc = null) + { + $this->inremotepc = $inremotepc; + + return $this; + } + + /** + * Get inremotepc. + * + * @return bool|null + */ + public function getInremotepc() + { + return $this->inremotepc; + } + + /** + * Set oglivedir. + * + * @param string $oglivedir + * + * @return Aulas + */ + public function setOglivedir($oglivedir) + { + $this->oglivedir = $oglivedir; + + return $this; + } + + /** + * Get oglivedir. + * + * @return string + */ + public function getOglivedir() + { + return $this->oglivedir; + } + + /** + * Get idaula. + * + * @return int + */ + public function getIdaula() + { + return $this->idaula; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Centros.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Centros.php new file mode 100644 index 00000000..e4447198 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Centros.php @@ -0,0 +1,141 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Centros + */ +class Centros +{ + /** + * @var string + */ + private $nombrecentro = ''; + + /** + * @var int|null + */ + private $identidad; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var string|null + */ + private $directorio = ''; + + /** + * @var int + */ + private $idcentro; + + + /** + * Set nombrecentro. + * + * @param string $nombrecentro + * + * @return Centros + */ + public function setNombrecentro($nombrecentro) + { + $this->nombrecentro = $nombrecentro; + + return $this; + } + + /** + * Get nombrecentro. + * + * @return string + */ + public function getNombrecentro() + { + return $this->nombrecentro; + } + + /** + * Set identidad. + * + * @param int|null $identidad + * + * @return Centros + */ + public function setIdentidad($identidad = null) + { + $this->identidad = $identidad; + + return $this; + } + + /** + * Get identidad. + * + * @return int|null + */ + public function getIdentidad() + { + return $this->identidad; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Centros + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set directorio. + * + * @param string|null $directorio + * + * @return Centros + */ + public function setDirectorio($directorio = null) + { + $this->directorio = $directorio; + + return $this; + } + + /** + * Get directorio. + * + * @return string|null + */ + public function getDirectorio() + { + return $this->directorio; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Comandos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Comandos.php new file mode 100644 index 00000000..b930c147 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Comandos.php @@ -0,0 +1,346 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Class Comandos + * @package Opengnsys\MigrationBundle\Entity + */ +class Comandos +{ + + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string + */ + private $pagina; + + /** + * @var string + */ + private $gestor; + + /** + * @var string + */ + private $funcion; + + /** + * @var string|null + */ + private $urlimg; + + /** + * @var bool|null + */ + private $aplicambito; + + /** + * @var string|null + */ + private $visuparametros; + + /** + * @var string|null + */ + private $parametros; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var bool + */ + private $activo; + + /** + * @var string + */ + private $submenu = ''; + + /** + * @var int + */ + private $idcomando; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Comandos + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set pagina. + * + * @param string $pagina + * + * @return Comandos + */ + public function setPagina($pagina) + { + $this->pagina = $pagina; + + return $this; + } + + /** + * Get pagina. + * + * @return string + */ + public function getPagina() + { + return $this->pagina; + } + + /** + * Set gestor. + * + * @param string $gestor + * + * @return Comandos + */ + public function setGestor($gestor) + { + $this->gestor = $gestor; + + return $this; + } + + /** + * Get gestor. + * + * @return string + */ + public function getGestor() + { + return $this->gestor; + } + + /** + * Set funcion. + * + * @param string $funcion + * + * @return Comandos + */ + public function setFuncion($funcion) + { + $this->funcion = $funcion; + + return $this; + } + + /** + * Get funcion. + * + * @return string + */ + public function getFuncion() + { + return $this->funcion; + } + + /** + * Set urlimg. + * + * @param string|null $urlimg + * + * @return Comandos + */ + public function setUrlimg($urlimg = null) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string|null + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Set aplicambito. + * + * @param bool|null $aplicambito + * + * @return Comandos + */ + public function setAplicambito($aplicambito = null) + { + $this->aplicambito = $aplicambito; + + return $this; + } + + /** + * Get aplicambito. + * + * @return bool|null + */ + public function getAplicambito() + { + return $this->aplicambito; + } + + /** + * Set visuparametros. + * + * @param string|null $visuparametros + * + * @return Comandos + */ + public function setVisuparametros($visuparametros = null) + { + $this->visuparametros = $visuparametros; + + return $this; + } + + /** + * Get visuparametros. + * + * @return string|null + */ + public function getVisuparametros() + { + return $this->visuparametros; + } + + /** + * Set parametros. + * + * @param string|null $parametros + * + * @return Comandos + */ + public function setParametros($parametros = null) + { + $this->parametros = $parametros; + + return $this; + } + + /** + * Get parametros. + * + * @return string|null + */ + public function getParametros() + { + return $this->parametros; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Comandos + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set activo. + * + * @param bool $activo + * + * @return Comandos + */ + public function setActivo($activo) + { + $this->activo = $activo; + + return $this; + } + + /** + * Get activo. + * + * @return bool + */ + public function getActivo() + { + return $this->activo; + } + + /** + * Set submenu. + * + * @param string $submenu + * + * @return Comandos + */ + public function setSubmenu($submenu) + { + $this->submenu = $submenu; + + return $this; + } + + /** + * Get submenu. + * + * @return string + */ + public function getSubmenu() + { + return $this->submenu; + } + + /** + * Get idcomando. + * + * @return int + */ + public function getIdcomando() + { + return $this->idcomando; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Entidades.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Entidades.php new file mode 100644 index 00000000..c5aa101c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Entidades.php @@ -0,0 +1,170 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Entidades + */ +class Entidades +{ + /** + * @var string + */ + private $nombreentidad = ''; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $iduniversidad; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var bool + */ + private $ogunit = '0'; + + /** + * @var int + */ + private $identidad; + + + /** + * Set nombreentidad. + * + * @param string $nombreentidad + * + * @return Entidades + */ + public function setNombreentidad($nombreentidad) + { + $this->nombreentidad = $nombreentidad; + + return $this; + } + + /** + * Get nombreentidad. + * + * @return string + */ + public function getNombreentidad() + { + return $this->nombreentidad; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Entidades + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set iduniversidad. + * + * @param int|null $iduniversidad + * + * @return Entidades + */ + public function setIduniversidad($iduniversidad = null) + { + $this->iduniversidad = $iduniversidad; + + return $this; + } + + /** + * Get iduniversidad. + * + * @return int|null + */ + public function getIduniversidad() + { + return $this->iduniversidad; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Entidades + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set ogunit. + * + * @param bool $ogunit + * + * @return Entidades + */ + public function setOgunit($ogunit) + { + $this->ogunit = $ogunit; + + return $this; + } + + /** + * Get ogunit. + * + * @return bool + */ + public function getOgunit() + { + return $this->ogunit; + } + + /** + * Get identidad. + * + * @return int + */ + public function getIdentidad() + { + return $this->identidad; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Entornos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Entornos.php new file mode 100644 index 00000000..eef4be9d --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Entornos.php @@ -0,0 +1,112 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Entornos + */ +class Entornos +{ + /** + * @var string + */ + private $ipserveradm; + + /** + * @var int + */ + private $portserveradm; + + /** + * @var string + */ + private $protoclonacion; + + /** + * @var int + */ + private $identorno; + + + /** + * Set ipserveradm. + * + * @param string $ipserveradm + * + * @return Entornos + */ + public function setIpserveradm($ipserveradm) + { + $this->ipserveradm = $ipserveradm; + + return $this; + } + + /** + * Get ipserveradm. + * + * @return string + */ + public function getIpserveradm() + { + return $this->ipserveradm; + } + + /** + * Set portserveradm. + * + * @param int $portserveradm + * + * @return Entornos + */ + public function setPortserveradm($portserveradm) + { + $this->portserveradm = $portserveradm; + + return $this; + } + + /** + * Get portserveradm. + * + * @return int + */ + public function getPortserveradm() + { + return $this->portserveradm; + } + + /** + * Set protoclonacion. + * + * @param string $protoclonacion + * + * @return Entornos + */ + public function setProtoclonacion($protoclonacion) + { + $this->protoclonacion = $protoclonacion; + + return $this; + } + + /** + * Get protoclonacion. + * + * @return string + */ + public function getProtoclonacion() + { + return $this->protoclonacion; + } + + /** + * Get identorno. + * + * @return int + */ + public function getIdentorno() + { + return $this->identorno; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Estatus.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Estatus.php new file mode 100644 index 00000000..19732516 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Estatus.php @@ -0,0 +1,54 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Estatus + */ +class Estatus +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var int + */ + private $idestatus; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Estatus + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Get idestatus. + * + * @return int + */ + public function getIdestatus() + { + return $this->idestatus; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Grupos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Grupos.php new file mode 100644 index 00000000..47a636f9 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Grupos.php @@ -0,0 +1,199 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Grupos + */ +class Grupos +{ + /** + * @var string + */ + private $nombregrupo = ''; + + /** + * @var int + */ + private $grupoid = '0'; + + /** + * @var bool + */ + private $tipo = '0'; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int|null + */ + private $iduniversidad; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int + */ + private $idgrupo; + + + /** + * Set nombregrupo. + * + * @param string $nombregrupo + * + * @return Grupos + */ + public function setNombregrupo($nombregrupo) + { + $this->nombregrupo = $nombregrupo; + + return $this; + } + + /** + * Get nombregrupo. + * + * @return string + */ + public function getNombregrupo() + { + return $this->nombregrupo; + } + + /** + * Set grupoid. + * + * @param int $grupoid + * + * @return Grupos + */ + public function setGrupoid($grupoid) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set tipo. + * + * @param bool $tipo + * + * @return Grupos + */ + public function setTipo($tipo) + { + $this->tipo = $tipo; + + return $this; + } + + /** + * Get tipo. + * + * @return bool + */ + public function getTipo() + { + return $this->tipo; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Grupos + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set iduniversidad. + * + * @param int|null $iduniversidad + * + * @return Grupos + */ + public function setIduniversidad($iduniversidad = null) + { + $this->iduniversidad = $iduniversidad; + + return $this; + } + + /** + * Get iduniversidad. + * + * @return int|null + */ + public function getIduniversidad() + { + return $this->iduniversidad; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Grupos + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Get idgrupo. + * + * @return int + */ + public function getIdgrupo() + { + return $this->idgrupo; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Gruposordenadores.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Gruposordenadores.php new file mode 100644 index 00000000..fcdaa675 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Gruposordenadores.php @@ -0,0 +1,141 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Gruposordenadores + */ +class Gruposordenadores +{ + /** + * @var string + */ + private $nombregrupoordenador = ''; + + /** + * @var int + */ + private $idaula = '0'; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int + */ + private $idgrupo; + + + /** + * Set nombregrupoordenador. + * + * @param string $nombregrupoordenador + * + * @return Gruposordenadores + */ + public function setNombregrupoordenador($nombregrupoordenador) + { + $this->nombregrupoordenador = $nombregrupoordenador; + + return $this; + } + + /** + * Get nombregrupoordenador. + * + * @return string + */ + public function getNombregrupoordenador() + { + return $this->nombregrupoordenador; + } + + /** + * Set idaula. + * + * @param int $idaula + * + * @return Gruposordenadores + */ + public function setIdaula($idaula) + { + $this->idaula = $idaula; + + return $this; + } + + /** + * Get idaula. + * + * @return int + */ + public function getIdaula() + { + return $this->idaula; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Gruposordenadores + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Gruposordenadores + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Get idgrupo. + * + * @return int + */ + public function getIdgrupo() + { + return $this->idgrupo; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Hardwares.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Hardwares.php new file mode 100644 index 00000000..44e08a04 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Hardwares.php @@ -0,0 +1,141 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Hardwares + */ +class Hardwares +{ + /** + * @var int + */ + private $idtipohardware = '0'; + + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var int + */ + private $idhardware; + + + /** + * Set idtipohardware. + * + * @param int $idtipohardware + * + * @return Hardwares + */ + public function setIdtipohardware($idtipohardware) + { + $this->idtipohardware = $idtipohardware; + + return $this; + } + + /** + * Get idtipohardware. + * + * @return int + */ + public function getIdtipohardware() + { + return $this->idtipohardware; + } + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Hardwares + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Hardwares + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Hardwares + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Get idhardware. + * + * @return int + */ + public function getIdhardware() + { + return $this->idhardware; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Iconos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Iconos.php new file mode 100644 index 00000000..70c883ed --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Iconos.php @@ -0,0 +1,112 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Iconos + */ +class Iconos +{ + /** + * @var string|null + */ + private $urlicono; + + /** + * @var int|null + */ + private $idtipoicono; + + /** + * @var string|null + */ + private $descripcion; + + /** + * @var int + */ + private $idicono; + + + /** + * Set urlicono. + * + * @param string|null $urlicono + * + * @return Iconos + */ + public function setUrlicono($urlicono = null) + { + $this->urlicono = $urlicono; + + return $this; + } + + /** + * Get urlicono. + * + * @return string|null + */ + public function getUrlicono() + { + return $this->urlicono; + } + + /** + * Set idtipoicono. + * + * @param int|null $idtipoicono + * + * @return Iconos + */ + public function setIdtipoicono($idtipoicono = null) + { + $this->idtipoicono = $idtipoicono; + + return $this; + } + + /** + * Get idtipoicono. + * + * @return int|null + */ + public function getIdtipoicono() + { + return $this->idtipoicono; + } + + /** + * Set descripcion. + * + * @param string|null $descripcion + * + * @return Iconos + */ + public function setDescripcion($descripcion = null) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string|null + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Get idicono. + * + * @return int + */ + public function getIdicono() + { + return $this->idicono; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Idiomas.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Idiomas.php new file mode 100644 index 00000000..4860024f --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Idiomas.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Idiomas + */ +class Idiomas +{ + /** + * @var string|null + */ + private $descripcion; + + /** + * @var string|null + */ + private $nemonico; + + /** + * @var int + */ + private $ididioma; + + + /** + * Set descripcion. + * + * @param string|null $descripcion + * + * @return Idiomas + */ + public function setDescripcion($descripcion = null) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string|null + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set nemonico. + * + * @param string|null $nemonico + * + * @return Idiomas + */ + public function setNemonico($nemonico = null) + { + $this->nemonico = $nemonico; + + return $this; + } + + /** + * Get nemonico. + * + * @return string|null + */ + public function getNemonico() + { + return $this->nemonico; + } + + /** + * Get ididioma. + * + * @return int + */ + public function getIdidioma() + { + return $this->ididioma; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Imagenes.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Imagenes.php new file mode 100644 index 00000000..b52c120b --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Imagenes.php @@ -0,0 +1,518 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Imagenes + */ +class Imagenes +{ + /** + * @var string + */ + private $nombreca; + + /** + * @var int + */ + private $revision = '0'; + + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var int|null + */ + private $idperfilsoft; + + /** + * @var int|null + */ + private $idcentro; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var int + */ + private $idrepositorio = '0'; + + /** + * @var int + */ + private $idordenador = '0'; + + /** + * @var int + */ + private $numdisk = '0'; + + /** + * @var int + */ + private $numpar = '0'; + + /** + * @var int + */ + private $codpar = '0'; + + /** + * @var bool|null + */ + private $tipo; + + /** + * @var int + */ + private $imagenid = '0'; + + /** + * @var string|null + */ + private $ruta; + + /** + * @var \DateTime|null + */ + private $fechacreacion; + + /** + * @var bool|null + */ + private $inremotepc = '0'; + + /** + * @var int + */ + private $idimagen; + + + /** + * Set nombreca. + * + * @param string $nombreca + * + * @return Imagenes + */ + public function setNombreca($nombreca) + { + $this->nombreca = $nombreca; + + return $this; + } + + /** + * Get nombreca. + * + * @return string + */ + public function getNombreca() + { + return $this->nombreca; + } + + /** + * Set revision. + * + * @param int $revision + * + * @return Imagenes + */ + public function setRevision($revision) + { + $this->revision = $revision; + + return $this; + } + + /** + * Get revision. + * + * @return int + */ + public function getRevision() + { + return $this->revision; + } + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Imagenes + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set idperfilsoft. + * + * @param int|null $idperfilsoft + * + * @return Imagenes + */ + public function setIdperfilsoft($idperfilsoft = null) + { + $this->idperfilsoft = $idperfilsoft; + + return $this; + } + + /** + * Get idperfilsoft. + * + * @return int|null + */ + public function getIdperfilsoft() + { + return $this->idperfilsoft; + } + + /** + * Set idcentro. + * + * @param int|null $idcentro + * + * @return Imagenes + */ + public function setIdcentro($idcentro = null) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int|null + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Imagenes + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Imagenes + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set idrepositorio. + * + * @param int $idrepositorio + * + * @return Imagenes + */ + public function setIdrepositorio($idrepositorio) + { + $this->idrepositorio = $idrepositorio; + + return $this; + } + + /** + * Get idrepositorio. + * + * @return int + */ + public function getIdrepositorio() + { + return $this->idrepositorio; + } + + /** + * Set idordenador. + * + * @param int $idordenador + * + * @return Imagenes + */ + public function setIdordenador($idordenador) + { + $this->idordenador = $idordenador; + + return $this; + } + + /** + * Get idordenador. + * + * @return int + */ + public function getIdordenador() + { + return $this->idordenador; + } + + /** + * Set numdisk. + * + * @param int $numdisk + * + * @return Imagenes + */ + public function setNumdisk($numdisk) + { + $this->numdisk = $numdisk; + + return $this; + } + + /** + * Get numdisk. + * + * @return int + */ + public function getNumdisk() + { + return $this->numdisk; + } + + /** + * Set numpar. + * + * @param int $numpar + * + * @return Imagenes + */ + public function setNumpar($numpar) + { + $this->numpar = $numpar; + + return $this; + } + + /** + * Get numpar. + * + * @return int + */ + public function getNumpar() + { + return $this->numpar; + } + + /** + * Set codpar. + * + * @param int $codpar + * + * @return Imagenes + */ + public function setCodpar($codpar) + { + $this->codpar = $codpar; + + return $this; + } + + /** + * Get codpar. + * + * @return int + */ + public function getCodpar() + { + return $this->codpar; + } + + /** + * Set tipo. + * + * @param bool|null $tipo + * + * @return Imagenes + */ + public function setTipo($tipo = null) + { + $this->tipo = $tipo; + + return $this; + } + + /** + * Get tipo. + * + * @return bool|null + */ + public function getTipo() + { + return $this->tipo; + } + + /** + * Set imagenid. + * + * @param int $imagenid + * + * @return Imagenes + */ + public function setImagenid($imagenid) + { + $this->imagenid = $imagenid; + + return $this; + } + + /** + * Get imagenid. + * + * @return int + */ + public function getImagenid() + { + return $this->imagenid; + } + + /** + * Set ruta. + * + * @param string|null $ruta + * + * @return Imagenes + */ + public function setRuta($ruta = null) + { + $this->ruta = $ruta; + + return $this; + } + + /** + * Get ruta. + * + * @return string|null + */ + public function getRuta() + { + return $this->ruta; + } + + /** + * Set fechacreacion. + * + * @param \DateTime|null $fechacreacion + * + * @return Imagenes + */ + public function setFechacreacion($fechacreacion = null) + { + $this->fechacreacion = $fechacreacion; + + return $this; + } + + /** + * Get fechacreacion. + * + * @return \DateTime|null + */ + public function getFechacreacion() + { + return $this->fechacreacion; + } + + /** + * Set inremotepc. + * + * @param bool|null $inremotepc + * + * @return Imagenes + */ + public function setInremotepc($inremotepc = null) + { + $this->inremotepc = $inremotepc; + + return $this; + } + + /** + * Get inremotepc. + * + * @return bool|null + */ + public function getInremotepc() + { + return $this->inremotepc; + } + + /** + * Get idimagen. + * + * @return int + */ + public function getIdimagen() + { + return $this->idimagen; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Menus.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Menus.php new file mode 100644 index 00000000..a90bfa52 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Menus.php @@ -0,0 +1,344 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Menus + */ +class Menus +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int + */ + private $idurlimg = '0'; + + /** + * @var string|null + */ + private $titulo; + + /** + * @var bool|null + */ + private $modalidad; + + /** + * @var bool|null + */ + private $smodalidad; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int + */ + private $grupoid = '0'; + + /** + * @var string|null + */ + private $htmlmenupub; + + /** + * @var string|null + */ + private $htmlmenupri; + + /** + * @var string|null + */ + private $resolucion; + + /** + * @var int + */ + private $idmenu; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Menus + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Menus + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set idurlimg. + * + * @param int $idurlimg + * + * @return Menus + */ + public function setIdurlimg($idurlimg) + { + $this->idurlimg = $idurlimg; + + return $this; + } + + /** + * Get idurlimg. + * + * @return int + */ + public function getIdurlimg() + { + return $this->idurlimg; + } + + /** + * Set titulo. + * + * @param string|null $titulo + * + * @return Menus + */ + public function setTitulo($titulo = null) + { + $this->titulo = $titulo; + + return $this; + } + + /** + * Get titulo. + * + * @return string|null + */ + public function getTitulo() + { + return $this->titulo; + } + + /** + * Set modalidad. + * + * @param bool|null $modalidad + * + * @return Menus + */ + public function setModalidad($modalidad = null) + { + $this->modalidad = $modalidad; + + return $this; + } + + /** + * Get modalidad. + * + * @return bool|null + */ + public function getModalidad() + { + return $this->modalidad; + } + + /** + * Set smodalidad. + * + * @param bool|null $smodalidad + * + * @return Menus + */ + public function setSmodalidad($smodalidad = null) + { + $this->smodalidad = $smodalidad; + + return $this; + } + + /** + * Get smodalidad. + * + * @return bool|null + */ + public function getSmodalidad() + { + return $this->smodalidad; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Menus + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set grupoid. + * + * @param int $grupoid + * + * @return Menus + */ + public function setGrupoid($grupoid) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set htmlmenupub. + * + * @param string|null $htmlmenupub + * + * @return Menus + */ + public function setHtmlmenupub($htmlmenupub = null) + { + $this->htmlmenupub = $htmlmenupub; + + return $this; + } + + /** + * Get htmlmenupub. + * + * @return string|null + */ + public function getHtmlmenupub() + { + return $this->htmlmenupub; + } + + /** + * Set htmlmenupri. + * + * @param string|null $htmlmenupri + * + * @return Menus + */ + public function setHtmlmenupri($htmlmenupri = null) + { + $this->htmlmenupri = $htmlmenupri; + + return $this; + } + + /** + * Get htmlmenupri. + * + * @return string|null + */ + public function getHtmlmenupri() + { + return $this->htmlmenupri; + } + + /** + * Set resolucion. + * + * @param string|null $resolucion + * + * @return Menus + */ + public function setResolucion($resolucion = null) + { + $this->resolucion = $resolucion; + + return $this; + } + + /** + * Get resolucion. + * + * @return string|null + */ + public function getResolucion() + { + return $this->resolucion; + } + + /** + * Get idmenu. + * + * @return int + */ + public function getIdmenu() + { + return $this->idmenu; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Nombresos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Nombresos.php new file mode 100644 index 00000000..f6915a31 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Nombresos.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Nombresos + */ +class Nombresos +{ + /** + * @var string + */ + private $nombreso; + + /** + * @var int|null + */ + private $idtiposo = '0'; + + /** + * @var int + */ + private $idnombreso; + + + /** + * Set nombreso. + * + * @param string $nombreso + * + * @return Nombresos + */ + public function setNombreso($nombreso) + { + $this->nombreso = $nombreso; + + return $this; + } + + /** + * Get nombreso. + * + * @return string + */ + public function getNombreso() + { + return $this->nombreso; + } + + /** + * Set idtiposo. + * + * @param int|null $idtiposo + * + * @return Nombresos + */ + public function setIdtiposo($idtiposo = null) + { + $this->idtiposo = $idtiposo; + + return $this; + } + + /** + * Get idtiposo. + * + * @return int|null + */ + public function getIdtiposo() + { + return $this->idtiposo; + } + + /** + * Get idnombreso. + * + * @return int + */ + public function getIdnombreso() + { + return $this->idnombreso; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/OgagentQueue.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/OgagentQueue.php new file mode 100644 index 00000000..d5eb8af3 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/OgagentQueue.php @@ -0,0 +1,112 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * OgagentQueue + */ +class OgagentQueue +{ + /** + * @var int + */ + private $clientid; + + /** + * @var \DateTime|null + */ + private $exectime; + + /** + * @var string|null + */ + private $operation; + + /** + * @var int + */ + private $id; + + + /** + * Set clientid. + * + * @param int $clientid + * + * @return OgagentQueue + */ + public function setClientid($clientid) + { + $this->clientid = $clientid; + + return $this; + } + + /** + * Get clientid. + * + * @return int + */ + public function getClientid() + { + return $this->clientid; + } + + /** + * Set exectime. + * + * @param \DateTime|null $exectime + * + * @return OgagentQueue + */ + public function setExectime($exectime = null) + { + $this->exectime = $exectime; + + return $this; + } + + /** + * Get exectime. + * + * @return \DateTime|null + */ + public function getExectime() + { + return $this->exectime; + } + + /** + * Set operation. + * + * @param string|null $operation + * + * @return OgagentQueue + */ + public function setOperation($operation = null) + { + $this->operation = $operation; + + return $this; + } + + /** + * Get operation. + * + * @return string|null + */ + public function getOperation() + { + return $this->operation; + } + + /** + * Get id. + * + * @return int + */ + public function getId() + { + return $this->id; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Ordenadores.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Ordenadores.php new file mode 100644 index 00000000..ead7418a --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Ordenadores.php @@ -0,0 +1,663 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Ordenadores + */ +class Ordenadores +{ + /** + * @var string|null + */ + private $nombreordenador; + + /** + * @var string|null + */ + private $numserie; + + /** + * @var string + */ + private $ip; + + /** + * @var string|null + */ + private $mac; + + /** + * @var int|null + */ + private $idaula; + + /** + * @var int|null + */ + private $idperfilhard; + + /** + * @var int|null + */ + private $idrepositorio; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var int|null + */ + private $idmenu; + + /** + * @var int|null + */ + private $cache; + + /** + * @var string + */ + private $router; + + /** + * @var string + */ + private $mascara; + + /** + * @var int + */ + private $idproautoexec = '0'; + + /** + * @var string + */ + private $arranque = '00unknown'; + + /** + * @var string|null + */ + private $netiface = 'eth0'; + + /** + * @var string + */ + private $netdriver = 'generic'; + + /** + * @var string + */ + private $fotoord = 'fotoordenador.gif'; + + /** + * @var bool|null + */ + private $validacion = '0'; + + /** + * @var string|null + */ + private $paginalogin; + + /** + * @var string|null + */ + private $paginavalidacion; + + /** + * @var string|null + */ + private $agentkey; + + /** + * @var string + */ + private $oglivedir = 'ogLive'; + + /** + * @var int + */ + private $idordenador; + + + /** + * Set nombreordenador. + * + * @param string|null $nombreordenador + * + * @return Ordenadores + */ + public function setNombreordenador($nombreordenador = null) + { + $this->nombreordenador = $nombreordenador; + + return $this; + } + + /** + * Get nombreordenador. + * + * @return string|null + */ + public function getNombreordenador() + { + return $this->nombreordenador; + } + + /** + * Set numserie. + * + * @param string|null $numserie + * + * @return Ordenadores + */ + public function setNumserie($numserie = null) + { + $this->numserie = $numserie; + + return $this; + } + + /** + * Get numserie. + * + * @return string|null + */ + public function getNumserie() + { + return $this->numserie; + } + + /** + * Set ip. + * + * @param string $ip + * + * @return Ordenadores + */ + public function setIp($ip) + { + $this->ip = $ip; + + return $this; + } + + /** + * Get ip. + * + * @return string + */ + public function getIp() + { + return $this->ip; + } + + /** + * Set mac. + * + * @param string|null $mac + * + * @return Ordenadores + */ + public function setMac($mac = null) + { + $this->mac = $mac; + + return $this; + } + + /** + * Get mac. + * + * @return string|null + */ + public function getMac() + { + return $this->mac; + } + + /** + * Set idaula. + * + * @param int|null $idaula + * + * @return Ordenadores + */ + public function setIdaula($idaula = null) + { + $this->idaula = $idaula; + + return $this; + } + + /** + * Get idaula. + * + * @return int|null + */ + public function getIdaula() + { + return $this->idaula; + } + + /** + * Set idperfilhard. + * + * @param int|null $idperfilhard + * + * @return Ordenadores + */ + public function setIdperfilhard($idperfilhard = null) + { + $this->idperfilhard = $idperfilhard; + + return $this; + } + + /** + * Get idperfilhard. + * + * @return int|null + */ + public function getIdperfilhard() + { + return $this->idperfilhard; + } + + /** + * Set idrepositorio. + * + * @param int|null $idrepositorio + * + * @return Ordenadores + */ + public function setIdrepositorio($idrepositorio = null) + { + $this->idrepositorio = $idrepositorio; + + return $this; + } + + /** + * Get idrepositorio. + * + * @return int|null + */ + public function getIdrepositorio() + { + return $this->idrepositorio; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Ordenadores + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set idmenu. + * + * @param int|null $idmenu + * + * @return Ordenadores + */ + public function setIdmenu($idmenu = null) + { + $this->idmenu = $idmenu; + + return $this; + } + + /** + * Get idmenu. + * + * @return int|null + */ + public function getIdmenu() + { + return $this->idmenu; + } + + /** + * Set cache. + * + * @param int|null $cache + * + * @return Ordenadores + */ + public function setCache($cache = null) + { + $this->cache = $cache; + + return $this; + } + + /** + * Get cache. + * + * @return int|null + */ + public function getCache() + { + return $this->cache; + } + + /** + * Set router. + * + * @param string $router + * + * @return Ordenadores + */ + public function setRouter($router) + { + $this->router = $router; + + return $this; + } + + /** + * Get router. + * + * @return string + */ + public function getRouter() + { + return $this->router; + } + + /** + * Set mascara. + * + * @param string $mascara + * + * @return Ordenadores + */ + public function setMascara($mascara) + { + $this->mascara = $mascara; + + return $this; + } + + /** + * Get mascara. + * + * @return string + */ + public function getMascara() + { + return $this->mascara; + } + + /** + * Set idproautoexec. + * + * @param int $idproautoexec + * + * @return Ordenadores + */ + public function setIdproautoexec($idproautoexec) + { + $this->idproautoexec = $idproautoexec; + + return $this; + } + + /** + * Get idproautoexec. + * + * @return int + */ + public function getIdproautoexec() + { + return $this->idproautoexec; + } + + /** + * Set arranque. + * + * @param string $arranque + * + * @return Ordenadores + */ + public function setArranque($arranque) + { + $this->arranque = $arranque; + + return $this; + } + + /** + * Get arranque. + * + * @return string + */ + public function getArranque() + { + return $this->arranque; + } + + /** + * Set netiface. + * + * @param string|null $netiface + * + * @return Ordenadores + */ + public function setNetiface($netiface = null) + { + $this->netiface = $netiface; + + return $this; + } + + /** + * Get netiface. + * + * @return string|null + */ + public function getNetiface() + { + return $this->netiface; + } + + /** + * Set netdriver. + * + * @param string $netdriver + * + * @return Ordenadores + */ + public function setNetdriver($netdriver) + { + $this->netdriver = $netdriver; + + return $this; + } + + /** + * Get netdriver. + * + * @return string + */ + public function getNetdriver() + { + return $this->netdriver; + } + + /** + * Set fotoord. + * + * @param string $fotoord + * + * @return Ordenadores + */ + public function setFotoord($fotoord) + { + $this->fotoord = $fotoord; + + return $this; + } + + /** + * Get fotoord. + * + * @return string + */ + public function getFotoord() + { + return $this->fotoord; + } + + /** + * Set validacion. + * + * @param bool|null $validacion + * + * @return Ordenadores + */ + public function setValidacion($validacion = null) + { + $this->validacion = $validacion; + + return $this; + } + + /** + * Get validacion. + * + * @return bool|null + */ + public function getValidacion() + { + return $this->validacion; + } + + /** + * Set paginalogin. + * + * @param string|null $paginalogin + * + * @return Ordenadores + */ + public function setPaginalogin($paginalogin = null) + { + $this->paginalogin = $paginalogin; + + return $this; + } + + /** + * Get paginalogin. + * + * @return string|null + */ + public function getPaginalogin() + { + return $this->paginalogin; + } + + /** + * Set paginavalidacion. + * + * @param string|null $paginavalidacion + * + * @return Ordenadores + */ + public function setPaginavalidacion($paginavalidacion = null) + { + $this->paginavalidacion = $paginavalidacion; + + return $this; + } + + /** + * Get paginavalidacion. + * + * @return string|null + */ + public function getPaginavalidacion() + { + return $this->paginavalidacion; + } + + /** + * Set agentkey. + * + * @param string|null $agentkey + * + * @return Ordenadores + */ + public function setAgentkey($agentkey = null) + { + $this->agentkey = $agentkey; + + return $this; + } + + /** + * Get agentkey. + * + * @return string|null + */ + public function getAgentkey() + { + return $this->agentkey; + } + + /** + * Set oglivedir. + * + * @param string $oglivedir + * + * @return Ordenadores + */ + public function setOglivedir($oglivedir) + { + $this->oglivedir = $oglivedir; + + return $this; + } + + /** + * Get oglivedir. + * + * @return string + */ + public function getOglivedir() + { + return $this->oglivedir; + } + + /** + * Get idordenador. + * + * @return int + */ + public function getIdordenador() + { + return $this->idordenador; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/OrdenadoresParticiones.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/OrdenadoresParticiones.php new file mode 100644 index 00000000..f72d4297 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/OrdenadoresParticiones.php @@ -0,0 +1,387 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * OrdenadoresParticiones + */ +class OrdenadoresParticiones +{ + /** + * @var int + */ + private $codpar; + + /** + * @var int + */ + private $tamano; + + /** + * @var int + */ + private $idsistemafichero; + + /** + * @var int + */ + private $idnombreso; + + /** + * @var int + */ + private $idimagen; + + /** + * @var int + */ + private $revision = '0'; + + /** + * @var int + */ + private $idperfilsoft; + + /** + * @var \DateTime|null + */ + private $fechadespliegue; + + /** + * @var string|null + */ + private $cache; + + /** + * @var bool + */ + private $uso = '0'; + + /** + * @var int + */ + private $idordenador; + + /** + * @var int + */ + private $numdisk; + + /** + * @var int + */ + private $numpar; + + + /** + * Set codpar. + * + * @param int $codpar + * + * @return OrdenadoresParticiones + */ + public function setCodpar($codpar) + { + $this->codpar = $codpar; + + return $this; + } + + /** + * Get codpar. + * + * @return int + */ + public function getCodpar() + { + return $this->codpar; + } + + /** + * Set tamano. + * + * @param int $tamano + * + * @return OrdenadoresParticiones + */ + public function setTamano($tamano) + { + $this->tamano = $tamano; + + return $this; + } + + /** + * Get tamano. + * + * @return int + */ + public function getTamano() + { + return $this->tamano; + } + + /** + * Set idsistemafichero. + * + * @param int $idsistemafichero + * + * @return OrdenadoresParticiones + */ + public function setIdsistemafichero($idsistemafichero) + { + $this->idsistemafichero = $idsistemafichero; + + return $this; + } + + /** + * Get idsistemafichero. + * + * @return int + */ + public function getIdsistemafichero() + { + return $this->idsistemafichero; + } + + /** + * Set idnombreso. + * + * @param int $idnombreso + * + * @return OrdenadoresParticiones + */ + public function setIdnombreso($idnombreso) + { + $this->idnombreso = $idnombreso; + + return $this; + } + + /** + * Get idnombreso. + * + * @return int + */ + public function getIdnombreso() + { + return $this->idnombreso; + } + + /** + * Set idimagen. + * + * @param int $idimagen + * + * @return OrdenadoresParticiones + */ + public function setIdimagen($idimagen) + { + $this->idimagen = $idimagen; + + return $this; + } + + /** + * Get idimagen. + * + * @return int + */ + public function getIdimagen() + { + return $this->idimagen; + } + + /** + * Set revision. + * + * @param int $revision + * + * @return OrdenadoresParticiones + */ + public function setRevision($revision) + { + $this->revision = $revision; + + return $this; + } + + /** + * Get revision. + * + * @return int + */ + public function getRevision() + { + return $this->revision; + } + + /** + * Set idperfilsoft. + * + * @param int $idperfilsoft + * + * @return OrdenadoresParticiones + */ + public function setIdperfilsoft($idperfilsoft) + { + $this->idperfilsoft = $idperfilsoft; + + return $this; + } + + /** + * Get idperfilsoft. + * + * @return int + */ + public function getIdperfilsoft() + { + return $this->idperfilsoft; + } + + /** + * Set fechadespliegue. + * + * @param \DateTime|null $fechadespliegue + * + * @return OrdenadoresParticiones + */ + public function setFechadespliegue($fechadespliegue = null) + { + $this->fechadespliegue = $fechadespliegue; + + return $this; + } + + /** + * Get fechadespliegue. + * + * @return \DateTime|null + */ + public function getFechadespliegue() + { + return $this->fechadespliegue; + } + + /** + * Set cache. + * + * @param string|null $cache + * + * @return OrdenadoresParticiones + */ + public function setCache($cache = null) + { + $this->cache = $cache; + + return $this; + } + + /** + * Get cache. + * + * @return string|null + */ + public function getCache() + { + return $this->cache; + } + + /** + * Set uso. + * + * @param bool $uso + * + * @return OrdenadoresParticiones + */ + public function setUso($uso) + { + $this->uso = $uso; + + return $this; + } + + /** + * Get uso. + * + * @return bool + */ + public function getUso() + { + return $this->uso; + } + + /** + * Set idordenador. + * + * @param int $idordenador + * + * @return OrdenadoresParticiones + */ + public function setIdordenador($idordenador) + { + $this->idordenador = $idordenador; + + return $this; + } + + /** + * Get idordenador. + * + * @return int + */ + public function getIdordenador() + { + return $this->idordenador; + } + + /** + * Set numdisk. + * + * @param int $numdisk + * + * @return OrdenadoresParticiones + */ + public function setNumdisk($numdisk) + { + $this->numdisk = $numdisk; + + return $this; + } + + /** + * Get numdisk. + * + * @return int + */ + public function getNumdisk() + { + return $this->numdisk; + } + + /** + * Set numpar. + * + * @param int $numpar + * + * @return OrdenadoresParticiones + */ + public function setNumpar($numpar) + { + $this->numpar = $numpar; + + return $this; + } + + /** + * Get numpar. + * + * @return int + */ + public function getNumpar() + { + return $this->numpar; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Parametros.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Parametros.php new file mode 100644 index 00000000..b86f724c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Parametros.php @@ -0,0 +1,228 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Parametros + */ +class Parametros +{ + /** + * @var string + */ + private $nemonico; + + /** + * @var string|null + */ + private $descripcion; + + /** + * @var string + */ + private $nomidentificador; + + /** + * @var string + */ + private $nomtabla; + + /** + * @var string + */ + private $nomliteral; + + /** + * @var bool|null + */ + private $tipopa = '0'; + + /** + * @var bool + */ + private $visual = '0'; + + /** + * @var int + */ + private $idparametro; + + + /** + * Set nemonico. + * + * @param string $nemonico + * + * @return Parametros + */ + public function setNemonico($nemonico) + { + $this->nemonico = $nemonico; + + return $this; + } + + /** + * Get nemonico. + * + * @return string + */ + public function getNemonico() + { + return $this->nemonico; + } + + /** + * Set descripcion. + * + * @param string|null $descripcion + * + * @return Parametros + */ + public function setDescripcion($descripcion = null) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string|null + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set nomidentificador. + * + * @param string $nomidentificador + * + * @return Parametros + */ + public function setNomidentificador($nomidentificador) + { + $this->nomidentificador = $nomidentificador; + + return $this; + } + + /** + * Get nomidentificador. + * + * @return string + */ + public function getNomidentificador() + { + return $this->nomidentificador; + } + + /** + * Set nomtabla. + * + * @param string $nomtabla + * + * @return Parametros + */ + public function setNomtabla($nomtabla) + { + $this->nomtabla = $nomtabla; + + return $this; + } + + /** + * Get nomtabla. + * + * @return string + */ + public function getNomtabla() + { + return $this->nomtabla; + } + + /** + * Set nomliteral. + * + * @param string $nomliteral + * + * @return Parametros + */ + public function setNomliteral($nomliteral) + { + $this->nomliteral = $nomliteral; + + return $this; + } + + /** + * Get nomliteral. + * + * @return string + */ + public function getNomliteral() + { + return $this->nomliteral; + } + + /** + * Set tipopa. + * + * @param bool|null $tipopa + * + * @return Parametros + */ + public function setTipopa($tipopa = null) + { + $this->tipopa = $tipopa; + + return $this; + } + + /** + * Get tipopa. + * + * @return bool|null + */ + public function getTipopa() + { + return $this->tipopa; + } + + /** + * Set visual. + * + * @param bool $visual + * + * @return Parametros + */ + public function setVisual($visual) + { + $this->visual = $visual; + + return $this; + } + + /** + * Get visual. + * + * @return bool + */ + public function getVisual() + { + return $this->visual; + } + + /** + * Get idparametro. + * + * @return int + */ + public function getIdparametro() + { + return $this->idparametro; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Perfileshard.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Perfileshard.php new file mode 100644 index 00000000..90b1f218 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Perfileshard.php @@ -0,0 +1,170 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Perfileshard + */ +class Perfileshard +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var int + */ + private $idcentro; + + /** + * @var string + */ + private $winboot = 'reboot'; + + /** + * @var int + */ + private $idperfilhard; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Perfileshard + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Perfileshard + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Perfileshard + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Perfileshard + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set winboot. + * + * @param string $winboot + * + * @return Perfileshard + */ + public function setWinboot($winboot) + { + $this->winboot = $winboot; + + return $this; + } + + /** + * Get winboot. + * + * @return string + */ + public function getWinboot() + { + return $this->winboot; + } + + /** + * Get idperfilhard. + * + * @return int + */ + public function getIdperfilhard() + { + return $this->idperfilhard; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Perfilessoft.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Perfilessoft.php new file mode 100644 index 00000000..e1e4d74c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Perfilessoft.php @@ -0,0 +1,170 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Perfilessoft + */ +class Perfilessoft +{ + /** + * @var int|null + */ + private $idnombreso; + + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var int + */ + private $idcentro; + + /** + * @var int + */ + private $idperfilsoft; + + + /** + * Set idnombreso. + * + * @param int|null $idnombreso + * + * @return Perfilessoft + */ + public function setIdnombreso($idnombreso = null) + { + $this->idnombreso = $idnombreso; + + return $this; + } + + /** + * Get idnombreso. + * + * @return int|null + */ + public function getIdnombreso() + { + return $this->idnombreso; + } + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Perfilessoft + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Perfilessoft + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Perfilessoft + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Perfilessoft + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Get idperfilsoft. + * + * @return int + */ + public function getIdperfilsoft() + { + return $this->idperfilsoft; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Plataformas.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Plataformas.php new file mode 100644 index 00000000..f4c242ed --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Plataformas.php @@ -0,0 +1,54 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Plataformas + */ +class Plataformas +{ + /** + * @var string + */ + private $plataforma; + + /** + * @var int + */ + private $idplataforma; + + + /** + * Set plataforma. + * + * @param string $plataforma + * + * @return Plataformas + */ + public function setPlataforma($plataforma) + { + $this->plataforma = $plataforma; + + return $this; + } + + /** + * Get plataforma. + * + * @return string + */ + public function getPlataforma() + { + return $this->plataforma; + } + + /** + * Get idplataforma. + * + * @return int + */ + public function getIdplataforma() + { + return $this->idplataforma; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Procedimientos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Procedimientos.php new file mode 100644 index 00000000..b6b67401 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Procedimientos.php @@ -0,0 +1,170 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Procedimientos + */ +class Procedimientos +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string|null + */ + private $urlimg; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $grupoid = '0'; + + /** + * @var int + */ + private $idprocedimiento; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Procedimientos + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set urlimg. + * + * @param string|null $urlimg + * + * @return Procedimientos + */ + public function setUrlimg($urlimg = null) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string|null + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Procedimientos + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Procedimientos + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Procedimientos + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Get idprocedimiento. + * + * @return int + */ + public function getIdprocedimiento() + { + return $this->idprocedimiento; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/ProcedimientosAcciones.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/ProcedimientosAcciones.php new file mode 100644 index 00000000..cb1c95d7 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/ProcedimientosAcciones.php @@ -0,0 +1,170 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * ProcedimientosAcciones + */ +class ProcedimientosAcciones +{ + /** + * @var int + */ + private $idprocedimiento = '0'; + + /** + * @var int|null + */ + private $orden; + + /** + * @var int + */ + private $idcomando = '0'; + + /** + * @var string|null + */ + private $parametros; + + /** + * @var int + */ + private $procedimientoid; + + /** + * @var int + */ + private $idprocedimientoaccion; + + + /** + * Set idprocedimiento. + * + * @param int $idprocedimiento + * + * @return ProcedimientosAcciones + */ + public function setIdprocedimiento($idprocedimiento) + { + $this->idprocedimiento = $idprocedimiento; + + return $this; + } + + /** + * Get idprocedimiento. + * + * @return int + */ + public function getIdprocedimiento() + { + return $this->idprocedimiento; + } + + /** + * Set orden. + * + * @param int|null $orden + * + * @return ProcedimientosAcciones + */ + public function setOrden($orden = null) + { + $this->orden = $orden; + + return $this; + } + + /** + * Get orden. + * + * @return int|null + */ + public function getOrden() + { + return $this->orden; + } + + /** + * Set idcomando. + * + * @param int $idcomando + * + * @return ProcedimientosAcciones + */ + public function setIdcomando($idcomando) + { + $this->idcomando = $idcomando; + + return $this; + } + + /** + * Get idcomando. + * + * @return int + */ + public function getIdcomando() + { + return $this->idcomando; + } + + /** + * Set parametros. + * + * @param string|null $parametros + * + * @return ProcedimientosAcciones + */ + public function setParametros($parametros = null) + { + $this->parametros = $parametros; + + return $this; + } + + /** + * Get parametros. + * + * @return string|null + */ + public function getParametros() + { + return $this->parametros; + } + + /** + * Set procedimientoid. + * + * @param int $procedimientoid + * + * @return ProcedimientosAcciones + */ + public function setProcedimientoid($procedimientoid) + { + $this->procedimientoid = $procedimientoid; + + return $this; + } + + /** + * Get procedimientoid. + * + * @return int + */ + public function getProcedimientoid() + { + return $this->procedimientoid; + } + + /** + * Get idprocedimientoaccion. + * + * @return int + */ + public function getIdprocedimientoaccion() + { + return $this->idprocedimientoaccion; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Programaciones.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Programaciones.php new file mode 100644 index 00000000..479fad43 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Programaciones.php @@ -0,0 +1,605 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Programaciones + */ +class Programaciones +{ + /** + * @var int|null + */ + private $tipoaccion; + + /** + * @var int|null + */ + private $identificador; + + /** + * @var string|null + */ + private $nombrebloque; + + /** + * @var int|null + */ + private $annos; + + /** + * @var int|null + */ + private $meses; + + /** + * @var int|null + */ + private $diario; + + /** + * @var bool|null + */ + private $dias; + + /** + * @var bool|null + */ + private $semanas; + + /** + * @var int|null + */ + private $horas; + + /** + * @var bool|null + */ + private $ampm; + + /** + * @var bool|null + */ + private $minutos; + + /** + * @var bool|null + */ + private $segundos; + + /** + * @var int|null + */ + private $horasini; + + /** + * @var bool|null + */ + private $ampmini; + + /** + * @var bool|null + */ + private $minutosini; + + /** + * @var int|null + */ + private $horasfin; + + /** + * @var bool|null + */ + private $ampmfin; + + /** + * @var bool|null + */ + private $minutosfin; + + /** + * @var bool|null + */ + private $suspendida; + + /** + * @var int + */ + private $sesion; + + /** + * @var int + */ + private $idprogramacion; + + + /** + * Set tipoaccion. + * + * @param int|null $tipoaccion + * + * @return Programaciones + */ + public function setTipoaccion($tipoaccion = null) + { + $this->tipoaccion = $tipoaccion; + + return $this; + } + + /** + * Get tipoaccion. + * + * @return int|null + */ + public function getTipoaccion() + { + return $this->tipoaccion; + } + + /** + * Set identificador. + * + * @param int|null $identificador + * + * @return Programaciones + */ + public function setIdentificador($identificador = null) + { + $this->identificador = $identificador; + + return $this; + } + + /** + * Get identificador. + * + * @return int|null + */ + public function getIdentificador() + { + return $this->identificador; + } + + /** + * Set nombrebloque. + * + * @param string|null $nombrebloque + * + * @return Programaciones + */ + public function setNombrebloque($nombrebloque = null) + { + $this->nombrebloque = $nombrebloque; + + return $this; + } + + /** + * Get nombrebloque. + * + * @return string|null + */ + public function getNombrebloque() + { + return $this->nombrebloque; + } + + /** + * Set annos. + * + * @param int|null $annos + * + * @return Programaciones + */ + public function setAnnos($annos = null) + { + $this->annos = $annos; + + return $this; + } + + /** + * Get annos. + * + * @return int|null + */ + public function getAnnos() + { + return $this->annos; + } + + /** + * Set meses. + * + * @param int|null $meses + * + * @return Programaciones + */ + public function setMeses($meses = null) + { + $this->meses = $meses; + + return $this; + } + + /** + * Get meses. + * + * @return int|null + */ + public function getMeses() + { + return $this->meses; + } + + /** + * Set diario. + * + * @param int|null $diario + * + * @return Programaciones + */ + public function setDiario($diario = null) + { + $this->diario = $diario; + + return $this; + } + + /** + * Get diario. + * + * @return int|null + */ + public function getDiario() + { + return $this->diario; + } + + /** + * Set dias. + * + * @param bool|null $dias + * + * @return Programaciones + */ + public function setDias($dias = null) + { + $this->dias = $dias; + + return $this; + } + + /** + * Get dias. + * + * @return bool|null + */ + public function getDias() + { + return $this->dias; + } + + /** + * Set semanas. + * + * @param bool|null $semanas + * + * @return Programaciones + */ + public function setSemanas($semanas = null) + { + $this->semanas = $semanas; + + return $this; + } + + /** + * Get semanas. + * + * @return bool|null + */ + public function getSemanas() + { + return $this->semanas; + } + + /** + * Set horas. + * + * @param int|null $horas + * + * @return Programaciones + */ + public function setHoras($horas = null) + { + $this->horas = $horas; + + return $this; + } + + /** + * Get horas. + * + * @return int|null + */ + public function getHoras() + { + return $this->horas; + } + + /** + * Set ampm. + * + * @param bool|null $ampm + * + * @return Programaciones + */ + public function setAmpm($ampm = null) + { + $this->ampm = $ampm; + + return $this; + } + + /** + * Get ampm. + * + * @return bool|null + */ + public function getAmpm() + { + return $this->ampm; + } + + /** + * Set minutos. + * + * @param bool|null $minutos + * + * @return Programaciones + */ + public function setMinutos($minutos = null) + { + $this->minutos = $minutos; + + return $this; + } + + /** + * Get minutos. + * + * @return bool|null + */ + public function getMinutos() + { + return $this->minutos; + } + + /** + * Set segundos. + * + * @param bool|null $segundos + * + * @return Programaciones + */ + public function setSegundos($segundos = null) + { + $this->segundos = $segundos; + + return $this; + } + + /** + * Get segundos. + * + * @return bool|null + */ + public function getSegundos() + { + return $this->segundos; + } + + /** + * Set horasini. + * + * @param int|null $horasini + * + * @return Programaciones + */ + public function setHorasini($horasini = null) + { + $this->horasini = $horasini; + + return $this; + } + + /** + * Get horasini. + * + * @return int|null + */ + public function getHorasini() + { + return $this->horasini; + } + + /** + * Set ampmini. + * + * @param bool|null $ampmini + * + * @return Programaciones + */ + public function setAmpmini($ampmini = null) + { + $this->ampmini = $ampmini; + + return $this; + } + + /** + * Get ampmini. + * + * @return bool|null + */ + public function getAmpmini() + { + return $this->ampmini; + } + + /** + * Set minutosini. + * + * @param bool|null $minutosini + * + * @return Programaciones + */ + public function setMinutosini($minutosini = null) + { + $this->minutosini = $minutosini; + + return $this; + } + + /** + * Get minutosini. + * + * @return bool|null + */ + public function getMinutosini() + { + return $this->minutosini; + } + + /** + * Set horasfin. + * + * @param int|null $horasfin + * + * @return Programaciones + */ + public function setHorasfin($horasfin = null) + { + $this->horasfin = $horasfin; + + return $this; + } + + /** + * Get horasfin. + * + * @return int|null + */ + public function getHorasfin() + { + return $this->horasfin; + } + + /** + * Set ampmfin. + * + * @param bool|null $ampmfin + * + * @return Programaciones + */ + public function setAmpmfin($ampmfin = null) + { + $this->ampmfin = $ampmfin; + + return $this; + } + + /** + * Get ampmfin. + * + * @return bool|null + */ + public function getAmpmfin() + { + return $this->ampmfin; + } + + /** + * Set minutosfin. + * + * @param bool|null $minutosfin + * + * @return Programaciones + */ + public function setMinutosfin($minutosfin = null) + { + $this->minutosfin = $minutosfin; + + return $this; + } + + /** + * Get minutosfin. + * + * @return bool|null + */ + public function getMinutosfin() + { + return $this->minutosfin; + } + + /** + * Set suspendida. + * + * @param bool|null $suspendida + * + * @return Programaciones + */ + public function setSuspendida($suspendida = null) + { + $this->suspendida = $suspendida; + + return $this; + } + + /** + * Get suspendida. + * + * @return bool|null + */ + public function getSuspendida() + { + return $this->suspendida; + } + + /** + * Set sesion. + * + * @param int $sesion + * + * @return Programaciones + */ + public function setSesion($sesion) + { + $this->sesion = $sesion; + + return $this; + } + + /** + * Get sesion. + * + * @return int + */ + public function getSesion() + { + return $this->sesion; + } + + /** + * Get idprogramacion. + * + * @return int + */ + public function getIdprogramacion() + { + return $this->idprogramacion; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Remotepc.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Remotepc.php new file mode 100644 index 00000000..b1208b7b --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Remotepc.php @@ -0,0 +1,112 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Remotepc + */ +class Remotepc +{ + /** + * @var \DateTime|null + */ + private $reserved; + + /** + * @var string|null + */ + private $urllogin; + + /** + * @var string|null + */ + private $urllogout; + + /** + * @var int + */ + private $id; + + + /** + * Set reserved. + * + * @param \DateTime|null $reserved + * + * @return Remotepc + */ + public function setReserved($reserved = null) + { + $this->reserved = $reserved; + + return $this; + } + + /** + * Get reserved. + * + * @return \DateTime|null + */ + public function getReserved() + { + return $this->reserved; + } + + /** + * Set urllogin. + * + * @param string|null $urllogin + * + * @return Remotepc + */ + public function setUrllogin($urllogin = null) + { + $this->urllogin = $urllogin; + + return $this; + } + + /** + * Get urllogin. + * + * @return string|null + */ + public function getUrllogin() + { + return $this->urllogin; + } + + /** + * Set urllogout. + * + * @param string|null $urllogout + * + * @return Remotepc + */ + public function setUrllogout($urllogout = null) + { + $this->urllogout = $urllogout; + + return $this; + } + + /** + * Get urllogout. + * + * @return string|null + */ + public function getUrllogout() + { + return $this->urllogout; + } + + /** + * Get id. + * + * @return int + */ + public function getId() + { + return $this->id; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Repositorios.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Repositorios.php new file mode 100644 index 00000000..bb0082f5 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Repositorios.php @@ -0,0 +1,257 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Repositorios + */ +class Repositorios +{ + /** + * @var string + */ + private $nombrerepositorio; + + /** + * @var string + */ + private $ip = ''; + + /** + * @var string + */ + private $passguor = ''; + + /** + * @var int|null + */ + private $idcentro; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int + */ + private $puertorepo; + + /** + * @var string + */ + private $apikey = ''; + + /** + * @var int + */ + private $idrepositorio; + + + /** + * Set nombrerepositorio. + * + * @param string $nombrerepositorio + * + * @return Repositorios + */ + public function setNombrerepositorio($nombrerepositorio) + { + $this->nombrerepositorio = $nombrerepositorio; + + return $this; + } + + /** + * Get nombrerepositorio. + * + * @return string + */ + public function getNombrerepositorio() + { + return $this->nombrerepositorio; + } + + /** + * Set ip. + * + * @param string $ip + * + * @return Repositorios + */ + public function setIp($ip) + { + $this->ip = $ip; + + return $this; + } + + /** + * Get ip. + * + * @return string + */ + public function getIp() + { + return $this->ip; + } + + /** + * Set passguor. + * + * @param string $passguor + * + * @return Repositorios + */ + public function setPassguor($passguor) + { + $this->passguor = $passguor; + + return $this; + } + + /** + * Get passguor. + * + * @return string + */ + public function getPassguor() + { + return $this->passguor; + } + + /** + * Set idcentro. + * + * @param int|null $idcentro + * + * @return Repositorios + */ + public function setIdcentro($idcentro = null) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int|null + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Repositorios + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Repositorios + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set puertorepo. + * + * @param int $puertorepo + * + * @return Repositorios + */ + public function setPuertorepo($puertorepo) + { + $this->puertorepo = $puertorepo; + + return $this; + } + + /** + * Get puertorepo. + * + * @return int + */ + public function getPuertorepo() + { + return $this->puertorepo; + } + + /** + * Set apikey. + * + * @param string $apikey + * + * @return Repositorios + */ + public function setApikey($apikey) + { + $this->apikey = $apikey; + + return $this; + } + + /** + * Get apikey. + * + * @return string + */ + public function getApikey() + { + return $this->apikey; + } + + /** + * Get idrepositorio. + * + * @return int + */ + public function getIdrepositorio() + { + return $this->idrepositorio; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Sistemasficheros.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Sistemasficheros.php new file mode 100644 index 00000000..15f167e6 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Sistemasficheros.php @@ -0,0 +1,112 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Sistemasficheros + */ +class Sistemasficheros +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string|null + */ + private $nemonico; + + /** + * @var int + */ + private $codpar; + + /** + * @var int + */ + private $idsistemafichero; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Sistemasficheros + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set nemonico. + * + * @param string|null $nemonico + * + * @return Sistemasficheros + */ + public function setNemonico($nemonico = null) + { + $this->nemonico = $nemonico; + + return $this; + } + + /** + * Get nemonico. + * + * @return string|null + */ + public function getNemonico() + { + return $this->nemonico; + } + + /** + * Set codpar. + * + * @param int $codpar + * + * @return Sistemasficheros + */ + public function setCodpar($codpar) + { + $this->codpar = $codpar; + + return $this; + } + + /** + * Get codpar. + * + * @return int + */ + public function getCodpar() + { + return $this->codpar; + } + + /** + * Get idsistemafichero. + * + * @return int + */ + public function getIdsistemafichero() + { + return $this->idsistemafichero; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Softwares.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Softwares.php new file mode 100644 index 00000000..002c3c53 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Softwares.php @@ -0,0 +1,199 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Softwares + */ +class Softwares +{ + /** + * @var int + */ + private $idtiposoftware = '0'; + + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var string|null + */ + private $urlimg; + + /** + * @var int|null + */ + private $idtiposo; + + /** + * @var int|null + */ + private $grupoid; + + /** + * @var int + */ + private $idsoftware; + + + /** + * Set idtiposoftware. + * + * @param int $idtiposoftware + * + * @return Softwares + */ + public function setIdtiposoftware($idtiposoftware) + { + $this->idtiposoftware = $idtiposoftware; + + return $this; + } + + /** + * Get idtiposoftware. + * + * @return int + */ + public function getIdtiposoftware() + { + return $this->idtiposoftware; + } + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Softwares + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Softwares + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set urlimg. + * + * @param string|null $urlimg + * + * @return Softwares + */ + public function setUrlimg($urlimg = null) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string|null + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Set idtiposo. + * + * @param int|null $idtiposo + * + * @return Softwares + */ + public function setIdtiposo($idtiposo = null) + { + $this->idtiposo = $idtiposo; + + return $this; + } + + /** + * Get idtiposo. + * + * @return int|null + */ + public function getIdtiposo() + { + return $this->idtiposo; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Softwares + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Get idsoftware. + * + * @return int + */ + public function getIdsoftware() + { + return $this->idsoftware; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tareas.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tareas.php new file mode 100644 index 00000000..c7e2b1b8 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tareas.php @@ -0,0 +1,257 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Tareas + */ +class Tareas +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string|null + */ + private $urlimg; + + /** + * @var int + */ + private $idcentro = '0'; + + /** + * @var int + */ + private $ambito = '0'; + + /** + * @var int + */ + private $idambito = '0'; + + /** + * @var string|null + */ + private $restrambito; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int|null + */ + private $grupoid = '0'; + + /** + * @var int + */ + private $idtarea; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Tareas + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set urlimg. + * + * @param string|null $urlimg + * + * @return Tareas + */ + public function setUrlimg($urlimg = null) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string|null + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Set idcentro. + * + * @param int $idcentro + * + * @return Tareas + */ + public function setIdcentro($idcentro) + { + $this->idcentro = $idcentro; + + return $this; + } + + /** + * Get idcentro. + * + * @return int + */ + public function getIdcentro() + { + return $this->idcentro; + } + + /** + * Set ambito. + * + * @param int $ambito + * + * @return Tareas + */ + public function setAmbito($ambito) + { + $this->ambito = $ambito; + + return $this; + } + + /** + * Get ambito. + * + * @return int + */ + public function getAmbito() + { + return $this->ambito; + } + + /** + * Set idambito. + * + * @param int $idambito + * + * @return Tareas + */ + public function setIdambito($idambito) + { + $this->idambito = $idambito; + + return $this; + } + + /** + * Get idambito. + * + * @return int + */ + public function getIdambito() + { + return $this->idambito; + } + + /** + * Set restrambito. + * + * @param string|null $restrambito + * + * @return Tareas + */ + public function setRestrambito($restrambito = null) + { + $this->restrambito = $restrambito; + + return $this; + } + + /** + * Get restrambito. + * + * @return string|null + */ + public function getRestrambito() + { + return $this->restrambito; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Tareas + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Set grupoid. + * + * @param int|null $grupoid + * + * @return Tareas + */ + public function setGrupoid($grupoid = null) + { + $this->grupoid = $grupoid; + + return $this; + } + + /** + * Get grupoid. + * + * @return int|null + */ + public function getGrupoid() + { + return $this->grupoid; + } + + /** + * Get idtarea. + * + * @return int + */ + public function getIdtarea() + { + return $this->idtarea; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/TareasAcciones.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/TareasAcciones.php new file mode 100644 index 00000000..0a71a905 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/TareasAcciones.php @@ -0,0 +1,141 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * TareasAcciones + */ +class TareasAcciones +{ + /** + * @var int + */ + private $idtarea = '0'; + + /** + * @var int + */ + private $orden = '0'; + + /** + * @var int + */ + private $idprocedimiento = '0'; + + /** + * @var int|null + */ + private $tareaid = '0'; + + /** + * @var int + */ + private $idtareaaccion; + + + /** + * Set idtarea. + * + * @param int $idtarea + * + * @return TareasAcciones + */ + public function setIdtarea($idtarea) + { + $this->idtarea = $idtarea; + + return $this; + } + + /** + * Get idtarea. + * + * @return int + */ + public function getIdtarea() + { + return $this->idtarea; + } + + /** + * Set orden. + * + * @param int $orden + * + * @return TareasAcciones + */ + public function setOrden($orden) + { + $this->orden = $orden; + + return $this; + } + + /** + * Get orden. + * + * @return int + */ + public function getOrden() + { + return $this->orden; + } + + /** + * Set idprocedimiento. + * + * @param int $idprocedimiento + * + * @return TareasAcciones + */ + public function setIdprocedimiento($idprocedimiento) + { + $this->idprocedimiento = $idprocedimiento; + + return $this; + } + + /** + * Get idprocedimiento. + * + * @return int + */ + public function getIdprocedimiento() + { + return $this->idprocedimiento; + } + + /** + * Set tareaid. + * + * @param int|null $tareaid + * + * @return TareasAcciones + */ + public function setTareaid($tareaid = null) + { + $this->tareaid = $tareaid; + + return $this; + } + + /** + * Get tareaid. + * + * @return int|null + */ + public function getTareaid() + { + return $this->tareaid; + } + + /** + * Get idtareaaccion. + * + * @return int + */ + public function getIdtareaaccion() + { + return $this->idtareaaccion; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tipohardwares.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tipohardwares.php new file mode 100644 index 00000000..af459b14 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tipohardwares.php @@ -0,0 +1,112 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Tipohardwares + */ +class Tipohardwares +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string + */ + private $urlimg = ''; + + /** + * @var string + */ + private $nemonico; + + /** + * @var int + */ + private $idtipohardware; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Tipohardwares + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set urlimg. + * + * @param string $urlimg + * + * @return Tipohardwares + */ + public function setUrlimg($urlimg) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Set nemonico. + * + * @param string $nemonico + * + * @return Tipohardwares + */ + public function setNemonico($nemonico) + { + $this->nemonico = $nemonico; + + return $this; + } + + /** + * Get nemonico. + * + * @return string + */ + public function getNemonico() + { + return $this->nemonico; + } + + /** + * Get idtipohardware. + * + * @return int + */ + public function getIdtipohardware() + { + return $this->idtipohardware; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tiposoftwares.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tiposoftwares.php new file mode 100644 index 00000000..8e6ba27d --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tiposoftwares.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Tiposoftwares + */ +class Tiposoftwares +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var string + */ + private $urlimg = ''; + + /** + * @var int + */ + private $idtiposoftware; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Tiposoftwares + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Set urlimg. + * + * @param string $urlimg + * + * @return Tiposoftwares + */ + public function setUrlimg($urlimg) + { + $this->urlimg = $urlimg; + + return $this; + } + + /** + * Get urlimg. + * + * @return string + */ + public function getUrlimg() + { + return $this->urlimg; + } + + /** + * Get idtiposoftware. + * + * @return int + */ + public function getIdtiposoftware() + { + return $this->idtiposoftware; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tiposos.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tiposos.php new file mode 100644 index 00000000..6b19d741 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tiposos.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Tiposos + */ +class Tiposos +{ + /** + * @var string + */ + private $tiposo; + + /** + * @var int + */ + private $idplataforma; + + /** + * @var int + */ + private $idtiposo; + + + /** + * Set tiposo. + * + * @param string $tiposo + * + * @return Tiposos + */ + public function setTiposo($tiposo) + { + $this->tiposo = $tiposo; + + return $this; + } + + /** + * Get tiposo. + * + * @return string + */ + public function getTiposo() + { + return $this->tiposo; + } + + /** + * Set idplataforma. + * + * @param int $idplataforma + * + * @return Tiposos + */ + public function setIdplataforma($idplataforma) + { + $this->idplataforma = $idplataforma; + + return $this; + } + + /** + * Get idplataforma. + * + * @return int + */ + public function getIdplataforma() + { + return $this->idplataforma; + } + + /** + * Get idtiposo. + * + * @return int + */ + public function getIdtiposo() + { + return $this->idtiposo; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tipospar.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tipospar.php new file mode 100644 index 00000000..489fc50c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Tipospar.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Tipospar + */ +class Tipospar +{ + /** + * @var string + */ + private $tipopar; + + /** + * @var bool + */ + private $clonable; + + /** + * @var int + */ + private $codpar; + + + /** + * Set tipopar. + * + * @param string $tipopar + * + * @return Tipospar + */ + public function setTipopar($tipopar) + { + $this->tipopar = $tipopar; + + return $this; + } + + /** + * Get tipopar. + * + * @return string + */ + public function getTipopar() + { + return $this->tipopar; + } + + /** + * Set clonable. + * + * @param bool $clonable + * + * @return Tipospar + */ + public function setClonable($clonable) + { + $this->clonable = $clonable; + + return $this; + } + + /** + * Get clonable. + * + * @return bool + */ + public function getClonable() + { + return $this->clonable; + } + + /** + * Get codpar. + * + * @return int + */ + public function getCodpar() + { + return $this->codpar; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Universidades.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Universidades.php new file mode 100644 index 00000000..fb42eb2b --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Universidades.php @@ -0,0 +1,83 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Universidades + */ +class Universidades +{ + /** + * @var string + */ + private $nombreuniversidad = ''; + + /** + * @var string|null + */ + private $comentarios; + + /** + * @var int + */ + private $iduniversidad; + + + /** + * Set nombreuniversidad. + * + * @param string $nombreuniversidad + * + * @return Universidades + */ + public function setNombreuniversidad($nombreuniversidad) + { + $this->nombreuniversidad = $nombreuniversidad; + + return $this; + } + + /** + * Get nombreuniversidad. + * + * @return string + */ + public function getNombreuniversidad() + { + return $this->nombreuniversidad; + } + + /** + * Set comentarios. + * + * @param string|null $comentarios + * + * @return Universidades + */ + public function setComentarios($comentarios = null) + { + $this->comentarios = $comentarios; + + return $this; + } + + /** + * Get comentarios. + * + * @return string|null + */ + public function getComentarios() + { + return $this->comentarios; + } + + /** + * Get iduniversidad. + * + * @return int + */ + public function getIduniversidad() + { + return $this->iduniversidad; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Urlimagesitems.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Urlimagesitems.php new file mode 100644 index 00000000..3cb6bc4e --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Urlimagesitems.php @@ -0,0 +1,54 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Urlimagesitems + */ +class Urlimagesitems +{ + /** + * @var string + */ + private $descripcion = ''; + + /** + * @var int + */ + private $idurlimagesitems; + + + /** + * Set descripcion. + * + * @param string $descripcion + * + * @return Urlimagesitems + */ + public function setDescripcion($descripcion) + { + $this->descripcion = $descripcion; + + return $this; + } + + /** + * Get descripcion. + * + * @return string + */ + public function getDescripcion() + { + return $this->descripcion; + } + + /** + * Get idurlimagesitems. + * + * @return int + */ + public function getIdurlimagesitems() + { + return $this->idurlimagesitems; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Usuarios.php b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Usuarios.php new file mode 100644 index 00000000..c64c260c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Entity/Usuarios.php @@ -0,0 +1,228 @@ +<?php + +namespace Opengnsys\MigrationBundle\Entity; + +/** + * Usuarios + */ +class Usuarios +{ + /** + * @var string + */ + private $usuario = ''; + + /** + * @var string + */ + private $pasguor = ''; + + /** + * @var string|null + */ + private $nombre; + + /** + * @var string|null + */ + private $email; + + /** + * @var int|null + */ + private $ididioma; + + /** + * @var bool|null + */ + private $idtipousuario; + + /** + * @var string + */ + private $apikey = ''; + + /** + * @var int + */ + private $idusuario; + + + /** + * Set usuario. + * + * @param string $usuario + * + * @return Usuarios + */ + public function setUsuario($usuario) + { + $this->usuario = $usuario; + + return $this; + } + + /** + * Get usuario. + * + * @return string + */ + public function getUsuario() + { + return $this->usuario; + } + + /** + * Set pasguor. + * + * @param string $pasguor + * + * @return Usuarios + */ + public function setPasguor($pasguor) + { + $this->pasguor = $pasguor; + + return $this; + } + + /** + * Get pasguor. + * + * @return string + */ + public function getPasguor() + { + return $this->pasguor; + } + + /** + * Set nombre. + * + * @param string|null $nombre + * + * @return Usuarios + */ + public function setNombre($nombre = null) + { + $this->nombre = $nombre; + + return $this; + } + + /** + * Get nombre. + * + * @return string|null + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Set email. + * + * @param string|null $email + * + * @return Usuarios + */ + public function setEmail($email = null) + { + $this->email = $email; + + return $this; + } + + /** + * Get email. + * + * @return string|null + */ + public function getEmail() + { + return $this->email; + } + + /** + * Set ididioma. + * + * @param int|null $ididioma + * + * @return Usuarios + */ + public function setIdidioma($ididioma = null) + { + $this->ididioma = $ididioma; + + return $this; + } + + /** + * Get ididioma. + * + * @return int|null + */ + public function getIdidioma() + { + return $this->ididioma; + } + + /** + * Set idtipousuario. + * + * @param bool|null $idtipousuario + * + * @return Usuarios + */ + public function setIdtipousuario($idtipousuario = null) + { + $this->idtipousuario = $idtipousuario; + + return $this; + } + + /** + * Get idtipousuario. + * + * @return bool|null + */ + public function getIdtipousuario() + { + return $this->idtipousuario; + } + + /** + * Set apikey. + * + * @param string $apikey + * + * @return Usuarios + */ + public function setApikey($apikey) + { + $this->apikey = $apikey; + + return $this; + } + + /** + * Get apikey. + * + * @return string + */ + public function getApikey() + { + return $this->apikey; + } + + /** + * Get idusuario. + * + * @return int + */ + public function getIdusuario() + { + return $this->idusuario; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Acciones.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Acciones.orm.xml new file mode 100644 index 00000000..9b726aa7 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Acciones.orm.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Acciones" table="acciones"> + <indexes> + <index name="idprocedimiento" columns="idprocedimiento"/> + <index name="idprogramacion" columns="idprogramacion"/> + <index name="idordenador" columns="idordenador"/> + <index name="idtarea" columns="idtarea"/> + </indexes> + <id name="idaccion" type="integer" column="idaccion"> + <generator strategy="IDENTITY"/> + </id> + <field name="tipoaccion" type="smallint" column="tipoaccion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idtipoaccion" type="integer" column="idtipoaccion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="descriaccion" type="string" column="descriaccion" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idordenador" type="integer" column="idordenador" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ip" type="string" column="ip" length="50" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="sesion" type="integer" column="sesion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idcomando" type="integer" column="idcomando" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="parametros" type="text" column="parametros" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="fechahorareg" type="datetime" column="fechahorareg" nullable="false"> + <options> + <option name="default">1970-01-01 00:00:00</option> + </options> + </field> + <field name="fechahorafin" type="datetime" column="fechahorafin" nullable="false"> + <options> + <option name="default">1970-01-01 00:00:00</option> + </options> + </field> + <field name="estado" type="boolean" column="estado" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="resultado" type="boolean" column="resultado" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="descrinotificacion" type="string" column="descrinotificacion" length="256" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="ambito" type="smallint" column="ambito" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idambito" type="integer" column="idambito" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="restrambito" type="text" column="restrambito" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idprocedimiento" type="integer" column="idprocedimiento" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idtarea" type="integer" column="idtarea" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idprogramacion" type="integer" column="idprogramacion" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AccionesLog.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AccionesLog.orm.xml new file mode 100644 index 00000000..6ce2b3e4 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AccionesLog.orm.xml @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\AccionesLog" table="acciones_log"> + <indexes> + <index name="idprocedimiento" columns="idprocedimiento"/> + <index name="idprogramacion" columns="idprogramacion"/> + <index name="idordenador" columns="idordenador"/> + <index name="idtarea" columns="idtarea"/> + </indexes> + <id name="idaccion" type="integer" column="idaccion"> + <generator strategy="IDENTITY"/> + </id> + <field name="tipoaccion" type="smallint" column="tipoaccion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idtipoaccion" type="integer" column="idtipoaccion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="descriaccion" type="string" column="descriaccion" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idordenador" type="integer" column="idordenador" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ip" type="string" column="ip" length="50" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="sesion" type="integer" column="sesion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idcomando" type="integer" column="idcomando" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="parametros" type="text" column="parametros" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="fechahorareg" type="datetime" column="fechahorareg" nullable="false"> + <options> + <option name="default">1970-01-01 00:00:00</option> + </options> + </field> + <field name="fechahorafin" type="datetime" column="fechahorafin" nullable="false"> + <options> + <option name="default">1970-01-01 00:00:00</option> + </options> + </field> + <field name="estado" type="boolean" column="estado" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="resultado" type="boolean" column="resultado" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="descrinotificacion" type="string" column="descrinotificacion" length="256" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="ambito" type="smallint" column="ambito" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idambito" type="integer" column="idambito" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="restrambito" type="text" column="restrambito" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idprocedimiento" type="integer" column="idprocedimiento" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idtarea" type="integer" column="idtarea" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idprogramacion" type="integer" column="idprogramacion" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="fechaBorrado" type="datetime" column="fecha_borrado" nullable="true"/> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AccionesMenus.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AccionesMenus.orm.xml new file mode 100644 index 00000000..1477945c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AccionesMenus.orm.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\AccionesMenus" table="acciones_menus"> + <id name="idaccionmenu" type="integer" column="idaccionmenu"> + <generator strategy="IDENTITY"/> + </id> + <field name="tipoaccion" type="boolean" column="tipoaccion" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="idtipoaccion" type="integer" column="idtipoaccion" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idmenu" type="integer" column="idmenu" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="tipoitem" type="boolean" column="tipoitem" nullable="true"/> + <field name="idurlimg" type="integer" column="idurlimg" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="descripitem" type="string" column="descripitem" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="orden" type="boolean" column="orden" nullable="true"/> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AdministradoresCentros.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AdministradoresCentros.orm.xml new file mode 100644 index 00000000..4b392e6c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/AdministradoresCentros.orm.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\AdministradoresCentros" table="administradores_centros"> + <id name="idadministradorcentro" type="integer" column="idadministradorcentro"> + <generator strategy="IDENTITY"/> + </id> + <field name="idusuario" type="integer" column="idusuario" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Asistentes.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Asistentes.orm.xml new file mode 100644 index 00000000..98434e63 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Asistentes.orm.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Asistentes" table="asistentes"> + <id name="idcomando" type="integer" column="idcomando"/> + <id name="descripcion" type="string" column="descripcion" length="250"/> + <field name="pagina" type="string" column="pagina" length="256" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="gestor" type="string" column="gestor" length="256" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="funcion" type="string" column="funcion" length="64" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="aplicambito" type="boolean" column="aplicambito" nullable="true"/> + <field name="visuparametros" type="string" column="visuparametros" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="parametros" type="string" column="parametros" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="activo" type="boolean" column="activo" nullable="false"/> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Aulas.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Aulas.orm.xml new file mode 100644 index 00000000..f0a31639 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Aulas.orm.xml @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Aulas" table="aulas"> + <id name="idaula" type="integer" column="idaula"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombreaula" type="string" column="nombreaula" length="100" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="urlfoto" type="string" column="urlfoto" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="cagnon" type="boolean" column="cagnon" nullable="true"/> + <field name="pizarra" type="boolean" column="pizarra" nullable="true"/> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ubicacion" type="string" column="ubicacion" length="255" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="puestos" type="smallint" column="puestos" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="horaresevini" type="boolean" column="horaresevini" nullable="true"/> + <field name="horaresevfin" type="boolean" column="horaresevfin" nullable="true"/> + <field name="modomul" type="boolean" column="modomul" nullable="false"/> + <field name="ipmul" type="string" column="ipmul" length="16" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="pormul" type="integer" column="pormul" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="velmul" type="smallint" column="velmul" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">70</option> + </options> + </field> + <field name="router" type="string" column="router" length="30" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="netmask" type="string" column="netmask" length="30" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="dns" type="string" column="dns" length="30" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="proxy" type="string" column="proxy" length="30" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="ntp" type="string" column="ntp" length="30" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="modp2p" type="string" column="modp2p" length="0" nullable="true"> + <options> + <option name="fixed"/> + <option name="default">peer</option> + </options> + </field> + <field name="timep2p" type="integer" column="timep2p" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">60</option> + </options> + </field> + <field name="validacion" type="boolean" column="validacion" nullable="true"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="paginalogin" type="string" column="paginalogin" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="paginavalidacion" type="string" column="paginavalidacion" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="inremotepc" type="boolean" column="inremotepc" nullable="true"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="oglivedir" type="string" column="oglivedir" length="50" nullable="false"> + <options> + <option name="fixed"/> + <option name="default">ogLive</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Centros.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Centros.orm.xml new file mode 100644 index 00000000..8ca130d3 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Centros.orm.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Centros" table="centros"> + <id name="idcentro" type="integer" column="idcentro"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombrecentro" type="string" column="nombrecentro" length="100" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="identidad" type="integer" column="identidad" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="directorio" type="string" column="directorio" length="50" nullable="true"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Comandos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Comandos.orm.xml new file mode 100644 index 00000000..591908c2 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Comandos.orm.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Comandos" table="comandos"> + <id name="idcomando" type="integer" column="idcomando"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="pagina" type="string" column="pagina" length="256" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="gestor" type="string" column="gestor" length="256" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="funcion" type="string" column="funcion" length="64" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="aplicambito" type="boolean" column="aplicambito" nullable="true"/> + <field name="visuparametros" type="string" column="visuparametros" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="parametros" type="string" column="parametros" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="activo" type="boolean" column="activo" nullable="false"/> + <field name="submenu" type="string" column="submenu" length="50" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Entidades.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Entidades.orm.xml new file mode 100644 index 00000000..c915ae9b --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Entidades.orm.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Entidades" table="entidades"> + <id name="identidad" type="integer" column="identidad"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombreentidad" type="string" column="nombreentidad" length="200" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="iduniversidad" type="integer" column="iduniversidad" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ogunit" type="boolean" column="ogunit" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Entornos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Entornos.orm.xml new file mode 100644 index 00000000..05f0f102 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Entornos.orm.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Entornos" table="entornos"> + <id name="identorno" type="integer" column="identorno"> + <generator strategy="IDENTITY"/> + </id> + <field name="ipserveradm" type="string" column="ipserveradm" length="50" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="portserveradm" type="integer" column="portserveradm" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="protoclonacion" type="string" column="protoclonacion" length="50" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Estatus.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Estatus.orm.xml new file mode 100644 index 00000000..0d406583 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Estatus.orm.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Estatus" table="estatus"> + <id name="idestatus" type="integer" column="idestatus"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Grupos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Grupos.orm.xml new file mode 100644 index 00000000..eabd7b09 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Grupos.orm.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Grupos" table="grupos"> + <id name="idgrupo" type="integer" column="idgrupo"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombregrupo" type="string" column="nombregrupo" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="tipo" type="boolean" column="tipo" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="iduniversidad" type="integer" column="iduniversidad" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Gruposordenadores.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Gruposordenadores.orm.xml new file mode 100644 index 00000000..ac5705c2 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Gruposordenadores.orm.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Gruposordenadores" table="gruposordenadores"> + <id name="idgrupo" type="integer" column="idgrupo"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombregrupoordenador" type="string" column="nombregrupoordenador" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idaula" type="integer" column="idaula" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Hardwares.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Hardwares.orm.xml new file mode 100644 index 00000000..2600b44e --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Hardwares.orm.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Hardwares" table="hardwares"> + <id name="idhardware" type="integer" column="idhardware"> + <generator strategy="IDENTITY"/> + </id> + <field name="idtipohardware" type="integer" column="idtipohardware" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Iconos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Iconos.orm.xml new file mode 100644 index 00000000..6570ff46 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Iconos.orm.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Iconos" table="iconos"> + <id name="idicono" type="integer" column="idicono"> + <generator strategy="IDENTITY"/> + </id> + <field name="urlicono" type="string" column="urlicono" length="200" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idtipoicono" type="integer" column="idtipoicono" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Idiomas.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Idiomas.orm.xml new file mode 100644 index 00000000..fe89b413 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Idiomas.orm.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Idiomas" table="idiomas"> + <id name="ididioma" type="integer" column="ididioma"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="nemonico" type="string" column="nemonico" length="3" nullable="true"> + <options> + <option name="fixed">1</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Imagenes.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Imagenes.orm.xml new file mode 100644 index 00000000..17c6e6b7 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Imagenes.orm.xml @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Imagenes" table="imagenes"> + <id name="idimagen" type="integer" column="idimagen"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombreca" type="string" column="nombreca" length="50" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="revision" type="smallint" column="revision" nullable="false"> + <options> + <option name="unsigned">1</option> + <option name="default">0</option> + </options> + </field> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idperfilsoft" type="integer" column="idperfilsoft" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idrepositorio" type="integer" column="idrepositorio" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idordenador" type="integer" column="idordenador" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="numdisk" type="smallint" column="numdisk" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="numpar" type="smallint" column="numpar" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="codpar" type="integer" column="codpar" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="tipo" type="boolean" column="tipo" nullable="true"/> + <field name="imagenid" type="integer" column="imagenid" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="ruta" type="string" column="ruta" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="fechacreacion" type="datetime" column="fechacreacion" nullable="true"/> + <field name="inremotepc" type="boolean" column="inremotepc" nullable="true"> + <options> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Menus.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Menus.orm.xml new file mode 100644 index 00000000..73534509 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Menus.orm.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Menus" table="menus"> + <id name="idmenu" type="integer" column="idmenu"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idurlimg" type="integer" column="idurlimg" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="titulo" type="string" column="titulo" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="modalidad" type="boolean" column="modalidad" nullable="true"/> + <field name="smodalidad" type="boolean" column="smodalidad" nullable="true"/> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="htmlmenupub" type="string" column="htmlmenupub" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="htmlmenupri" type="string" column="htmlmenupri" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="resolucion" type="string" column="resolucion" length="50" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Nombresos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Nombresos.orm.xml new file mode 100644 index 00000000..0eb6a074 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Nombresos.orm.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Nombresos" table="nombresos"> + <id name="idnombreso" type="smallint" column="idnombreso"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombreso" type="string" column="nombreso" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idtiposo" type="integer" column="idtiposo" nullable="true"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/OgagentQueue.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/OgagentQueue.orm.xml new file mode 100644 index 00000000..fdb27c95 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/OgagentQueue.orm.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\OgagentQueue" table="ogagent_queue"> + <id name="id" type="integer" column="id"> + <generator strategy="IDENTITY"/> + </id> + <field name="clientid" type="integer" column="clientid" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="exectime" type="datetime" column="exectime" nullable="true"/> + <field name="operation" type="string" column="operation" length="25" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Ordenadores.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Ordenadores.orm.xml new file mode 100644 index 00000000..4d565814 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Ordenadores.orm.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Ordenadores" table="ordenadores"> + <indexes> + <index name="idaulaip" columns="idaula,ip"/> + </indexes> + <id name="idordenador" type="integer" column="idordenador"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombreordenador" type="string" column="nombreordenador" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="numserie" type="string" column="numserie" length="25" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="ip" type="string" column="ip" length="16" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="mac" type="string" column="mac" length="12" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idaula" type="integer" column="idaula" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idperfilhard" type="integer" column="idperfilhard" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idrepositorio" type="integer" column="idrepositorio" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idmenu" type="integer" column="idmenu" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="cache" type="integer" column="cache" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="router" type="string" column="router" length="16" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="mascara" type="string" column="mascara" length="16" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idproautoexec" type="integer" column="idproautoexec" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="arranque" type="string" column="arranque" length="30" nullable="false"> + <options> + <option name="fixed"/> + <option name="default">00unknown</option> + </options> + </field> + <field name="netiface" type="string" column="netiface" length="0" nullable="true"> + <options> + <option name="fixed"/> + <option name="default">eth0</option> + </options> + </field> + <field name="netdriver" type="string" column="netdriver" length="30" nullable="false"> + <options> + <option name="fixed"/> + <option name="default">generic</option> + </options> + </field> + <field name="fotoord" type="string" column="fotoord" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default">fotoordenador.gif</option> + </options> + </field> + <field name="validacion" type="boolean" column="validacion" nullable="true"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="paginalogin" type="string" column="paginalogin" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="paginavalidacion" type="string" column="paginavalidacion" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="agentkey" type="string" column="agentkey" length="32" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="oglivedir" type="string" column="oglivedir" length="50" nullable="false"> + <options> + <option name="fixed"/> + <option name="default">ogLive</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/OrdenadoresParticiones.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/OrdenadoresParticiones.orm.xml new file mode 100644 index 00000000..1bce206e --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/OrdenadoresParticiones.orm.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\OrdenadoresParticiones" table="ordenadores_particiones"> + <id name="idordenador" type="integer" column="idordenador"/> + <id name="numdisk" type="smallint" column="numdisk"/> + <id name="numpar" type="smallint" column="numpar"/> + <field name="codpar" type="integer" column="codpar" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="tamano" type="integer" column="tamano" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idsistemafichero" type="smallint" column="idsistemafichero" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idnombreso" type="smallint" column="idnombreso" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idimagen" type="integer" column="idimagen" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="revision" type="smallint" column="revision" nullable="false"> + <options> + <option name="unsigned">1</option> + <option name="default">0</option> + </options> + </field> + <field name="idperfilsoft" type="integer" column="idperfilsoft" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="fechadespliegue" type="datetime" column="fechadespliegue" nullable="true"/> + <field name="cache" type="text" column="cache" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="uso" type="boolean" column="uso" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Parametros.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Parametros.orm.xml new file mode 100644 index 00000000..11bc60b3 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Parametros.orm.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Parametros" table="parametros"> + <indexes> + <index name="nemonico" columns="nemonico"/> + </indexes> + <id name="idparametro" type="integer" column="idparametro"> + <generator strategy="IDENTITY"/> + </id> + <field name="nemonico" type="string" column="nemonico" length="3" nullable="false"> + <options> + <option name="fixed">1</option> + </options> + </field> + <field name="descripcion" type="text" column="descripcion" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="nomidentificador" type="string" column="nomidentificador" length="64" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="nomtabla" type="string" column="nomtabla" length="64" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="nomliteral" type="string" column="nomliteral" length="64" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="tipopa" type="boolean" column="tipopa" nullable="true"> + <options> + <option name="default">0</option> + </options> + </field> + <field name="visual" type="boolean" column="visual" nullable="false"> + <options> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Perfileshard.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Perfileshard.orm.xml new file mode 100644 index 00000000..fb6a23f6 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Perfileshard.orm.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Perfileshard" table="perfileshard"> + <id name="idperfilhard" type="integer" column="idperfilhard"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="winboot" type="string" column="winboot" length="0" nullable="false"> + <options> + <option name="fixed"/> + <option name="default">reboot</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Perfilessoft.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Perfilessoft.orm.xml new file mode 100644 index 00000000..7ed29240 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Perfilessoft.orm.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Perfilessoft" table="perfilessoft"> + <id name="idperfilsoft" type="integer" column="idperfilsoft"> + <generator strategy="IDENTITY"/> + </id> + <field name="idnombreso" type="smallint" column="idnombreso" nullable="true"> + <options> + <option name="unsigned">1</option> + </options> + </field> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Plataformas.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Plataformas.orm.xml new file mode 100644 index 00000000..19079d3c --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Plataformas.orm.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Plataformas" table="plataformas"> + <id name="idplataforma" type="integer" column="idplataforma"> + <generator strategy="IDENTITY"/> + </id> + <field name="plataforma" type="string" column="plataforma" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Procedimientos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Procedimientos.orm.xml new file mode 100644 index 00000000..41ade648 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Procedimientos.orm.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Procedimientos" table="procedimientos"> + <id name="idprocedimiento" type="integer" column="idprocedimiento"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/ProcedimientosAcciones.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/ProcedimientosAcciones.orm.xml new file mode 100644 index 00000000..85c24e8d --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/ProcedimientosAcciones.orm.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\ProcedimientosAcciones" table="procedimientos_acciones"> + <id name="idprocedimientoaccion" type="integer" column="idprocedimientoaccion"> + <generator strategy="IDENTITY"/> + </id> + <field name="idprocedimiento" type="integer" column="idprocedimiento" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="orden" type="smallint" column="orden" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idcomando" type="integer" column="idcomando" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="parametros" type="text" column="parametros" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="procedimientoid" type="integer" column="procedimientoid" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Programaciones.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Programaciones.orm.xml new file mode 100644 index 00000000..8b6e4c7d --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Programaciones.orm.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Programaciones" table="programaciones"> + <id name="idprogramacion" type="integer" column="idprogramacion"> + <generator strategy="IDENTITY"/> + </id> + <field name="tipoaccion" type="integer" column="tipoaccion" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="identificador" type="integer" column="identificador" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="nombrebloque" type="string" column="nombrebloque" length="255" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="annos" type="smallint" column="annos" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="meses" type="smallint" column="meses" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="diario" type="integer" column="diario" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="dias" type="boolean" column="dias" nullable="true"/> + <field name="semanas" type="boolean" column="semanas" nullable="true"/> + <field name="horas" type="smallint" column="horas" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ampm" type="boolean" column="ampm" nullable="true"/> + <field name="minutos" type="boolean" column="minutos" nullable="true"/> + <field name="segundos" type="boolean" column="segundos" nullable="true"/> + <field name="horasini" type="smallint" column="horasini" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ampmini" type="boolean" column="ampmini" nullable="true"/> + <field name="minutosini" type="boolean" column="minutosini" nullable="true"/> + <field name="horasfin" type="smallint" column="horasfin" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="ampmfin" type="boolean" column="ampmfin" nullable="true"/> + <field name="minutosfin" type="boolean" column="minutosfin" nullable="true"/> + <field name="suspendida" type="boolean" column="suspendida" nullable="true"/> + <field name="sesion" type="integer" column="sesion" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Remotepc.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Remotepc.orm.xml new file mode 100644 index 00000000..a1b862dd --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Remotepc.orm.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Remotepc" table="remotepc"> + <id name="id" type="integer" column="id"> + <generator strategy="IDENTITY"/> + </id> + <field name="reserved" type="datetime" column="reserved" nullable="true"/> + <field name="urllogin" type="string" column="urllogin" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="urllogout" type="string" column="urllogout" length="100" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Repositorios.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Repositorios.orm.xml new file mode 100644 index 00000000..78217dc7 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Repositorios.orm.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Repositorios" table="repositorios"> + <id name="idrepositorio" type="integer" column="idrepositorio"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombrerepositorio" type="string" column="nombrerepositorio" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="ip" type="string" column="ip" length="15" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="passguor" type="string" column="passguor" length="50" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="puertorepo" type="integer" column="puertorepo" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="apikey" type="string" column="apikey" length="32" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Sistemasficheros.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Sistemasficheros.orm.xml new file mode 100644 index 00000000..ceb66d2e --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Sistemasficheros.orm.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Sistemasficheros" table="sistemasficheros"> + <unique-constraints> + <unique-constraint name="descripcion" columns="descripcion"/> + </unique-constraints> + <id name="idsistemafichero" type="smallint" column="idsistemafichero"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="50" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="nemonico" type="string" column="nemonico" length="16" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="codpar" type="integer" column="codpar" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Softwares.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Softwares.orm.xml new file mode 100644 index 00000000..61c32d24 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Softwares.orm.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Softwares" table="softwares"> + <id name="idsoftware" type="integer" column="idsoftware"> + <generator strategy="IDENTITY"/> + </id> + <field name="idtiposoftware" type="integer" column="idtiposoftware" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idtiposo" type="integer" column="idtiposo" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tareas.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tareas.orm.xml new file mode 100644 index 00000000..c57e1a3e --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tareas.orm.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Tareas" table="tareas"> + <id name="idtarea" type="integer" column="idtarea"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idcentro" type="integer" column="idcentro" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="ambito" type="smallint" column="ambito" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idambito" type="integer" column="idambito" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="restrambito" type="text" column="restrambito" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="grupoid" type="integer" column="grupoid" nullable="true"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/TareasAcciones.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/TareasAcciones.orm.xml new file mode 100644 index 00000000..e70aeebc --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/TareasAcciones.orm.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\TareasAcciones" table="tareas_acciones"> + <id name="idtareaaccion" type="integer" column="idtareaaccion"> + <generator strategy="IDENTITY"/> + </id> + <field name="idtarea" type="integer" column="idtarea" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="orden" type="smallint" column="orden" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="idprocedimiento" type="integer" column="idprocedimiento" nullable="false"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + <field name="tareaid" type="integer" column="tareaid" nullable="true"> + <options> + <option name="unsigned"/> + <option name="default">0</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tipohardwares.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tipohardwares.orm.xml new file mode 100644 index 00000000..dc83fb49 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tipohardwares.orm.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Tipohardwares" table="tipohardwares"> + <id name="idtipohardware" type="integer" column="idtipohardware"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="nemonico" type="string" column="nemonico" length="3" nullable="false"> + <options> + <option name="fixed">1</option> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tiposoftwares.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tiposoftwares.orm.xml new file mode 100644 index 00000000..afb39cc3 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tiposoftwares.orm.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Tiposoftwares" table="tiposoftwares"> + <id name="idtiposoftware" type="integer" column="idtiposoftware"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="urlimg" type="string" column="urlimg" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tiposos.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tiposos.orm.xml new file mode 100644 index 00000000..2961cbc8 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tiposos.orm.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Tiposos" table="tiposos"> + <id name="idtiposo" type="integer" column="idtiposo"> + <generator strategy="IDENTITY"/> + </id> + <field name="tiposo" type="string" column="tiposo" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="idplataforma" type="integer" column="idplataforma" nullable="false"> + <options> + <option name="unsigned"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tipospar.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tipospar.orm.xml new file mode 100644 index 00000000..a0523e14 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Tipospar.orm.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Tipospar" table="tipospar"> + <id name="codpar" type="integer" column="codpar"> + <generator strategy="IDENTITY"/> + </id> + <field name="tipopar" type="string" column="tipopar" length="250" nullable="false"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="clonable" type="boolean" column="clonable" nullable="false"/> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Universidades.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Universidades.orm.xml new file mode 100644 index 00000000..86a8c62e --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Universidades.orm.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Universidades" table="universidades"> + <id name="iduniversidad" type="integer" column="iduniversidad"> + <generator strategy="IDENTITY"/> + </id> + <field name="nombreuniversidad" type="string" column="nombreuniversidad" length="200" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="comentarios" type="text" column="comentarios" length="65535" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Urlimagesitems.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Urlimagesitems.orm.xml new file mode 100644 index 00000000..5cc65dd3 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Urlimagesitems.orm.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Urlimagesitems" table="urlimagesitems"> + <id name="idurlimagesitems" type="integer" column="idurlimagesitems"> + <generator strategy="IDENTITY"/> + </id> + <field name="descripcion" type="string" column="descripcion" length="250" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Usuarios.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Usuarios.orm.xml new file mode 100644 index 00000000..4287dc3f --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/MigrationBundle/Resources/config/doctrine/Usuarios.orm.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + <entity name="Opengnsys\MigrationBundle\Entity\Usuarios" table="usuarios"> + <id name="idusuario" type="integer" column="idusuario"> + <generator strategy="IDENTITY"/> + </id> + <field name="usuario" type="string" column="usuario" length="50" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="pasguor" type="string" column="pasguor" length="56" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + <field name="nombre" type="string" column="nombre" length="200" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="email" type="string" column="email" length="200" nullable="true"> + <options> + <option name="fixed"/> + </options> + </field> + <field name="ididioma" type="integer" column="ididioma" nullable="true"> + <options> + <option name="unsigned"/> + </options> + </field> + <field name="idtipousuario" type="boolean" column="idtipousuario" nullable="true"/> + <field name="apikey" type="string" column="apikey" length="32" nullable="false"> + <options> + <option name="fixed"/> + <option name="default"/> + </options> + </field> + </entity> +</doctrine-mapping> diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/BaseEntity.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/BaseEntity.php new file mode 100644 index 00000000..6cc7776a --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/BaseEntity.php @@ -0,0 +1,118 @@ +<?php + +/* + * This file is part of the Globunet Project package. + * + * Created by Globunet on 06/02/19. <info@globunet.com> + * Copyright (c) 2019 Globunet Soluciones TecnolĆ³gicas, SL. All rights reserved. + * + */ + +namespace Opengnsys\ServerBundle\Entity; + +class BaseEntity +{ + /** + * @var \DateTime + */ + protected $updatedAt; + + /** + * @var \DateTime + */ + protected $createdAt; + + /** + * @var string|null + */ + protected $notes; + + /** + * PrePersist + */ + public function setCreatedAtValue() + { + $this->createdAt = (new \DateTime())->setTimezone(new \DateTimeZone("UTC")); + $this->updatedAt = (new \DateTime())->setTimezone(new \DateTimeZone("UTC")); + } + + /** + * PreUpdate + */ + public function setUpdatedAtValue() + { + $this->updatedAt = (new \DateTime())->setTimezone(new \DateTimeZone("UTC")); + } + + /** + * Set updatedAt. + * + * @param \DateTime $updatedAt + * + * @return BaseEntity + */ + public function setUpdatedAt($updatedAt) + { + $this->updatedAt = $updatedAt; + + return $this; + } + + /** + * Get updatedAt. + * + * @return \DateTime + */ + public function getUpdatedAt() + { + return $this->updatedAt; + } + + /** + * Set createdAt. + * + * @param \DateTime $createdAt + * + * @return BaseEntity + */ + public function setCreatedAt($createdAt) + { + $this->createdAt = $createdAt; + + return $this; + } + + /** + * Get createdAt. + * + * @return \DateTime + */ + public function getCreatedAt() + { + return $this->createdAt; + } + + /** + * Set notes. + * + * @param string|null $notes + * + * @return Repository + */ + public function setNotes($notes = null) + { + $this->notes = $notes; + + return $this; + } + + /** + * Get notes. + * + * @return string|null + */ + public function getNotes() + { + return $this->notes; + } +} diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Client.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Client.php index a7ddbecf..74755429 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Client.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Client.php @@ -2,25 +2,24 @@ namespace Opengnsys\ServerBundle\Entity; -use Doctrine\ORM\Mapping as ORM; - /** * Client */ -class Client +class Client extends BaseEntity { + /** - * @var string + * @var string|null */ private $name; /** - * @var string + * @var string|null */ private $serialno; /** - * @var string + * @var string|null */ private $netiface; @@ -30,7 +29,7 @@ class Client private $netdriver; /** - * @var string + * @var string|null */ private $mac; @@ -40,27 +39,27 @@ class Client private $ip; /** - * @var string + * @var string|null */ private $status; /** - * @var integer + * @var int|null */ private $cache; /** - * @var integer + * @var int */ private $idproautoexec; /** - * @var string + * @var string|null */ - private $urlphoto; + private $oglive; /** - * @var integer + * @var int */ private $id; @@ -85,16 +84,6 @@ class Client private $menu; /** - * @var string - */ - private $oglive; - - /** - * @var \Opengnsys\ServerBundle\Entity\Netboot - */ - private $netboot; - - /** * @var \Opengnsys\ServerBundle\Entity\Repository */ private $repository; @@ -105,6 +94,11 @@ class Client private $organizationalUnit; /** + * @var \Opengnsys\ServerBundle\Entity\Netboot + */ + private $netboot; + + /** * Constructor */ public function __construct() @@ -113,13 +107,13 @@ class Client } /** - * Set name + * Set name. * - * @param string $name + * @param string|null $name * * @return Client */ - public function setName($name) + public function setName($name = null) { $this->name = $name; @@ -127,9 +121,9 @@ class Client } /** - * Get name + * Get name. * - * @return string + * @return string|null */ public function getName() { @@ -137,13 +131,13 @@ class Client } /** - * Set serialno + * Set serialno. * - * @param string $serialno + * @param string|null $serialno * * @return Client */ - public function setSerialno($serialno) + public function setSerialno($serialno = null) { $this->serialno = $serialno; @@ -151,9 +145,9 @@ class Client } /** - * Get serialno + * Get serialno. * - * @return string + * @return string|null */ public function getSerialno() { @@ -161,13 +155,13 @@ class Client } /** - * Set netiface + * Set netiface. * - * @param string $netiface + * @param string|null $netiface * * @return Client */ - public function setNetiface($netiface) + public function setNetiface($netiface = null) { $this->netiface = $netiface; @@ -175,9 +169,9 @@ class Client } /** - * Get netiface + * Get netiface. * - * @return string + * @return string|null */ public function getNetiface() { @@ -185,7 +179,7 @@ class Client } /** - * Set netdriver + * Set netdriver. * * @param string $netdriver * @@ -199,7 +193,7 @@ class Client } /** - * Get netdriver + * Get netdriver. * * @return string */ @@ -209,13 +203,13 @@ class Client } /** - * Set mac + * Set mac. * - * @param string $mac + * @param string|null $mac * * @return Client */ - public function setMac($mac) + public function setMac($mac = null) { $this->mac = $mac; @@ -223,9 +217,9 @@ class Client } /** - * Get mac + * Get mac. * - * @return string + * @return string|null */ public function getMac() { @@ -233,7 +227,7 @@ class Client } /** - * Set ip + * Set ip. * * @param string $ip * @@ -247,7 +241,7 @@ class Client } /** - * Get ip + * Get ip. * * @return string */ @@ -257,13 +251,37 @@ class Client } /** - * Set cache + * Set status. * - * @param integer $cache + * @param string|null $status * * @return Client */ - public function setCache($cache) + public function setStatus($status = null) + { + $this->status = $status; + + return $this; + } + + /** + * Get status. + * + * @return string|null + */ + public function getStatus() + { + return $this->status; + } + + /** + * Set cache. + * + * @param int|null $cache + * + * @return Client + */ + public function setCache($cache = null) { $this->cache = $cache; @@ -271,9 +289,9 @@ class Client } /** - * Get cache + * Get cache. * - * @return integer + * @return int|null */ public function getCache() { @@ -281,9 +299,9 @@ class Client } /** - * Set idproautoexec + * Set idproautoexec. * - * @param integer $idproautoexec + * @param int $idproautoexec * * @return Client */ @@ -295,9 +313,9 @@ class Client } /** - * Get idproautoexec + * Get idproautoexec. * - * @return integer + * @return int */ public function getIdproautoexec() { @@ -305,33 +323,33 @@ class Client } /** - * Set urlphoto + * Set oglive. * - * @param string $urlphoto + * @param string|null $oglive * * @return Client */ - public function setUrlphoto($urlphoto) + public function setOglive($oglive = null) { - $this->urlphoto = $urlphoto; + $this->oglive = $oglive; return $this; } /** - * Get urlphoto + * Get oglive. * - * @return string + * @return string|null */ - public function getUrlphoto() + public function getOglive() { - return $this->urlphoto; + return $this->oglive; } /** - * Get id + * Get id. * - * @return integer + * @return int */ public function getId() { @@ -339,7 +357,7 @@ class Client } /** - * Add partition + * Add partition. * * @param \Opengnsys\ServerBundle\Entity\Partition $partition * @@ -348,23 +366,24 @@ class Client public function addPartition(\Opengnsys\ServerBundle\Entity\Partition $partition) { $this->partitions[] = $partition; - $partition->setClient($this); return $this; } /** - * Remove partition + * Remove partition. * * @param \Opengnsys\ServerBundle\Entity\Partition $partition + * + * @return boolean TRUE if this collection contained the specified element, FALSE otherwise. */ public function removePartition(\Opengnsys\ServerBundle\Entity\Partition $partition) { - $this->partitions->removeElement($partition); + return $this->partitions->removeElement($partition); } /** - * Get partitions + * Get partitions. * * @return \Doctrine\Common\Collections\Collection */ @@ -374,25 +393,9 @@ class Client } /** - * Get partitions + * Set validationSettings. * - * @return \Doctrine\Common\Collections\Collection - */ - public function getPartition($key) - { - $partition = null; - if(!$partition = $this->partitions->get($key)){ - $partition = new Partition(); - $partition->setClient($this); - $this->partitions[$key] = $partition; - } - return $partition; - } - - /** - * Set validationSettings - * - * @param \Opengnsys\ServerBundle\Entity\ValidationSettings $validationSettings + * @param \Opengnsys\ServerBundle\Entity\ValidationSettings|null $validationSettings * * @return Client */ @@ -404,9 +407,9 @@ class Client } /** - * Get validationSettings + * Get validationSettings. * - * @return \Opengnsys\ServerBundle\Entity\ValidationSettings + * @return \Opengnsys\ServerBundle\Entity\ValidationSettings|null */ public function getValidationSettings() { @@ -414,9 +417,9 @@ class Client } /** - * Set hardwareProfile + * Set hardwareProfile. * - * @param \Opengnsys\ServerBundle\Entity\HardwareProfile $hardwareProfile + * @param \Opengnsys\ServerBundle\Entity\HardwareProfile|null $hardwareProfile * * @return Client */ @@ -428,9 +431,9 @@ class Client } /** - * Get hardwareProfile + * Get hardwareProfile. * - * @return \Opengnsys\ServerBundle\Entity\HardwareProfile + * @return \Opengnsys\ServerBundle\Entity\HardwareProfile|null */ public function getHardwareProfile() { @@ -438,9 +441,9 @@ class Client } /** - * Set menu + * Set menu. * - * @param \Opengnsys\ServerBundle\Entity\Menu $menu + * @param \Opengnsys\ServerBundle\Entity\Menu|null $menu * * @return Client */ @@ -452,9 +455,9 @@ class Client } /** - * Get menu + * Get menu. * - * @return \Opengnsys\ServerBundle\Entity\Menu + * @return \Opengnsys\ServerBundle\Entity\Menu|null */ public function getMenu() { @@ -462,9 +465,9 @@ class Client } /** - * Set repository + * Set repository. * - * @param \Opengnsys\ServerBundle\Entity\Repository $repository + * @param \Opengnsys\ServerBundle\Entity\Repository|null $repository * * @return Client */ @@ -476,9 +479,9 @@ class Client } /** - * Get repository + * Get repository. * - * @return \Opengnsys\ServerBundle\Entity\Repository + * @return \Opengnsys\ServerBundle\Entity\Repository|null */ public function getRepository() { @@ -486,9 +489,9 @@ class Client } /** - * Set organizationalUnit + * Set organizationalUnit. * - * @param \Opengnsys\ServerBundle\Entity\OrganizationalUnit $organizationalUnit + * @param \Opengnsys\ServerBundle\Entity\OrganizationalUnit|null $organizationalUnit * * @return Client */ @@ -500,9 +503,9 @@ class Client } /** - * Get organizationalUnit + * Get organizationalUnit. * - * @return \Opengnsys\ServerBundle\Entity\OrganizationalUnit + * @return \Opengnsys\ServerBundle\Entity\OrganizationalUnit|null */ public function getOrganizationalUnit() { @@ -510,57 +513,9 @@ class Client } /** - * Set status - * - * @param string $status - * - * @return Client - */ - public function setStatus($status) - { - $this->status = $status; - - return $this; - } - - /** - * Get status - * - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * Set oglive - * - * @param string $oglive - * - * @return Client - */ - public function setOglive($oglive) - { - $this->oglive = $oglive; - - return $this; - } - - /** - * Get oglive - * - * @return string - */ - public function getOglive() - { - return $this->oglive; - } - - /** - * Set netboot + * Set netboot. * - * @param \Opengnsys\ServerBundle\Entity\Netboot $netboot + * @param \Opengnsys\ServerBundle\Entity\Netboot|null $netboot * * @return Client */ @@ -572,9 +527,9 @@ class Client } /** - * Get netboot + * Get netboot. * - * @return \Opengnsys\ServerBundle\Entity\Netboot + * @return \Opengnsys\ServerBundle\Entity\Netboot|null */ public function getNetboot() { diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Command.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Command.php index 68f965bd..b13bfc18 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Command.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Command.php @@ -2,12 +2,10 @@ namespace Opengnsys\ServerBundle\Entity; -use Doctrine\ORM\Mapping as ORM; - /** * Command */ -class Command +class Command extends BaseEntity { /** * @var string diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Hardware.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Hardware.php index f779d6c4..f32cbb5f 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Hardware.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Hardware.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * Hardware */ -class Hardware +class Hardware extends BaseEntity { diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/HardwareProfile.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/HardwareProfile.php index 21838605..13b04290 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/HardwareProfile.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/HardwareProfile.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * HardwareProfile */ -class HardwareProfile +class HardwareProfile extends BaseEntity { /** diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Image.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Image.php index 72e6609d..0b1b73b2 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Image.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Image.php @@ -5,10 +5,8 @@ namespace Opengnsys\ServerBundle\Entity; /** * Image */ -class Image +class Image extends BaseEntity { - - /** * @var string */ @@ -50,16 +48,6 @@ class Image private $fileSize; /** - * @var \DateTime - */ - private $createdAt; - - /** - * @var \DateTime - */ - private $updatedAt; - - /** * @var integer */ private $id; @@ -278,54 +266,6 @@ class Image } /** - * Set createdAt - * - * @param \DateTime $createdAt - * - * @return Image - */ - public function setCreatedAt($createdAt) - { - $this->createdAt = $createdAt; - - return $this; - } - - /** - * Get createdAt - * - * @return \DateTime - */ - public function getCreatedAt() - { - return $this->createdAt; - } - - /** - * Set updatedAt - * - * @param \DateTime $updatedAt - * - * @return Image - */ - public function setUpdatedAt($updatedAt) - { - $this->updatedAt = $updatedAt; - - return $this; - } - - /** - * Get updatedAt - * - * @return \DateTime - */ - public function getUpdatedAt() - { - return $this->updatedAt; - } - - /** * Get id * * @return integer diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Menu.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Menu.php index 9ab3c41a..f45e139c 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Menu.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Menu.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * Menu */ -class Menu +class Menu extends BaseEntity { /** * @var string diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Netboot.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Netboot.php index 9363cf7c..14a87ced 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Netboot.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Netboot.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * NetBoot */ -class Netboot +class Netboot extends BaseEntity { /** diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/NetworkSettings.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/NetworkSettings.php index 5b43d8a5..f1fb9daf 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/NetworkSettings.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/NetworkSettings.php @@ -5,10 +5,8 @@ namespace Opengnsys\ServerBundle\Entity; /** * NetworkSettings */ -class NetworkSettings +class NetworkSettings extends BaseEntity { - - /** * @var string */ diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/OrganizationalUnit.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/OrganizationalUnit.php index 07c25729..31ff3276 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/OrganizationalUnit.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/OrganizationalUnit.php @@ -5,32 +5,33 @@ namespace Opengnsys\ServerBundle\Entity; /** * OrganizationalUnit */ -class OrganizationalUnit +class OrganizationalUnit extends BaseEntity { + /** * @var string */ private $name; /** - * @var string + * @var string|null */ private $description; /** - * @var string + * @var string|null */ - private $urlphoto; + private $comments; /** - * @var string + * @var int */ - private $comments; + private $id; /** - * @var integer + * @var \Doctrine\Common\Collections\Collection */ - private $id; + private $clients; /** * @var \Doctrine\Common\Collections\Collection @@ -52,17 +53,17 @@ class OrganizationalUnit */ private $networkSettings; - /** * Constructor */ public function __construct() { + $this->clients = new \Doctrine\Common\Collections\ArrayCollection(); $this->children = new \Doctrine\Common\Collections\ArrayCollection(); } /** - * Set name + * Set name. * * @param string $name * @@ -76,7 +77,7 @@ class OrganizationalUnit } /** - * Get name + * Get name. * * @return string */ @@ -86,13 +87,13 @@ class OrganizationalUnit } /** - * Set description + * Set description. * - * @param string $description + * @param string|null $description * * @return OrganizationalUnit */ - public function setDescription($description) + public function setDescription($description = null) { $this->description = $description; @@ -100,9 +101,9 @@ class OrganizationalUnit } /** - * Get description + * Get description. * - * @return string + * @return string|null */ public function getDescription() { @@ -110,65 +111,77 @@ class OrganizationalUnit } /** - * Set urlphoto + * Set comments. * - * @param string $urlphoto + * @param string|null $comments * * @return OrganizationalUnit */ - public function setUrlphoto($urlphoto) + public function setComments($comments = null) { - $this->urlphoto = $urlphoto; + $this->comments = $comments; return $this; } /** - * Get urlphoto + * Get comments. * - * @return string + * @return string|null + */ + public function getComments() + { + return $this->comments; + } + + /** + * Get id. + * + * @return int */ - public function getUrlphoto() + public function getId() { - return $this->urlphoto; + return $this->id; } /** - * Set comments + * Add client. * - * @param string $comments + * @param \Opengnsys\ServerBundle\Entity\Client $client * * @return OrganizationalUnit */ - public function setComments($comments) + public function addClient(\Opengnsys\ServerBundle\Entity\Client $client) { - $this->comments = $comments; + $this->clients[] = $client; return $this; } /** - * Get comments + * Remove client. * - * @return string + * @param \Opengnsys\ServerBundle\Entity\Client $client + * + * @return boolean TRUE if this collection contained the specified element, FALSE otherwise. */ - public function getComments() + public function removeClient(\Opengnsys\ServerBundle\Entity\Client $client) { - return $this->comments; + return $this->clients->removeElement($client); } /** - * Get id + * Get clients. * - * @return integer + * @return \Doctrine\Common\Collections\Collection */ - public function getId() + public function getClients() { - return $this->id; + return $this->clients; } /** - * Add child + * Add child. * * @param \Opengnsys\ServerBundle\Entity\OrganizationalUnit $child * @@ -182,17 +195,19 @@ class OrganizationalUnit } /** - * Remove child + * Remove child. * * @param \Opengnsys\ServerBundle\Entity\OrganizationalUnit $child + * + * @return boolean TRUE if this collection contained the specified element, FALSE otherwise. */ public function removeChild(\Opengnsys\ServerBundle\Entity\OrganizationalUnit $child) { - $this->children->removeElement($child); + return $this->children->removeElement($child); } /** - * Get children + * Get children. * * @return \Doctrine\Common\Collections\Collection */ @@ -202,9 +217,9 @@ class OrganizationalUnit } /** - * Set parent + * Set parent. * - * @param \Opengnsys\ServerBundle\Entity\OrganizationalUnit $parent + * @param \Opengnsys\ServerBundle\Entity\OrganizationalUnit|null $parent * * @return OrganizationalUnit */ @@ -216,9 +231,9 @@ class OrganizationalUnit } /** - * Get parent + * Get parent. * - * @return \Opengnsys\ServerBundle\Entity\OrganizationalUnit + * @return \Opengnsys\ServerBundle\Entity\OrganizationalUnit|null */ public function getParent() { @@ -226,9 +241,9 @@ class OrganizationalUnit } /** - * Set validationSettings + * Set validationSettings. * - * @param \Opengnsys\ServerBundle\Entity\ValidationSettings $validationSettings + * @param \Opengnsys\ServerBundle\Entity\ValidationSettings|null $validationSettings * * @return OrganizationalUnit */ @@ -240,9 +255,9 @@ class OrganizationalUnit } /** - * Get validationSettings + * Get validationSettings. * - * @return \Opengnsys\ServerBundle\Entity\ValidationSettings + * @return \Opengnsys\ServerBundle\Entity\ValidationSettings|null */ public function getValidationSettings() { @@ -250,9 +265,9 @@ class OrganizationalUnit } /** - * Set networkSettings + * Set networkSettings. * - * @param \Opengnsys\ServerBundle\Entity\NetworkSettings $networkSettings + * @param \Opengnsys\ServerBundle\Entity\NetworkSettings|null $networkSettings * * @return OrganizationalUnit */ @@ -264,53 +279,12 @@ class OrganizationalUnit } /** - * Get networkSettings + * Get networkSettings. * - * @return \Opengnsys\ServerBundle\Entity\NetworkSettings + * @return \Opengnsys\ServerBundle\Entity\NetworkSettings|null */ public function getNetworkSettings() { return $this->networkSettings; } - - - /** - * @var \Doctrine\Common\Collections\Collection - */ - private $clients; - - - /** - * Add client - * - * @param \Opengnsys\ServerBundle\Entity\Client $client - * - * @return OrganizationalUnit - */ - public function addClient(\Opengnsys\ServerBundle\Entity\Client $client) - { - $this->clients[] = $client; - - return $this; - } - - /** - * Remove client - * - * @param \Opengnsys\ServerBundle\Entity\Client $client - */ - public function removeClient(\Opengnsys\ServerBundle\Entity\Client $client) - { - $this->clients->removeElement($client); - } - - /** - * Get clients - * - * @return \Doctrine\Common\Collections\Collection - */ - public function getClients() - { - return $this->clients; - } } diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Partition.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Partition.php index 827e4422..84730076 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Partition.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Partition.php @@ -5,10 +5,8 @@ namespace Opengnsys\ServerBundle\Entity; /** * Partition */ -class Partition +class Partition extends BaseEntity { - - /** * @var integer */ diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Repository.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Repository.php index 73978c66..70029bcd 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Repository.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Repository.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * Repository */ -class Repository +class Repository extends BaseEntity { /** * @var string @@ -312,4 +312,5 @@ class Repository { return $this->group; } + } diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Software.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Software.php index cb1a1d93..19baadf1 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Software.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Software.php @@ -5,10 +5,8 @@ namespace Opengnsys\ServerBundle\Entity; /** * Software */ -class Software +class Software extends BaseEntity { - - /** * @var string */ diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/SoftwareProfile.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/SoftwareProfile.php index 127af8f0..fc314bbe 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/SoftwareProfile.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/SoftwareProfile.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * SoftwareProfile */ -class SoftwareProfile +class SoftwareProfile extends BaseEntity { /** diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Task.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Task.php index 26bd47c3..cbc20aa1 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Task.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Task.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * Task */ -class Task +class Task extends BaseEntity { /** diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Trace.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Trace.php index 516484a6..3527c41c 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Trace.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/Trace.php @@ -7,7 +7,7 @@ use Doctrine\ORM\Mapping as ORM; /** * Trace */ -class Trace +class Trace extends BaseEntity { /** diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/ValidationSettings.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/ValidationSettings.php index e12a4b9a..3685b00c 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/ValidationSettings.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/ValidationSettings.php @@ -5,7 +5,7 @@ namespace Opengnsys\ServerBundle\Entity; /** * ValidationSettings */ -class ValidationSettings +class ValidationSettings extends BaseEntity { /** * @var string diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/View.php b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/View.php index c682a693..085d8517 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/View.php +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Entity/View.php @@ -5,38 +5,39 @@ namespace Opengnsys\ServerBundle\Entity; /** * View */ -class View +class View extends BaseEntity { + /** * @var string */ private $name; /** - * @var string + * @var string|null */ private $comments; /** - * @var integer + * @var int */ private $id; /** * @var \Doctrine\Common\Collections\Collection */ - private $Client; + private $client; /** * Constructor */ public function __construct() { - $this->Client = new \Doctrine\Common\Collections\ArrayCollection(); + $this->client = new \Doctrine\Common\Collections\ArrayCollection(); } /** - * Set name + * Set name. * * @param string $name * @@ -50,7 +51,7 @@ class View } /** - * Get name + * Get name. * * @return string */ @@ -60,13 +61,13 @@ class View } /** - * Set comments + * Set comments. * - * @param string $comments + * @param string|null $comments * * @return View */ - public function setComments($comments) + public function setComments($comments = null) { $this->comments = $comments; @@ -74,9 +75,9 @@ class View } /** - * Get comments + * Get comments. * - * @return string + * @return string|null */ public function getComments() { @@ -84,9 +85,9 @@ class View } /** - * Get id + * Get id. * - * @return integer + * @return int */ public function getId() { @@ -94,7 +95,7 @@ class View } /** - * Add client + * Add client. * * @param \Opengnsys\ServerBundle\Entity\Client $client * @@ -102,28 +103,30 @@ class View */ public function addClient(\Opengnsys\ServerBundle\Entity\Client $client) { - $this->Client[] = $client; + $this->client[] = $client; return $this; } /** - * Remove client + * Remove client. * * @param \Opengnsys\ServerBundle\Entity\Client $client + * + * @return boolean TRUE if this collection contained the specified element, FALSE otherwise. */ public function removeClient(\Opengnsys\ServerBundle\Entity\Client $client) { - $this->Client->removeElement($client); + return $this->client->removeElement($client); } /** - * Get client + * Get client. * * @return \Doctrine\Common\Collections\Collection */ public function getClient() { - return $this->Client; + return $this->client; } } diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/BaseEntity.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/BaseEntity.orm.xml new file mode 100644 index 00000000..bba0ba15 --- /dev/null +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/BaseEntity.orm.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" + xsi="http://www.w3.org/2001/XMLSchema-instance" + schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> + + <mapped-superclass name="Opengnsys\ServerBundle\Entity\BaseEntity"> + + <field name="createdAt" type="datetime" column="created_at"/> + <field name="updatedAt" type="datetime" column="updated_at"/> + <field name="notes" type="text" column="notes" length="100" nullable="true"/> + + <lifecycle-callbacks> + <lifecycle-callback type="prePersist" method="setCreatedAtValue"/> + <lifecycle-callback type="preUpdate" method="setUpdatedAtValue"/> + </lifecycle-callbacks> + + </mapped-superclass> +</doctrine-mapping>
\ No newline at end of file diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Client.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Client.orm.xml index f910c1aa..a2a14100 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Client.orm.xml +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Client.orm.xml @@ -25,8 +25,7 @@ <one-to-many field="partitions" target-entity="\Opengnsys\ServerBundle\Entity\Partition" mapped-by="client"> <cascade> - <cascade-persist/> - <cascade-remove/> + <cascade-all/> </cascade> </one-to-many> diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/HardwareProfile.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/HardwareProfile.orm.xml index de64d397..5e8534fc 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/HardwareProfile.orm.xml +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/HardwareProfile.orm.xml @@ -19,8 +19,7 @@ <many-to-many field="hardwares" target-entity="\Opengnsys\ServerBundle\Entity\Hardware"> <cascade> - <cascade-persist/> - <cascade-remove/> + <cascade-all/> </cascade> <join-table name="og_hardware_profiles_hardwares"> diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Image.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Image.orm.xml index f85f92d5..3c4903c4 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Image.orm.xml +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Image.orm.xml @@ -22,9 +22,6 @@ <field name="fileSize" column="file_size" type="string" length="20" nullable="true"/> - <field name="createdAt" type="datetime" column="created_at" nullable="true"/> - <field name="updatedAt" type="datetime" column="updated_at" nullable="true"/> - <!-- <field name="filesystem" column="filesystem" type="string" length="250" nullable="true"/> <field name="partitionCode" column="partition_code" type="string" length="250" nullable="true"/> diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/OrganizationalUnit.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/OrganizationalUnit.orm.xml index 5e70163b..629aa957 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/OrganizationalUnit.orm.xml +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/OrganizationalUnit.orm.xml @@ -11,6 +11,7 @@ <field name="name" type="string" column="name" length="200" nullable="false"/> <field name="description" type="text" column="description" nullable="true"/> + <field name="comments" type="text" column="comments" nullable="true"/> <!-- <field name="urlphoto" type="string" column="url_photo" length="250" nullable="true"/> @@ -48,9 +49,7 @@ <many-to-one field="networkSettings" target-entity="\Opengnsys\ServerBundle\Entity\NetworkSettings"> <cascade> - <cascade-persist/> - <cascade-remove/> - <!--<cascade-all/>--> + <cascade-all/> </cascade> <join-columns> <join-column name="network_settings_id" referenced-column-name="id"/> diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Repository.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Repository.orm.xml index 2fed3898..26995030 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Repository.orm.xml +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/Repository.orm.xml @@ -15,9 +15,10 @@ <field name="configurationpath" type="string" column="configurationpath" length="250" nullable="false"/> <field name="adminpath" type="string" column="adminpath" length="250" nullable="false"/> <field name="pxepath" type="string" column="pxepath" length="250" nullable="false"/> - <field name="description" type="text" column="description" nullable="true"/> <field name="port" type="integer" column="port" nullable="false"/> + <field name="description" type="text" column="description" nullable="true"/> + <many-to-one field="organizationalUnit" target-entity="OrganizationalUnit"> <join-columns> <join-column name="organizational_unit_id" referenced-column-name="id"/> diff --git a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/View.orm.xml b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/View.orm.xml index 38ca84eb..48b008af 100644 --- a/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/View.orm.xml +++ b/admin/WebConsole3/backend/src/Opengnsys/ServerBundle/Resources/config/doctrine/View.orm.xml @@ -22,7 +22,7 @@ </many-to-one> --> - <many-to-many field="Client" target-entity="\Opengnsys\ServerBundle\Entity\Client"> + <many-to-many field="client" target-entity="\Opengnsys\ServerBundle\Entity\Client"> <join-table name="og_views__clients"> <join-columns> <join-column name="views_id" referenced-column-name="id"/> |