Commit 1c63b6a52826f7e44a4a8be16d192d82ca038564
1 parent
8d1d063826
Exists in
master
eliminado todos los archivos temporales generados antes de colocarlos en el gitignore
Showing
74 changed files
with
0 additions
and
7582 deletions
Show diff stats
.bowerrc
.idea/.name
app/Resources/views/solicitudes/register.html.twig~
@@ -1,44 +0,0 @@ | @@ -1,44 +0,0 @@ | ||
1 | -{% extends 'base.html.twig' %} | ||
2 | - | ||
3 | -{% block body %} | ||
4 | - {% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %} | ||
5 | - {{ form_start(form) }} | ||
6 | - {{ form_widget(form) }} | ||
7 | - | ||
8 | - | ||
9 | -{% endblock %} | ||
10 | - | ||
11 | -{% block stylesheets %} | ||
12 | - {{ parent() }} | ||
13 | - <style> | ||
14 | - .esc_oposicion, .esc_asistente, .esc_agregado{ | ||
15 | - display: none; | ||
16 | - } | ||
17 | - </style> | ||
18 | -{% endblock %} | ||
19 | - | ||
20 | - | ||
21 | -{% block javascripts %} | ||
22 | - {{ parent() }} | ||
23 | - <script type="text/javascript"> | ||
24 | - $('#user_oposicion').click(function() { | ||
25 | - $('.esc_oposicion')[this.checked ? "show" : "hide"](); | ||
26 | - }); | ||
27 | - | ||
28 | - $('#user_ascenso').click(function() { | ||
29 | - //alert($("#user_escalafones").val()); | ||
30 | - if($("#user_escalafones").val() == 1) | ||
31 | - $('.esc_asistente')[this.checked ? "show" : "hide"](); | ||
32 | - if($("#user_escalafones").val() == 2) | ||
33 | - $('.esc_agregado')[this.checked ? "show" : "hide"](); | ||
34 | - }); | ||
35 | - | ||
36 | - | ||
37 | - $('#user_ascenso2').click(function() { | ||
38 | - alert($('.esc_asistente').val()); | ||
39 | - if($("#user_escalafones").val() == 2) | ||
40 | - $('.esc_agregado')[this.checked ? "show" : "hide"](); | ||
41 | - }); | ||
42 | - | ||
43 | - </script> | ||
44 | -{% endblock %} |
app/cache/.gitkeep
app/config/parameters.yml~
@@ -1,13 +0,0 @@ | @@ -1,13 +0,0 @@ | ||
1 | -# This file is auto-generated during the composer install | ||
2 | -parameters: | ||
3 | - adscripcion_directory: '%kernel.root_dir%/../web/uploads/solicitudes' | ||
4 | - database_host: 127.0.0.1 | ||
5 | - database_port: null | ||
6 | - database_name: cea_db_sym | ||
7 | - database_user: wilmer | ||
8 | - database_password: 17135525 | ||
9 | - mailer_transport: gmail | ||
10 | - mailer_host: smtp.gmail.com | ||
11 | - mailer_user: wilmer.ramones@gmail.com | ||
12 | - mailer_password: 07102009RR | ||
13 | - secret: as47d657ew8r74654j8974k51sd4fg65a4s984 |
app/config/security.yml~
@@ -1,39 +0,0 @@ | @@ -1,39 +0,0 @@ | ||
1 | -# To get started with security, check out the documentation: | ||
2 | -# http://symfony.com/doc/current/book/security.html | ||
3 | -security: | ||
4 | - encoders: | ||
5 | - AppBundle\Entity\Usuarios: | ||
6 | - algorithm: bcrypt | ||
7 | - | ||
8 | - # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers | ||
9 | - providers: | ||
10 | - our_db_provider: | ||
11 | - entity: | ||
12 | - class: AppBundle:Usuarios | ||
13 | - property: username | ||
14 | - | ||
15 | - firewalls: | ||
16 | - main: | ||
17 | - anonymous: ~ | ||
18 | - http_basic: ~ | ||
19 | - provider: our_db_provider | ||
20 | - form_login: | ||
21 | - login_path: /login | ||
22 | - check_path: /login | ||
23 | - csrf_token_generator: security.csrf.token_manager | ||
24 | - logout: | ||
25 | - path: /logout | ||
26 | - target: / | ||
27 | - | ||
28 | - | ||
29 | - # activate different ways to authenticate | ||
30 | - | ||
31 | - # http_basic: ~ | ||
32 | - # http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate | ||
33 | - | ||
34 | - # form_login: ~ | ||
35 | - # http://symfony.com/doc/current/cookbook/security/form_login_setup.html | ||
36 | - access_control: | ||
37 | - - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } | ||
38 | - - { path: ^/admin, roles: ROLE_ADMINISTRADOR } | ||
39 | - - { path: ^/, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
app/logs/.gitkeep
src/AppBundle/Controller/DefaultController.php~
@@ -1,137 +0,0 @@ | @@ -1,137 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Controller; | ||
4 | - | ||
5 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | ||
6 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; | ||
7 | -use Symfony\Component\HttpFoundation\Request; | ||
8 | - | ||
9 | -use AppBundle\Entity\Usuarios; | ||
10 | - | ||
11 | -class DefaultController extends Controller | ||
12 | -{ | ||
13 | - /** | ||
14 | - * @Route("/", name="homepage") | ||
15 | - */ | ||
16 | - public function indexAction(Request $request) | ||
17 | - { | ||
18 | - $form = $this->createForm('AppBundle\Form\SolicitarType'); | ||
19 | - $form->handleRequest($request); | ||
20 | - | ||
21 | - if ($form->isSubmitted() && $form->isValid()) { | ||
22 | - | ||
23 | - //1. obtener el rol-institucion-persona | ||
24 | - $rol = $this->getDoctrine()->getRepository( | ||
25 | - 'AppBundle:RolInstitucion')->findOneByIdRol( | ||
26 | - $this->getDoctrine()->getRepository( | ||
27 | - 'AppBundle:Rol')->findOneByIdPersona( | ||
28 | - $this->getDoctrine()->getRepository('AppBundle:Persona') | ||
29 | - ->findOneByCedulaPasaporte($form->get('cedula')->getData())->getId())); | ||
30 | - | ||
31 | - //si no existe el rol del docente, enviar correo al encargado de la regiรณn para verificar. | ||
32 | - if (!$rol) { | ||
33 | - throw $this->createNotFoundException( | ||
34 | - 'No product found for id '. $form->get('cedula')->getData() | ||
35 | - ); | ||
36 | - } | ||
37 | - | ||
38 | - //si el docente existe, crea el nombre de usuario. | ||
39 | - $usuario = mb_strtolower($rol->getIdRol()->getIdPersona()->getPrimerNombre()[0] .$rol->getIdRol()->getIdPersona()->getPrimerApellido()); | ||
40 | - //busca en la base de datos para ver si ese nombre de usuario ya existe | ||
41 | - $credenciales = $this->getDoctrine()->getRepository('AppBundle:Usuarios')->findOneByUsername($usuario); | ||
42 | - if(!$credenciales){ //si no existe, procede a crear usuario y contraseรฑa. | ||
43 | - $login = new Usuarios(); | ||
44 | - $login->setUsername($usuario); | ||
45 | - $login->setPlainPassword($form->get('cedula')->getData()); | ||
46 | - $password = $this->get('security.password_encoder') | ||
47 | - ->encodePassword($login, $login->getPlainPassword()); //encripta la contraseรฑa | ||
48 | - $login->setPassword($password); | ||
49 | - $login->setIdRolInstitucion($rol); | ||
50 | - $permiso = $this->getDoctrine()->getRepository('AppBundle:Role')->findOneById(3); | ||
51 | - $login->addRol($permiso); //le aรฑade la permisologรญa bรกsica de docente | ||
52 | - $em = $this->getDoctrine()->getManager(); | ||
53 | - $em->persist($login); | ||
54 | - $em->flush(); //guarda en la base de datos | ||
55 | - | ||
56 | - | ||
57 | - $message = \Swift_Message::newInstance() | ||
58 | - ->setSubject('Bienvenido al sistema CEA@UBV') | ||
59 | - ->setFrom('wilmer.ramones@gmail.com') | ||
60 | - ->setTo($form->get('correo')->getData()) | ||
61 | - ->setBody( | ||
62 | - $this->renderView( | ||
63 | - 'correos/solicitud_adscripcion.html.twig', | ||
64 | - array( | ||
65 | - 'nombres' => $form->get('nombres')->getData(), | ||
66 | - 'apellidos' => $form->get('apellidos')->getData(), | ||
67 | - 'usuario' => $login->getUsername(), | ||
68 | - 'contra' => $login->getPlainPassword(), | ||
69 | - | ||
70 | - ) | ||
71 | - ), | ||
72 | - 'text/html' | ||
73 | - ) | ||
74 | - /* | ||
75 | - * If you also want to include a plaintext version of the message | ||
76 | - ->addPart( | ||
77 | - $this->renderView( | ||
78 | - 'Emails/registration.txt.twig', | ||
79 | - array('name' => $name) | ||
80 | - ), | ||
81 | - 'text/plain' | ||
82 | - ) | ||
83 | - */ | ||
84 | - ; | ||
85 | - $this->get('mailer')->send($message); | ||
86 | - | ||
87 | - | ||
88 | - | ||
89 | - }else{ | ||
90 | - throw $this->createNotFoundException( | ||
91 | - 'Ya tiene usuario y contraseรฑa '. $form->get('cedula')->getData() | ||
92 | - ); | ||
93 | - } | ||
94 | - throw $this->createNotFoundException( | ||
95 | - 'Docente Encontrado '. $form->get('cedula')->getData() | ||
96 | - ); | ||
97 | - | ||
98 | - | ||
99 | - | ||
100 | - $message = \Swift_Message::newInstance() | ||
101 | - ->setSubject('Hello Email') | ||
102 | - ->setFrom('send@example.com') | ||
103 | - ->setTo('wilmer.ramones@gmail.com') | ||
104 | - ->setBody( | ||
105 | - $this->renderView( | ||
106 | - 'correos/solicitud_adscripcion.html.twig', | ||
107 | - array( | ||
108 | - 'nombres' => $form->get('nombres')->getData(), | ||
109 | - 'apellidos' => $form->get('apellidos')->getData(), | ||
110 | - | ||
111 | - ) | ||
112 | - ), | ||
113 | - 'text/html' | ||
114 | - ) | ||
115 | - /* | ||
116 | - * If you also want to include a plaintext version of the message | ||
117 | - ->addPart( | ||
118 | - $this->renderView( | ||
119 | - 'Emails/registration.txt.twig', | ||
120 | - array('name' => $name) | ||
121 | - ), | ||
122 | - 'text/plain' | ||
123 | - ) | ||
124 | - */ | ||
125 | - ; | ||
126 | - //$this->get('mailer')->send($message); | ||
127 | - | ||
128 | - //$request->getSession()->getFlashBag()->add('success', 'Your email has been sent! Thanks!'); | ||
129 | - } | ||
130 | - | ||
131 | - // replace this example code with whatever you need | ||
132 | - return $this->render('default/index.html.twig', array( | ||
133 | - 'base_dir' => realpath($this->container->getParameter('kernel.root_dir').'/..'), | ||
134 | - 'form' => $form->createView(), | ||
135 | - )); | ||
136 | - } | ||
137 | -} |
src/AppBundle/Controller/RegistrationController.php~
@@ -1,92 +0,0 @@ | @@ -1,92 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: ubv-cipee | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 09:08 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Controller; | ||
10 | - | ||
11 | -use AppBundle\Form\UserType; | ||
12 | -use AppBundle\Entity\Usuarios; | ||
13 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | ||
14 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; | ||
15 | -use Symfony\Component\HttpFoundation\Request; | ||
16 | -use AppBundle\Entity\Adscripcion; | ||
17 | -use AppBundle\Entity\DocenteEscala; | ||
18 | - | ||
19 | -class RegistrationController extends Controller | ||
20 | -{ | ||
21 | - /** | ||
22 | - * @Route("/register", name="user_registration") | ||
23 | - */ | ||
24 | - public function registerAction(Request $request) | ||
25 | - { | ||
26 | - | ||
27 | - $adscripcion = new Adscripcion(); | ||
28 | - $escala = new DocenteEscala(); | ||
29 | - $form = $this->createForm('AppBundle\Form\UserType'); | ||
30 | - $form->handleRequest($request); | ||
31 | - | ||
32 | - if ($form->isSubmitted() && $form->isValid()) { | ||
33 | - //var_dump($user = $this->getUser()->getIdRolInstitucion()->getId()); exit; | ||
34 | - // $file stores the uploaded PDF file | ||
35 | - /** @var Symfony\Component\HttpFoundation\File\UploadedFile $file */ | ||
36 | - $constanciaTrabajo = $form->get('trabajo')->getData(); | ||
37 | - $constanciaPregrado = $form->get('pregrado')->getData(); | ||
38 | - | ||
39 | - | ||
40 | - | ||
41 | - // Generate a unique name for the file before saving it | ||
42 | - $nombreTrabajo = md5(uniqid()).'.'.$constanciaTrabajo->guessExtension(); | ||
43 | - $nombrePregrado = md5(uniqid()).'.'.$constanciaPregrado->guessExtension(); | ||
44 | - | ||
45 | - // Move the file to the directory where brochures are stored | ||
46 | - $constanciaTrabajo->move( | ||
47 | - $this->container->getParameter('adscripcion_directory'), | ||
48 | - $nombreTrabajo | ||
49 | - ); | ||
50 | - | ||
51 | - $constanciaPregrado->move( | ||
52 | - $this->container->getParameter('adscripcion_directory'), | ||
53 | - $nombrePregrado | ||
54 | - ); | ||
55 | - | ||
56 | - if($form->get('postgrado')->getData()) { | ||
57 | - $constanciaPostgrado = $form->get('postgrado')->getData(); | ||
58 | - $nombrePostgrado = md5(uniqid()).'.'.$constanciaPregrado->guessExtension(); | ||
59 | - $constanciaPostgrado->move( | ||
60 | - $this->container->getParameter('adscripcion_directory'), | ||
61 | - $nombrePostgrado | ||
62 | - ); | ||
63 | - } | ||
64 | - | ||
65 | - // Update the 'brochure' property to store the PDF file name | ||
66 | - // instead of its contents | ||
67 | - $adscripcion->setTrabajo($nombreTrabajo); | ||
68 | - $adscripcion->setPregrado($nombrePregrado); | ||
69 | - $adscripcion->setIdRolInstitucion($this->getUser()->getIdRolInstitucion()); | ||
70 | - $escala->setIdRolInstitucion($this->getUser()->getIdRolInstitucion()); | ||
71 | - $escala->setFechaEscala($form->get('fecha_oposicion')->getData()); | ||
72 | - | ||
73 | - | ||
74 | - | ||
75 | - $em = $this->getDoctrine()->getManager(); | ||
76 | - $em->persist($adscripcion); | ||
77 | - $em->persist($escala); | ||
78 | - | ||
79 | - $em->flush(); //guarda en la base de datos | ||
80 | - | ||
81 | - | ||
82 | - | ||
83 | - | ||
84 | - //return $this->redirect($this->generateUrl('app_product_list')); | ||
85 | - } | ||
86 | - | ||
87 | - return $this->render( | ||
88 | - 'registration/register.html.twig', | ||
89 | - array('form' => $form->createView()) | ||
90 | - ); | ||
91 | - } | ||
92 | -} |
src/AppBundle/Entity/ActividadDocente.php~
@@ -1,111 +0,0 @@ | @@ -1,111 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * ActividadDocente | ||
9 | - * | ||
10 | - * @ORM\Table(name="actividad_docente", uniqueConstraints={@ORM\UniqueConstraint(name="uq_actividad_docente", columns={"nombre"})}, indexes={@ORM\Index(name="IDX_C4F229CA50BDD1F3", columns={"id_estatus"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class ActividadDocente | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la actividad_docente"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de la actividad_docente"}) | ||
26 | - * @ORM\Id | ||
27 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
28 | - * @ORM\SequenceGenerator(sequenceName="escala_id_seq", allocationSize=1, initialValue=1) | ||
29 | - */ | ||
30 | - private $id; | ||
31 | - | ||
32 | - /** | ||
33 | - * @var \AppBundle\Entity\Estatus | ||
34 | - * | ||
35 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
36 | - * @ORM\JoinColumns({ | ||
37 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
38 | - * }) | ||
39 | - */ | ||
40 | - private $idEstatus; | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | - | ||
46 | - /** | ||
47 | - * Set nombre | ||
48 | - * | ||
49 | - * @param string $nombre | ||
50 | - * @return ActividadDocente | ||
51 | - */ | ||
52 | - public function setNombre($nombre) | ||
53 | - { | ||
54 | - $this->nombre = $nombre; | ||
55 | - | ||
56 | - return $this; | ||
57 | - } | ||
58 | - | ||
59 | - /** | ||
60 | - * Get nombre | ||
61 | - * | ||
62 | - * @return string | ||
63 | - */ | ||
64 | - public function getNombre() | ||
65 | - { | ||
66 | - return $this->nombre; | ||
67 | - } | ||
68 | - | ||
69 | - /** | ||
70 | - * Get id | ||
71 | - * | ||
72 | - * @return integer | ||
73 | - */ | ||
74 | - public function getId() | ||
75 | - { | ||
76 | - return $this->id; | ||
77 | - } | ||
78 | - | ||
79 | - /** | ||
80 | - * Set idEstatus | ||
81 | - * | ||
82 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
83 | - * @return ActividadDocente | ||
84 | - */ | ||
85 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
86 | - { | ||
87 | - $this->idEstatus = $idEstatus; | ||
88 | - | ||
89 | - return $this; | ||
90 | - } | ||
91 | - | ||
92 | - /** | ||
93 | - * Get idEstatus | ||
94 | - * | ||
95 | - * @return \AppBundle\Entity\Estatus | ||
96 | - */ | ||
97 | - public function getIdEstatus() | ||
98 | - { | ||
99 | - return $this->idEstatus; | ||
100 | - } | ||
101 | - | ||
102 | - | ||
103 | - /** | ||
104 | - * Get toString | ||
105 | - * | ||
106 | - * @return string | ||
107 | - */ | ||
108 | - public function __toString() { | ||
109 | - return $this->getNombre(); | ||
110 | - } | ||
111 | -} |
src/AppBundle/Entity/Adscripcion.php~
@@ -1,461 +0,0 @@ | @@ -1,461 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: Wilmer Ramones | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 07:52 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Entity; | ||
10 | - | ||
11 | -use Doctrine\ORM\Mapping as ORM; | ||
12 | -use Symfony\Component\Validator\Constraints as Assert; | ||
13 | -use Doctrine\Common\Collections\ArrayCollection; | ||
14 | - | ||
15 | -/** | ||
16 | - * Adscripcion | ||
17 | - * | ||
18 | - * @ORM\Table(name="solicitud_adscripcion", uniqueConstraints={@ORM\UniqueConstraint(name="adscripcion_id_rol_institucion_key", columns={"id_rol_institucion"})}) | ||
19 | - * @ORM\Entity | ||
20 | - * @ORM\HasLifecycleCallbacks() | ||
21 | - */ | ||
22 | -class Adscripcion | ||
23 | -{ | ||
24 | - | ||
25 | - /** | ||
26 | - * @var integer | ||
27 | - * | ||
28 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la Adscripcion"}) | ||
29 | - * @ORM\Id | ||
30 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
31 | - * @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1) | ||
32 | - */ | ||
33 | - private $id; | ||
34 | - | ||
35 | - | ||
36 | - | ||
37 | - /** | ||
38 | - * @var \AppBundle\Entity\RolInstitucion | ||
39 | - * | ||
40 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
41 | - * @ORM\JoinColumns({ | ||
42 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
43 | - * }) | ||
44 | - */ | ||
45 | - protected $idRolInstitucion; | ||
46 | - | ||
47 | - /** @ORM\Column(type="date", nullable=false, options={"comment" = "Fecha de de Ingreso a la Institucion"}) | ||
48 | - /** | ||
49 | - * @Assert\Date() | ||
50 | - */ | ||
51 | - private $fecha_ingreso; | ||
52 | - | ||
53 | - | ||
54 | - /** | ||
55 | - * @var \AppBundle\Entity\LineasInvestigacion | ||
56 | - * | ||
57 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\LineasInvestigacion") | ||
58 | - * @ORM\JoinColumns({ | ||
59 | - * @ORM\JoinColumn(name="id_linea_investigacion", referencedColumnName="id", nullable=true) | ||
60 | - * }) | ||
61 | - */ | ||
62 | - protected $idLineaInvestigacion; | ||
63 | - | ||
64 | - | ||
65 | - /** | ||
66 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion de la constancia de trabajo"}) | ||
67 | - * | ||
68 | - * @Assert\NotBlank(message="Debe cargar su constancia de Trabajo, es obligatoria.") | ||
69 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
70 | - */ | ||
71 | - private $trabajo; | ||
72 | - | ||
73 | - | ||
74 | - /** | ||
75 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion del titulo de pregrado"}) | ||
76 | - * | ||
77 | - * @Assert\NotBlank(message="debe cargar su tรญtulo de pregrado en digital, es obligatorio.") | ||
78 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
79 | - */ | ||
80 | - private $pregrado; | ||
81 | - | ||
82 | - | ||
83 | - /** | ||
84 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "ubicacion del titulo de postgrado en caso de tenerlo"}) | ||
85 | - * | ||
86 | - * | ||
87 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
88 | - */ | ||
89 | - private $postgrado; | ||
90 | - | ||
91 | - /** | ||
92 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de aprobaciรณn del concurso de oposicion"}) | ||
93 | - * | ||
94 | - * | ||
95 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
96 | - */ | ||
97 | - private $oposicion; | ||
98 | - | ||
99 | - /** | ||
100 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de Asistente"}) | ||
101 | - * | ||
102 | - * | ||
103 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
104 | - */ | ||
105 | - private $asistente; | ||
106 | - | ||
107 | - /** | ||
108 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de Asociado"}) | ||
109 | - * | ||
110 | - * | ||
111 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
112 | - */ | ||
113 | - private $asociado; | ||
114 | - | ||
115 | - | ||
116 | - | ||
117 | - | ||
118 | - /** | ||
119 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de agregado"}) | ||
120 | - * | ||
121 | - * | ||
122 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
123 | - */ | ||
124 | - private $agreado; | ||
125 | - | ||
126 | - | ||
127 | - /** | ||
128 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de titular"}) | ||
129 | - * | ||
130 | - * | ||
131 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
132 | - */ | ||
133 | - private $titular; | ||
134 | - | ||
135 | - | ||
136 | - | ||
137 | - /** | ||
138 | - * @ORM\Column(name="titulo_trabajo", type="string", nullable=true, options={"comment" = "titulo del trabajo de investigacion"}) | ||
139 | - */ | ||
140 | - private $tituloTrabajo; | ||
141 | - | ||
142 | - | ||
143 | - /** | ||
144 | - * @ORM\Column(name="ano_adscripcion", type="string", nullable=true, options={"comment" = "El nรบmero de profesor nos permitirรก saber la cantidad de profesores adscritos al CEA por eje geopolรญtico y desde cuando"}) | ||
145 | - */ | ||
146 | - private $anoAdscripcion; | ||
147 | - | ||
148 | - | ||
149 | - /** | ||
150 | - * @ORM\Column(name="correlativo_adscripcion", type="integer", nullable=true, options={"comment" = "El nรบmero de profesor nos permitirรก saber la cantidad de profesores adscritos al CEA por eje geopolรญtico y desde cuando"}) | ||
151 | - */ | ||
152 | - private $correlativoAdscripcion; | ||
153 | - | ||
154 | - | ||
155 | - | ||
156 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
157 | - | ||
158 | - */ | ||
159 | - | ||
160 | - private $fecha_creacion; | ||
161 | - | ||
162 | - | ||
163 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
164 | - | ||
165 | - */ | ||
166 | - | ||
167 | - private $fecha_ultima_actualizacion; | ||
168 | - | ||
169 | - /** | ||
170 | - * @var \AppBundle\Entity\Estatus | ||
171 | - * | ||
172 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
173 | - * @ORM\JoinColumns({ | ||
174 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
175 | - * }) | ||
176 | - */ | ||
177 | - protected $idEstatus; | ||
178 | - | ||
179 | - | ||
180 | - | ||
181 | - | ||
182 | - | ||
183 | - public function getTrabajo() | ||
184 | - { | ||
185 | - return $this->trabajo; | ||
186 | - } | ||
187 | - | ||
188 | - public function setTrabajo($trabajo) | ||
189 | - { | ||
190 | - $this->trabajo = $trabajo; | ||
191 | - | ||
192 | - return $this; | ||
193 | - } | ||
194 | - | ||
195 | - public function getPregrado() | ||
196 | - { | ||
197 | - return $this->pregrado; | ||
198 | - } | ||
199 | - | ||
200 | - public function setPregrado($pregrado) | ||
201 | - { | ||
202 | - $this->pregrado = $pregrado; | ||
203 | - | ||
204 | - return $this; | ||
205 | - } | ||
206 | - | ||
207 | - public function getPostgrado() | ||
208 | - { | ||
209 | - return $this->postgrado; | ||
210 | - } | ||
211 | - | ||
212 | - public function setPostgrado($postgrado) | ||
213 | - { | ||
214 | - $this->postgrado = $postgrado; | ||
215 | - | ||
216 | - return $this; | ||
217 | - } | ||
218 | - | ||
219 | - public function getAsistente() | ||
220 | - { | ||
221 | - return $this->asistente; | ||
222 | - } | ||
223 | - | ||
224 | - public function setAsistente($asistente) | ||
225 | - { | ||
226 | - $this->asistente = $asistente; | ||
227 | - | ||
228 | - return $this; | ||
229 | - } | ||
230 | - | ||
231 | - /** | ||
232 | - * @return mixed | ||
233 | - */ | ||
234 | - public function getOposicion() | ||
235 | - { | ||
236 | - return $this->oposicion; | ||
237 | - } | ||
238 | - | ||
239 | - /** | ||
240 | - * @param mixed $oposicion | ||
241 | - */ | ||
242 | - public function setOposicion($oposicion) | ||
243 | - { | ||
244 | - $this->oposicion = $oposicion; | ||
245 | - } | ||
246 | - | ||
247 | - /** | ||
248 | - * @return mixed | ||
249 | - */ | ||
250 | - public function getAsociado() | ||
251 | - { | ||
252 | - return $this->asociado; | ||
253 | - } | ||
254 | - | ||
255 | - /** | ||
256 | - * @param mixed $asociado | ||
257 | - */ | ||
258 | - public function setAsociado($asociado) | ||
259 | - { | ||
260 | - $this->asociado = $asociado; | ||
261 | - } | ||
262 | - | ||
263 | - /** | ||
264 | - * @return mixed | ||
265 | - */ | ||
266 | - public function getAgreado() | ||
267 | - { | ||
268 | - return $this->agreado; | ||
269 | - } | ||
270 | - | ||
271 | - /** | ||
272 | - * @param mixed $agreado | ||
273 | - */ | ||
274 | - public function setAgreado($agreado) | ||
275 | - { | ||
276 | - $this->agreado = $agreado; | ||
277 | - } | ||
278 | - | ||
279 | - /** | ||
280 | - * @return mixed | ||
281 | - */ | ||
282 | - public function getTitular() | ||
283 | - { | ||
284 | - return $this->titular; | ||
285 | - } | ||
286 | - | ||
287 | - /** | ||
288 | - * @param mixed $titular | ||
289 | - */ | ||
290 | - public function setTitular($titular) | ||
291 | - { | ||
292 | - $this->titular = $titular; | ||
293 | - } | ||
294 | - | ||
295 | - /** | ||
296 | - * Get id | ||
297 | - * | ||
298 | - * @return integer | ||
299 | - */ | ||
300 | - public function getId() | ||
301 | - { | ||
302 | - return $this->id; | ||
303 | - } | ||
304 | - | ||
305 | - | ||
306 | - /** | ||
307 | - * Set idRolInstitucion | ||
308 | - * | ||
309 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
310 | - * @return Usuarios | ||
311 | - */ | ||
312 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) | ||
313 | - { | ||
314 | - $this->idRolInstitucion = $idRolInstitucion; | ||
315 | - | ||
316 | - return $this; | ||
317 | - } | ||
318 | - | ||
319 | - /** | ||
320 | - * Get idRolInstitucion | ||
321 | - * | ||
322 | - * @return \AppBundle\Entity\RolInstitucion | ||
323 | - */ | ||
324 | - public function getIdRolInstitucion() | ||
325 | - { | ||
326 | - return $this->idRolInstitucion; | ||
327 | - } | ||
328 | - | ||
329 | - | ||
330 | - | ||
331 | - /** | ||
332 | - * Set idLineaInvestigacion | ||
333 | - * | ||
334 | - * @param \AppBundle\Entity\LineasInvestigacion $idLineaInvestigacion | ||
335 | - * @return LineasInvestigacion | ||
336 | - */ | ||
337 | - public function setIdLineaInvestigacion(\AppBundle\Entity\LineasInvestigacion $idLineaInvestigacion = null) | ||
338 | - { | ||
339 | - $this->idLineaInvestigacion = $idLineaInvestigacion; | ||
340 | - | ||
341 | - return $this; | ||
342 | - } | ||
343 | - | ||
344 | - /** | ||
345 | - * Get idLineaIvestigacion | ||
346 | - * | ||
347 | - * @return \AppBundle\Entity\LineasInvestigacion | ||
348 | - */ | ||
349 | - public function getIdLineaInvestigacion() | ||
350 | - { | ||
351 | - return $this->idLineaInvestigacion; | ||
352 | - } | ||
353 | - | ||
354 | - | ||
355 | - | ||
356 | - /** | ||
357 | - * Set idEstatus | ||
358 | - * | ||
359 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
360 | - * @return Estatus | ||
361 | - */ | ||
362 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus = null) | ||
363 | - { | ||
364 | - $this->idEstatus = $idEstatus; | ||
365 | - | ||
366 | - return $this; | ||
367 | - } | ||
368 | - | ||
369 | - /** | ||
370 | - * Get idEstatus | ||
371 | - * | ||
372 | - * @return \AppBundle\Entity\Estatus | ||
373 | - */ | ||
374 | - public function getIdEstatus() | ||
375 | - { | ||
376 | - return $this->idEstatus; | ||
377 | - } | ||
378 | - | ||
379 | - | ||
380 | - | ||
381 | - /** | ||
382 | - * @ORM\PrePersist | ||
383 | - */ | ||
384 | - public function setFechaCreacion() | ||
385 | - { | ||
386 | - $this->fecha_creacion = new \DateTime(); | ||
387 | - $this->fecha_ultima_actualizacion = new \DateTime(); | ||
388 | - } | ||
389 | - | ||
390 | - public function getFechaCreacion() | ||
391 | - { | ||
392 | - return $this->fecha_creacion; | ||
393 | - | ||
394 | - } | ||
395 | - | ||
396 | - | ||
397 | - /** | ||
398 | - * @ORM\PreUpdate | ||
399 | - */ | ||
400 | - public function setFechaUltimaActualizacion() | ||
401 | - { | ||
402 | - $this->fecha_utlima_actualizacion = new \DateTime(); | ||
403 | - } | ||
404 | - | ||
405 | - | ||
406 | - | ||
407 | - /** | ||
408 | - * @return mixed | ||
409 | - */ | ||
410 | - public function getTituloTrabajo() | ||
411 | - { | ||
412 | - return $this->tituloTrabajo; | ||
413 | - } | ||
414 | - | ||
415 | - | ||
416 | - /** | ||
417 | - * @param mixed $tituloTrabajo | ||
418 | - */ | ||
419 | - public function setTituloTrabajo($tituloTrabajo) | ||
420 | - { | ||
421 | - $this->tituloTrabajo = $tituloTrabajo; | ||
422 | - } | ||
423 | - | ||
424 | - | ||
425 | - /** | ||
426 | - * Set fecha_escala | ||
427 | - * | ||
428 | - * @param \DateTime $fecha_escala | ||
429 | - * @return Comment | ||
430 | - */ | ||
431 | - public function setFechaIngreso($fecha_ingreso) | ||
432 | - { | ||
433 | - $this->fecha_ingreso = $fecha_ingreso; | ||
434 | - | ||
435 | - return $this; | ||
436 | - } | ||
437 | - | ||
438 | - /** | ||
439 | - * Get fecha_escala | ||
440 | - * | ||
441 | - * @return \DateTime | ||
442 | - */ | ||
443 | - public function getFechaIngreso() | ||
444 | - { | ||
445 | - return $this->fecha_ingreso; | ||
446 | - } | ||
447 | - | ||
448 | - | ||
449 | - | ||
450 | - | ||
451 | - | ||
452 | - /** | ||
453 | - * Get fecha_ultima_actualizacion | ||
454 | - * | ||
455 | - * @return \DateTime | ||
456 | - */ | ||
457 | - public function getFechaUltimaActualizacion() | ||
458 | - { | ||
459 | - return $this->fecha_ultima_actualizacion; | ||
460 | - } | ||
461 | -} |
src/AppBundle/Entity/AdscripcionPida.php~
@@ -1,315 +0,0 @@ | @@ -1,315 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | - | ||
4 | -namespace AppBundle\Entity; | ||
5 | - | ||
6 | -use Doctrine\ORM\Mapping as ORM; | ||
7 | - | ||
8 | - | ||
9 | -/** | ||
10 | - * AdscripcionPida | ||
11 | - * | ||
12 | - * @ORM\Table(name="solicitud_pida", uniqueConstraints={@ORM\UniqueConstraint(name="pida_id_rol_institucion_key", columns={"id_rol_institucion"})}) | ||
13 | - * @ORM\Entity | ||
14 | - * @ORM\HasLifecycleCallbacks() | ||
15 | - */ | ||
16 | -class AdscripcionPida | ||
17 | -{ | ||
18 | - | ||
19 | - /** | ||
20 | - * @var integer | ||
21 | - * | ||
22 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la AdscripcionPida"}) | ||
23 | - * @ORM\Id | ||
24 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
25 | - * @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1) | ||
26 | - */ | ||
27 | - private $id; | ||
28 | - | ||
29 | - | ||
30 | - /** | ||
31 | - * @ORM\OneToMany(targetEntity="AppBundle\Entity\PidaTareaEspecifico", mappedBy="AdscripcionPidaId",cascade={"all"}) | ||
32 | - * @var \Doctrine\Common\Collections\ArrayCollection | ||
33 | - */ | ||
34 | - private $pidaTareaEspecifico; | ||
35 | - | ||
36 | - | ||
37 | - | ||
38 | - /** | ||
39 | - * @var \AppBundle\Entity\RolInstitucion | ||
40 | - * | ||
41 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion", inversedBy="pida") | ||
42 | - * @ORM\JoinColumns({ | ||
43 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
44 | - * }) | ||
45 | - */ | ||
46 | - protected $idRolInstitucion; | ||
47 | - | ||
48 | - | ||
49 | - | ||
50 | - /** | ||
51 | - * @var \AppBundle\Entity\PlanHistoricoNacionalEstrategico | ||
52 | - * | ||
53 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanHistoricoNacionalEstrategico") | ||
54 | - * @ORM\JoinColumns({ | ||
55 | - * @ORM\JoinColumn(name="id_plan_historico_nacional_estrategico", referencedColumnName="id", nullable=true) | ||
56 | - * }) | ||
57 | - */ | ||
58 | - protected $idPlanHistoricoNacionalEstrategico; | ||
59 | - | ||
60 | - | ||
61 | - /** | ||
62 | - * @var \AppBundle\Entity\ActividadDocente | ||
63 | - * | ||
64 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\ActividadDocente") | ||
65 | - * @ORM\JoinColumns({ | ||
66 | - * @ORM\JoinColumn(name="id_actividad_docente", referencedColumnName="id", nullable=true) | ||
67 | - * }) | ||
68 | - */ | ||
69 | - protected $idActividadDocente; | ||
70 | - | ||
71 | - | ||
72 | - /** | ||
73 | - * @var \AppBundle\Entity\PidaPlazo | ||
74 | - * | ||
75 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PidaPlazo") | ||
76 | - * @ORM\JoinColumns({ | ||
77 | - * @ORM\JoinColumn(name="id_pida_plazo", referencedColumnName="id", nullable=true) | ||
78 | - * }) | ||
79 | - */ | ||
80 | - protected $idPidaPlazo; | ||
81 | - | ||
82 | - | ||
83 | - | ||
84 | - | ||
85 | - | ||
86 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
87 | - | ||
88 | - */ | ||
89 | - | ||
90 | - private $fecha_creacion; | ||
91 | - | ||
92 | - | ||
93 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
94 | - | ||
95 | - */ | ||
96 | - | ||
97 | - private $fecha_ultima_actualizacion; | ||
98 | - | ||
99 | - | ||
100 | - /** | ||
101 | - * @var \AppBundle\Entity\PidaEstatus | ||
102 | - * | ||
103 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PidaEstatus") | ||
104 | - * @ORM\JoinColumns({ | ||
105 | - * @ORM\JoinColumn(name="id_pida_estatus", referencedColumnName="id", nullable=true) | ||
106 | - * }) | ||
107 | - */ | ||
108 | - protected $idPidaEstatus; | ||
109 | - | ||
110 | - | ||
111 | - | ||
112 | - /** | ||
113 | - * @var \AppBundle\Entity\Estatus | ||
114 | - * | ||
115 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
116 | - * @ORM\JoinColumns({ | ||
117 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
118 | - * }) | ||
119 | - */ | ||
120 | - protected $idEstatus; | ||
121 | - | ||
122 | - | ||
123 | - /** | ||
124 | - * Get id | ||
125 | - * | ||
126 | - * @return integer | ||
127 | - */ | ||
128 | - public function getId() | ||
129 | - { | ||
130 | - return $this->id; | ||
131 | - } | ||
132 | - | ||
133 | - | ||
134 | - /** | ||
135 | - * Set idRolInstitucion | ||
136 | - * | ||
137 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
138 | - * @return Usuarios | ||
139 | - */ | ||
140 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) | ||
141 | - { | ||
142 | - $this->idRolInstitucion = $idRolInstitucion; | ||
143 | - | ||
144 | - return $this; | ||
145 | - } | ||
146 | - | ||
147 | - /** | ||
148 | - * Get idRolInstitucion | ||
149 | - * | ||
150 | - * @return \AppBundle\Entity\RolInstitucion | ||
151 | - */ | ||
152 | - public function getIdRolInstitucion() | ||
153 | - { | ||
154 | - return $this->idRolInstitucion; | ||
155 | - } | ||
156 | - | ||
157 | - | ||
158 | - | ||
159 | - | ||
160 | - | ||
161 | - /** | ||
162 | - * Set idEstatus | ||
163 | - * | ||
164 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
165 | - * @return Estatus | ||
166 | - */ | ||
167 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus = null) | ||
168 | - { | ||
169 | - $this->idEstatus = $idEstatus; | ||
170 | - | ||
171 | - return $this; | ||
172 | - } | ||
173 | - | ||
174 | - /** | ||
175 | - * Get idEstatus | ||
176 | - * | ||
177 | - * @return \AppBundle\Entity\Estatus | ||
178 | - */ | ||
179 | - public function getIdEstatus() | ||
180 | - { | ||
181 | - return $this->idEstatus; | ||
182 | - } | ||
183 | - | ||
184 | - | ||
185 | - | ||
186 | - /** | ||
187 | - * @ORM\PrePersist | ||
188 | - */ | ||
189 | - public function setFechaCreacion() | ||
190 | - { | ||
191 | - $this->fecha_creacion = new \DateTime(); | ||
192 | - $this->fecha_ultima_actualizacion = new \DateTime(); | ||
193 | - } | ||
194 | - | ||
195 | - public function getFechaCreacion() | ||
196 | - { | ||
197 | - return $this->fecha_creacion; | ||
198 | - | ||
199 | - } | ||
200 | - | ||
201 | - | ||
202 | - /** | ||
203 | - * @ORM\PreUpdate | ||
204 | - */ | ||
205 | - public function setFechaUltimaActualizacion() | ||
206 | - { | ||
207 | - $this->fecha_utlima_actualizacion = new \DateTime(); | ||
208 | - } | ||
209 | - | ||
210 | - | ||
211 | - /** | ||
212 | - * Get fecha_ultima_actualizacion | ||
213 | - * | ||
214 | - * @return \DateTime | ||
215 | - */ | ||
216 | - public function getFechaUltimaActualizacion() | ||
217 | - { | ||
218 | - return $this->fecha_ultima_actualizacion; | ||
219 | - } | ||
220 | - | ||
221 | - /** | ||
222 | - * Set idPlanHistoricoNacionalEstrategico | ||
223 | - * | ||
224 | - * @param \AppBundle\Entity\PlanHistoricoNacionalEstrategico $idPlanHistoricoNacionalEstrategico | ||
225 | - * @return AdscripcionPida | ||
226 | - */ | ||
227 | - public function setIdPlanHistoricoNacionalEstrategico(\AppBundle\Entity\PlanHistoricoNacionalEstrategico $idPlanHistoricoNacionalEstrategico = null) | ||
228 | - { | ||
229 | - $this->idPlanHistoricoNacionalEstrategico = $idPlanHistoricoNacionalEstrategico; | ||
230 | - | ||
231 | - return $this; | ||
232 | - } | ||
233 | - | ||
234 | - /** | ||
235 | - * Get idPlanHistoricoNacionalEstrategico | ||
236 | - * | ||
237 | - * @return \AppBundle\Entity\PlanHistoricoNacionalEstrategico | ||
238 | - */ | ||
239 | - public function getIdPlanHistoricoNacionalEstrategico() | ||
240 | - { | ||
241 | - return $this->idPlanHistoricoNacionalEstrategico; | ||
242 | - } | ||
243 | - | ||
244 | - /** | ||
245 | - * Set idActividadDocente | ||
246 | - * | ||
247 | - * @param \AppBundle\Entity\ActividadDocente $idActividadDocente | ||
248 | - * @return AdscripcionPida | ||
249 | - */ | ||
250 | - public function setIdActividadDocente(\AppBundle\Entity\ActividadDocente $idActividadDocente = null) | ||
251 | - { | ||
252 | - $this->idActividadDocente = $idActividadDocente; | ||
253 | - | ||
254 | - return $this; | ||
255 | - } | ||
256 | - | ||
257 | - /** | ||
258 | - * Get idActividadDocente | ||
259 | - * | ||
260 | - * @return \AppBundle\Entity\ActividadDocente | ||
261 | - */ | ||
262 | - public function getIdActividadDocente() | ||
263 | - { | ||
264 | - return $this->idActividadDocente; | ||
265 | - } | ||
266 | - | ||
267 | - | ||
268 | - | ||
269 | - | ||
270 | - /** | ||
271 | - * Set idPidaPlazo | ||
272 | - * | ||
273 | - * @param \AppBundle\Entity\PidaPlazo $idPidaPlazo | ||
274 | - * @return AdscripcionPida | ||
275 | - */ | ||
276 | - public function setIdPidaPlazo(\AppBundle\Entity\PidaPlazo $idPidaPlazo = null) | ||
277 | - { | ||
278 | - $this->idPidaPlazo = $idPidaPlazo; | ||
279 | - | ||
280 | - return $this; | ||
281 | - } | ||
282 | - | ||
283 | - /** | ||
284 | - * Get idPidaPlazo | ||
285 | - * | ||
286 | - * @return \AppBundle\Entity\PidaPlazo | ||
287 | - */ | ||
288 | - public function getIdPidaPlazo() | ||
289 | - { | ||
290 | - return $this->idPidaPlazo; | ||
291 | - } | ||
292 | - | ||
293 | - /** | ||
294 | - * Set idPidaEstatus | ||
295 | - * | ||
296 | - * @param \AppBundle\Entity\PidaEstatus $idPidaEstatus | ||
297 | - * @return AdscripcionPida | ||
298 | - */ | ||
299 | - public function setIdPidaEstatus(\AppBundle\Entity\PidaEstatus $idPidaEstatus) | ||
300 | - { | ||
301 | - $this->idPidaEstatus = $idPidaEstatus; | ||
302 | - | ||
303 | - return $this; | ||
304 | - } | ||
305 | - | ||
306 | - /** | ||
307 | - * Get idPidaEstatus | ||
308 | - * | ||
309 | - * @return \AppBundle\Entity\PidaEstatus | ||
310 | - */ | ||
311 | - public function getIdPidaEstatus() | ||
312 | - { | ||
313 | - return $this->idPidaEstatus; | ||
314 | - } | ||
315 | -} |
src/AppBundle/Entity/Ascenso.php~
@@ -1,623 +0,0 @@ | @@ -1,623 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | -use Symfony\Component\Validator\Constraints as Assert; | ||
7 | - | ||
8 | - | ||
9 | -/** | ||
10 | - * Ascenso | ||
11 | - * | ||
12 | - * @ORM\Table(name="solicitud_ascenso", uniqueConstraints={@ORM\UniqueConstraint(name="ascenso_id_rol_institucion_docente_escalafones", columns={"id_rol_institucion", "id_escalafones"})}) | ||
13 | - * @ORM\Entity | ||
14 | - * @ORM\HasLifecycleCallbacks() | ||
15 | - */ | ||
16 | -class Ascenso | ||
17 | -{ | ||
18 | - | ||
19 | - /** | ||
20 | - * @var integer | ||
21 | - * | ||
22 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del Ascenso"}) | ||
23 | - * @ORM\Id | ||
24 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
25 | - * @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1) | ||
26 | - */ | ||
27 | - private $id; | ||
28 | - | ||
29 | - | ||
30 | - /** | ||
31 | - * @var \AppBundle\Entity\RolInstitucion | ||
32 | - * | ||
33 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
34 | - * @ORM\JoinColumns({ | ||
35 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
36 | - * }) | ||
37 | - */ | ||
38 | - protected $idRolInstitucion; | ||
39 | - | ||
40 | - | ||
41 | - | ||
42 | - /** | ||
43 | - * @var \AppBundle\Entity\Escalafones | ||
44 | - * | ||
45 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Escalafones") | ||
46 | - * @ORM\JoinColumns({ | ||
47 | - * @ORM\JoinColumn(name="id_escalafones", referencedColumnName="id", nullable=false) | ||
48 | - * }) | ||
49 | - */ | ||
50 | - protected $idEscalafones; | ||
51 | - | ||
52 | - | ||
53 | - /** | ||
54 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion de la constancia de trabajo"}) | ||
55 | - * | ||
56 | - * @Assert\NotBlank(message="Debe cargar su constancia de Trabajo, es obligatoria.") | ||
57 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
58 | - */ | ||
59 | - private $trabajo; | ||
60 | - | ||
61 | - | ||
62 | - /** | ||
63 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion de la constancia de actualizaciรณn de Expediente"}) | ||
64 | - * | ||
65 | - * @Assert\NotBlank(message="debe cargar su constancia de actualizaciรณn de expediente, es obligatorio.") | ||
66 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
67 | - */ | ||
68 | - private $expediente; | ||
69 | - | ||
70 | - | ||
71 | - /** | ||
72 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion de la socializaciรณn del PIDA"}) | ||
73 | - * | ||
74 | - * @Assert\NotBlank(message="debe cargar su constancia de socializacion del PIDA, es obligatorio.") | ||
75 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
76 | - */ | ||
77 | - private $pida; | ||
78 | - | ||
79 | - /** | ||
80 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "digital del documento aval del nucleo academico de investigacion"}) | ||
81 | - * | ||
82 | - * @Assert\NotBlank(message="debe cargar su constnacia aval del NAI, es obligatorio.") | ||
83 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
84 | - */ | ||
85 | - private $nai; | ||
86 | - | ||
87 | - /** | ||
88 | - * @ORM\Column(type="string", nullable=false, options={"comment" = "digital del documento de Trabajo de investigacion"}) | ||
89 | - * | ||
90 | - * @Assert\NotBlank(message="debe cargar su Trabajo de investigacion, es obligatorio.") | ||
91 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
92 | - */ | ||
93 | - private $investigacion; | ||
94 | - | ||
95 | - | ||
96 | - /** | ||
97 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "ubicaciรณn del digital del informe de pertinencia en caso de ser tesis fuera de ubv"}) | ||
98 | - * | ||
99 | - * | ||
100 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
101 | - */ | ||
102 | - private $pertinencia; | ||
103 | - | ||
104 | - | ||
105 | - /** | ||
106 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "ubicaciรณn del digital del informe de pertinencia en caso de ser tesis fuera de ubv"}) | ||
107 | - * | ||
108 | - * | ||
109 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
110 | - */ | ||
111 | - private $aprobacion; | ||
112 | - | ||
113 | - | ||
114 | - /** | ||
115 | - * @ORM\Column(type="string", nullable=true, options={"comment" = "ubicaciรณn del digital del curriculo de los posibles jurados"}) | ||
116 | - * | ||
117 | - * | ||
118 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
119 | - */ | ||
120 | - private $curriculo; | ||
121 | - | ||
122 | - | ||
123 | - | ||
124 | - /** | ||
125 | - * @ORM\Column(name="nombre_nucleo", type="string", nullable=true, options={"comment" = "Nombre del nรบcleo de investigaciรณn"}) | ||
126 | - * @Assert\NotBlank(message="El nombre del nรบcleo de investigaciรณn es obligatorio.") | ||
127 | - */ | ||
128 | - private $nombreNucelo; | ||
129 | - | ||
130 | - | ||
131 | - | ||
132 | - /** | ||
133 | - * @ORM\Column(name="tipo_trabajo_investigacion", type="string", nullable=true, options={"comment" = "tipo de trabajo: tesis/investigacion"}) | ||
134 | - * @Assert\NotBlank(message="El nombre del nรบcleo de investigaciรณn es obligatorio.") | ||
135 | - */ | ||
136 | - private $tipoTrabajoInvestigacion; | ||
137 | - | ||
138 | - | ||
139 | - /** | ||
140 | - * @ORM\Column(name="tesis_ubv", type="boolean", nullable=true, options={"comment" = "si el trabajo es una tesis, ยฟesta hecha dentro de la UBV?"}) | ||
141 | - * | ||
142 | - */ | ||
143 | - private $tesisUbv; | ||
144 | - | ||
145 | - | ||
146 | - /** | ||
147 | - * @ORM\Column(name="titulo_trabajo", type="string", nullable=false, options={"comment" = "titulo del trabajo de investigacion"}) | ||
148 | - * @Assert\NotBlank(message="Titulo del Trabajo es obligatorio.") | ||
149 | - */ | ||
150 | - private $tituloTrabajo; | ||
151 | - | ||
152 | - | ||
153 | - /** | ||
154 | - * @ORM\Column(name="observacion", type="string", nullable=true, options={"comment" = "titulo del trabajo de investigacion"}) | ||
155 | - */ | ||
156 | - private $observacion; | ||
157 | - | ||
158 | - | ||
159 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
160 | - | ||
161 | - */ | ||
162 | - | ||
163 | - private $fecha_creacion; | ||
164 | - | ||
165 | - | ||
166 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
167 | - | ||
168 | - */ | ||
169 | - | ||
170 | - private $fecha_ultima_actualizacion; | ||
171 | - | ||
172 | - /** | ||
173 | - * @var \AppBundle\Entity\Estatus | ||
174 | - * | ||
175 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
176 | - * @ORM\JoinColumns({ | ||
177 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
178 | - * }) | ||
179 | - */ | ||
180 | - protected $idEstatus; | ||
181 | - | ||
182 | - | ||
183 | - /** | ||
184 | - * @var \Doctrine\Common\Collections\Collection | ||
185 | - * | ||
186 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\TutoresAscenso", inversedBy="ascenso") | ||
187 | - * @ORM\JoinTable(name="ascenso_tutor", | ||
188 | - * joinColumns={ | ||
189 | - * @ORM\JoinColumn(name="ascenso_id", referencedColumnName="id", nullable=false) | ||
190 | - * }, | ||
191 | - * inverseJoinColumns={ | ||
192 | - * @ORM\JoinColumn(name="tutor_id", referencedColumnName="id", nullable=false) | ||
193 | - * } | ||
194 | - * ) | ||
195 | - */ | ||
196 | - protected $tutoresAscenso; | ||
197 | - | ||
198 | - | ||
199 | - /** | ||
200 | - * @ORM\PrePersist | ||
201 | - */ | ||
202 | - public function setFechaCreacion() | ||
203 | - { | ||
204 | - $this->fecha_creacion = new \DateTime(); | ||
205 | - $this->fecha_ultima_actualizacion = new \DateTime(); | ||
206 | - } | ||
207 | - | ||
208 | - public function getFechaCreacion() | ||
209 | - { | ||
210 | - return $this->fecha_creacion; | ||
211 | - | ||
212 | - } | ||
213 | - | ||
214 | - | ||
215 | - /** | ||
216 | - * @ORM\PreUpdate | ||
217 | - */ | ||
218 | - public function setFechaUltimaActualizacion() | ||
219 | - { | ||
220 | - $this->fecha_utlima_actualizacion = new \DateTime(); | ||
221 | - } | ||
222 | - | ||
223 | - | ||
224 | - | ||
225 | - /** | ||
226 | - * Get id | ||
227 | - * | ||
228 | - * @return integer | ||
229 | - */ | ||
230 | - public function getId() | ||
231 | - { | ||
232 | - return $this->id; | ||
233 | - } | ||
234 | - | ||
235 | - /** | ||
236 | - * Set trabajo | ||
237 | - * | ||
238 | - * @param string $trabajo | ||
239 | - * @return Ascenso | ||
240 | - */ | ||
241 | - public function setTrabajo($trabajo) | ||
242 | - { | ||
243 | - $this->trabajo = $trabajo; | ||
244 | - | ||
245 | - return $this; | ||
246 | - } | ||
247 | - | ||
248 | - /** | ||
249 | - * Get trabajo | ||
250 | - * | ||
251 | - * @return string | ||
252 | - */ | ||
253 | - public function getTrabajo() | ||
254 | - { | ||
255 | - return $this->trabajo; | ||
256 | - } | ||
257 | - | ||
258 | - /** | ||
259 | - * Set expediente | ||
260 | - * | ||
261 | - * @param string $expediente | ||
262 | - * @return Ascenso | ||
263 | - */ | ||
264 | - public function setExpediente($expediente) | ||
265 | - { | ||
266 | - $this->expediente = $expediente; | ||
267 | - | ||
268 | - return $this; | ||
269 | - } | ||
270 | - | ||
271 | - /** | ||
272 | - * Get expediente | ||
273 | - * | ||
274 | - * @return string | ||
275 | - */ | ||
276 | - public function getExpediente() | ||
277 | - { | ||
278 | - return $this->expediente; | ||
279 | - } | ||
280 | - | ||
281 | - /** | ||
282 | - * Set pida | ||
283 | - * | ||
284 | - * @param string $pida | ||
285 | - * @return Ascenso | ||
286 | - */ | ||
287 | - public function setPida($pida) | ||
288 | - { | ||
289 | - $this->pida = $pida; | ||
290 | - | ||
291 | - return $this; | ||
292 | - } | ||
293 | - | ||
294 | - /** | ||
295 | - * Get pida | ||
296 | - * | ||
297 | - * @return string | ||
298 | - */ | ||
299 | - public function getPida() | ||
300 | - { | ||
301 | - return $this->pida; | ||
302 | - } | ||
303 | - | ||
304 | - /** | ||
305 | - * Set nai | ||
306 | - * | ||
307 | - * @param string $nai | ||
308 | - * @return Ascenso | ||
309 | - */ | ||
310 | - public function setNai($nai) | ||
311 | - { | ||
312 | - $this->nai = $nai; | ||
313 | - | ||
314 | - return $this; | ||
315 | - } | ||
316 | - | ||
317 | - /** | ||
318 | - * Get nai | ||
319 | - * | ||
320 | - * @return string | ||
321 | - */ | ||
322 | - public function getNai() | ||
323 | - { | ||
324 | - return $this->nai; | ||
325 | - } | ||
326 | - | ||
327 | - /** | ||
328 | - * Set investigacion | ||
329 | - * | ||
330 | - * @param string $investigacion | ||
331 | - * @return Ascenso | ||
332 | - */ | ||
333 | - public function setInvestigacion($investigacion) | ||
334 | - { | ||
335 | - $this->investigacion = $investigacion; | ||
336 | - | ||
337 | - return $this; | ||
338 | - } | ||
339 | - | ||
340 | - /** | ||
341 | - * Get investigacion | ||
342 | - * | ||
343 | - * @return string | ||
344 | - */ | ||
345 | - public function getInvestigacion() | ||
346 | - { | ||
347 | - return $this->investigacion; | ||
348 | - } | ||
349 | - | ||
350 | - /** | ||
351 | - * Set pertinencia | ||
352 | - * | ||
353 | - * @param string $pertinencia | ||
354 | - * @return Ascenso | ||
355 | - */ | ||
356 | - public function setPertinencia($pertinencia) | ||
357 | - { | ||
358 | - $this->pertinencia = $pertinencia; | ||
359 | - | ||
360 | - return $this; | ||
361 | - } | ||
362 | - | ||
363 | - /** | ||
364 | - * Get pertinencia | ||
365 | - * | ||
366 | - * @return string | ||
367 | - */ | ||
368 | - public function getPertinencia() | ||
369 | - { | ||
370 | - return $this->pertinencia; | ||
371 | - } | ||
372 | - | ||
373 | - /** | ||
374 | - * Set tituloTrabajo | ||
375 | - * | ||
376 | - * @param string $tituloTrabajo | ||
377 | - * @return Ascenso | ||
378 | - */ | ||
379 | - public function setTituloTrabajo($tituloTrabajo) | ||
380 | - { | ||
381 | - $this->tituloTrabajo = $tituloTrabajo; | ||
382 | - | ||
383 | - return $this; | ||
384 | - } | ||
385 | - | ||
386 | - /** | ||
387 | - * Get tituloTrabajo | ||
388 | - * | ||
389 | - * @return string | ||
390 | - */ | ||
391 | - public function getTituloTrabajo() | ||
392 | - { | ||
393 | - return $this->tituloTrabajo; | ||
394 | - } | ||
395 | - | ||
396 | - /** | ||
397 | - * Set observacion | ||
398 | - * | ||
399 | - * @param string $observacion | ||
400 | - * @return Ascenso | ||
401 | - */ | ||
402 | - public function setObservacion($observacion) | ||
403 | - { | ||
404 | - $this->observacion = $observacion; | ||
405 | - | ||
406 | - return $this; | ||
407 | - } | ||
408 | - | ||
409 | - /** | ||
410 | - * Get observacion | ||
411 | - * | ||
412 | - * @return string | ||
413 | - */ | ||
414 | - public function getObservacion() | ||
415 | - { | ||
416 | - return $this->observacion; | ||
417 | - } | ||
418 | - | ||
419 | - /** | ||
420 | - * Get fecha_ultima_actualizacion | ||
421 | - * | ||
422 | - * @return \DateTime | ||
423 | - */ | ||
424 | - public function getFechaUltimaActualizacion() | ||
425 | - { | ||
426 | - return $this->fecha_ultima_actualizacion; | ||
427 | - } | ||
428 | - | ||
429 | - /** | ||
430 | - * Set idRolInstitucion | ||
431 | - * | ||
432 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
433 | - * @return Ascenso | ||
434 | - */ | ||
435 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion) | ||
436 | - { | ||
437 | - $this->idRolInstitucion = $idRolInstitucion; | ||
438 | - | ||
439 | - return $this; | ||
440 | - } | ||
441 | - | ||
442 | - /** | ||
443 | - * Get idRolInstitucion | ||
444 | - * | ||
445 | - * @return \AppBundle\Entity\RolInstitucion | ||
446 | - */ | ||
447 | - public function getIdRolInstitucion() | ||
448 | - { | ||
449 | - return $this->idRolInstitucion; | ||
450 | - } | ||
451 | - | ||
452 | - /** | ||
453 | - * Set idEstatus | ||
454 | - * | ||
455 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
456 | - * @return Ascenso | ||
457 | - */ | ||
458 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
459 | - { | ||
460 | - $this->idEstatus = $idEstatus; | ||
461 | - | ||
462 | - return $this; | ||
463 | - } | ||
464 | - | ||
465 | - /** | ||
466 | - * Get idEstatus | ||
467 | - * | ||
468 | - * @return \AppBundle\Entity\Estatus | ||
469 | - */ | ||
470 | - public function getIdEstatus() | ||
471 | - { | ||
472 | - return $this->idEstatus; | ||
473 | - } | ||
474 | - | ||
475 | - | ||
476 | - | ||
477 | - | ||
478 | - | ||
479 | - /** | ||
480 | - * Set idEscalafones | ||
481 | - * | ||
482 | - * @param \AppBundle\Entity\Escalafones $idEscalafones | ||
483 | - * @return Ascenso | ||
484 | - */ | ||
485 | - public function setIdEscalafones(\AppBundle\Entity\Escalafones $idEscalafones) | ||
486 | - { | ||
487 | - $this->idEscalafones = $idEscalafones; | ||
488 | - | ||
489 | - return $this; | ||
490 | - } | ||
491 | - | ||
492 | - /** | ||
493 | - * Get idEscalafones | ||
494 | - * | ||
495 | - * @return \AppBundle\Entity\Escalafones | ||
496 | - */ | ||
497 | - public function getIdEscalafones() | ||
498 | - { | ||
499 | - return $this->idEscalafones; | ||
500 | - } | ||
501 | - | ||
502 | - | ||
503 | - | ||
504 | - /** | ||
505 | - * Constructor | ||
506 | - */ | ||
507 | - public function __construct() | ||
508 | - { | ||
509 | - $this->tutoresAscenso = new \Doctrine\Common\Collections\ArrayCollection(); | ||
510 | - } | ||
511 | - | ||
512 | - /** | ||
513 | - * Add tutoresAscenso | ||
514 | - * | ||
515 | - * @param \AppBundle\Entity\TutoresAscenso $tutoresAscenso | ||
516 | - * @return Ascenso | ||
517 | - */ | ||
518 | - public function addTutoresAscenso(\AppBundle\Entity\TutoresAscenso $tutoresAscenso) | ||
519 | - { | ||
520 | - $this->tutoresAscenso[] = $tutoresAscenso; | ||
521 | - | ||
522 | - return $this; | ||
523 | - } | ||
524 | - | ||
525 | - /** | ||
526 | - * Remove tutoresAscenso | ||
527 | - * | ||
528 | - * @param \AppBundle\Entity\TutoresAscenso $tutoresAscenso | ||
529 | - */ | ||
530 | - public function removeTutoresAscenso(\AppBundle\Entity\TutoresAscenso $tutoresAscenso) | ||
531 | - { | ||
532 | - $this->tutoresAscenso->removeElement($tutoresAscenso); | ||
533 | - } | ||
534 | - | ||
535 | - /** | ||
536 | - * Get tutoresAscenso | ||
537 | - * | ||
538 | - * @return \Doctrine\Common\Collections\Collection | ||
539 | - */ | ||
540 | - public function getTutoresAscenso() | ||
541 | - { | ||
542 | - return $this->tutoresAscenso; | ||
543 | - } | ||
544 | - | ||
545 | - /** | ||
546 | - * | ||
547 | - * @return string | ||
548 | - */ | ||
549 | - | ||
550 | - public function __toString() | ||
551 | - { | ||
552 | - return $this->getIdRolInstitucion()->getIdRol()->getIdPersona()->getPrimerNombre(); | ||
553 | - } | ||
554 | - | ||
555 | - /** | ||
556 | - * Set aprobacion | ||
557 | - * | ||
558 | - * @param string $aprobacion | ||
559 | - * @return Ascenso | ||
560 | - */ | ||
561 | - public function setAprobacion($aprobacion) | ||
562 | - { | ||
563 | - $this->aprobacion = $aprobacion; | ||
564 | - | ||
565 | - return $this; | ||
566 | - } | ||
567 | - | ||
568 | - /** | ||
569 | - * Get aprobacion | ||
570 | - * | ||
571 | - * @return string | ||
572 | - */ | ||
573 | - public function getAprobacion() | ||
574 | - { | ||
575 | - return $this->aprobacion; | ||
576 | - } | ||
577 | - | ||
578 | - /** | ||
579 | - * Set nombreNucelo | ||
580 | - * | ||
581 | - * @param string $nombreNucelo | ||
582 | - * @return Ascenso | ||
583 | - */ | ||
584 | - public function setNombreNucelo($nombreNucelo) | ||
585 | - { | ||
586 | - $this->nombreNucelo = $nombreNucelo; | ||
587 | - | ||
588 | - return $this; | ||
589 | - } | ||
590 | - | ||
591 | - /** | ||
592 | - * Get nombreNucelo | ||
593 | - * | ||
594 | - * @return string | ||
595 | - */ | ||
596 | - public function getNombreNucelo() | ||
597 | - { | ||
598 | - return $this->nombreNucelo; | ||
599 | - } | ||
600 | - | ||
601 | - /** | ||
602 | - * Set curriculo | ||
603 | - * | ||
604 | - * @param string $curriculo | ||
605 | - * @return Ascenso | ||
606 | - */ | ||
607 | - public function setCurriculo($curriculo) | ||
608 | - { | ||
609 | - $this->curriculo = $curriculo; | ||
610 | - | ||
611 | - return $this; | ||
612 | - } | ||
613 | - | ||
614 | - /** | ||
615 | - * Get curriculo | ||
616 | - * | ||
617 | - * @return string | ||
618 | - */ | ||
619 | - public function getCurriculo() | ||
620 | - { | ||
621 | - return $this->curriculo; | ||
622 | - } | ||
623 | -} |
src/AppBundle/Entity/CrearAdscripcion.php~
@@ -1,89 +0,0 @@ | @@ -1,89 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: Wilmer Ramones | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 07:52 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Entity; | ||
10 | - | ||
11 | -use Doctrine\ORM\Mapping as ORM; | ||
12 | -use Symfony\Component\Validator\Constraints as Assert; | ||
13 | - | ||
14 | -/** | ||
15 | - * Adscripcion | ||
16 | - * | ||
17 | - * @ORM\Table(name="solicitud_adscripcion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_adscripcion", columns={"nombre"})}) | ||
18 | - * @ORM\Entity | ||
19 | - */ | ||
20 | -class Adscripcion | ||
21 | -{ | ||
22 | - | ||
23 | - /** | ||
24 | - * @var integer | ||
25 | - * | ||
26 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la Adscripcion"}) | ||
27 | - * @ORM\Id | ||
28 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
29 | - * @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1) | ||
30 | - */ | ||
31 | - private $id; | ||
32 | - | ||
33 | - | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\RolInstitucion | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - protected $idRolInstitucion; | ||
44 | - | ||
45 | - | ||
46 | - /** | ||
47 | - * @ORM\Column(type="string") | ||
48 | - * | ||
49 | - * @Assert\NotBlank(message="Please, upload the product brochure as a PDF file.") | ||
50 | - * @Assert\File(mimeTypes={ "application/pdf" }) | ||
51 | - */ | ||
52 | - private $trabajo; | ||
53 | - | ||
54 | - public function getTrabajo() | ||
55 | - { | ||
56 | - return $this->trabajo; | ||
57 | - } | ||
58 | - | ||
59 | - public function setBrochure($trabajo) | ||
60 | - { | ||
61 | - $this->trabajo = $trabajo; | ||
62 | - | ||
63 | - return $this; | ||
64 | - } | ||
65 | - | ||
66 | - | ||
67 | - | ||
68 | - /** | ||
69 | - * Get id | ||
70 | - * | ||
71 | - * @return integer | ||
72 | - */ | ||
73 | - public function getId() | ||
74 | - { | ||
75 | - return $this->id; | ||
76 | - } | ||
77 | - | ||
78 | - /** | ||
79 | - * Get nombre | ||
80 | - * | ||
81 | - * @return string | ||
82 | - */ | ||
83 | - public function __toString() | ||
84 | - { | ||
85 | - return $this->trabajo; | ||
86 | - } | ||
87 | - | ||
88 | - | ||
89 | -} |
src/AppBundle/Entity/DocenteEscala.php~
@@ -1,185 +0,0 @@ | @@ -1,185 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: Wilmer Ramones | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 07:52 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Entity; | ||
10 | - | ||
11 | -use Doctrine\ORM\Mapping as ORM; | ||
12 | -use Symfony\Component\Validator\Constraints as Assert; | ||
13 | - | ||
14 | -/** | ||
15 | - * Escalafones | ||
16 | - * | ||
17 | - * @ORM\Table(name="docente_escala") | ||
18 | - * @ORM\Entity | ||
19 | - * @ORM\HasLifecycleCallbacks() | ||
20 | - */ | ||
21 | -class DocenteEscala | ||
22 | -{ | ||
23 | - | ||
24 | - | ||
25 | - /** | ||
26 | - * @var integer | ||
27 | - * | ||
28 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del docente_escala"}) | ||
29 | - * @ORM\Id | ||
30 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
31 | - * @ORM\SequenceGenerator(sequenceName="docente_escala_id_seq", allocationSize=1, initialValue=1) | ||
32 | - */ | ||
33 | - private $id; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\RolInstitucion | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - protected $idRolInstitucion; | ||
44 | - | ||
45 | - /** | ||
46 | - * @var \AppBundle\Entity\Escalafones | ||
47 | - * | ||
48 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Escalafones") | ||
49 | - * @ORM\JoinColumns({ | ||
50 | - * @ORM\JoinColumn(name="id_escala", referencedColumnName="id", nullable=false) | ||
51 | - * }) | ||
52 | - */ | ||
53 | - protected $idEscala; | ||
54 | - | ||
55 | - | ||
56 | - | ||
57 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de obtencion de la escala"}) | ||
58 | - /** | ||
59 | - * @Assert\Date() | ||
60 | - */ | ||
61 | - private $fecha_escala; | ||
62 | - | ||
63 | - | ||
64 | - /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de registro de la escala"}) | ||
65 | - */ | ||
66 | - private $fecha_creacion; | ||
67 | - | ||
68 | - | ||
69 | - /** | ||
70 | - * Set idEscala | ||
71 | - * | ||
72 | - * @param \AppBundle\Entity\Escalafones $idEscala | ||
73 | - * @return Usuarios | ||
74 | - */ | ||
75 | - public function setidEscala(\AppBundle\Entity\Escalafones $idEscala = null) | ||
76 | - { | ||
77 | - $this->idEscala = $idEscala; | ||
78 | - | ||
79 | - return $this; | ||
80 | - } | ||
81 | - | ||
82 | - /** | ||
83 | - * Get idEscala | ||
84 | - * | ||
85 | - * @return \AppBundle\Entity\Escalafones | ||
86 | - */ | ||
87 | - public function getidEscala() | ||
88 | - { | ||
89 | - return $this->idEscala; | ||
90 | - } | ||
91 | - | ||
92 | - /** | ||
93 | - * Get id | ||
94 | - * | ||
95 | - * @return integer | ||
96 | - */ | ||
97 | - public function getId() | ||
98 | - { | ||
99 | - return $this->id; | ||
100 | - } | ||
101 | - | ||
102 | - | ||
103 | - /** | ||
104 | - * @ORM\PrePersist | ||
105 | - */ | ||
106 | - public function setFechaCreacion() | ||
107 | - { | ||
108 | - $this->fecha_creacion = new \DateTime(); | ||
109 | - } | ||
110 | - | ||
111 | - /** | ||
112 | - * Set fecha_escala | ||
113 | - * | ||
114 | - * @param \DateTime $fecha_escala | ||
115 | - * @return Comment | ||
116 | - */ | ||
117 | -public function setFechaEscala($fecha_escala) | ||
118 | -{ | ||
119 | - $this->fecha_escala = $fecha_escala; | ||
120 | - | ||
121 | - return $this; | ||
122 | -} | ||
123 | - | ||
124 | -/** | ||
125 | - * Get fecha_escala | ||
126 | - * | ||
127 | - * @return \DateTime | ||
128 | - */ | ||
129 | -public function getFechaEscala() | ||
130 | -{ | ||
131 | - return $this->postedon; | ||
132 | -} | ||
133 | - | ||
134 | - /** | ||
135 | - * Set idRolInstitucion | ||
136 | - * | ||
137 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
138 | - * @return Usuarios | ||
139 | - */ | ||
140 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) | ||
141 | - { | ||
142 | - $this->idRolInstitucion = $idRolInstitucion; | ||
143 | - | ||
144 | - return $this; | ||
145 | - } | ||
146 | - | ||
147 | - /** | ||
148 | - * Get idRolInstitucion | ||
149 | - * | ||
150 | - * @return \AppBundle\Entity\RolInstitucion | ||
151 | - */ | ||
152 | - public function getIdRolInstitucion() | ||
153 | - { | ||
154 | - return $this->idRolInstitucion; | ||
155 | - } | ||
156 | - | ||
157 | - | ||
158 | - | ||
159 | - /** | ||
160 | - * Set idEscala | ||
161 | - * | ||
162 | - * @param \AppBundle\Entity\Escalafones $idEscala | ||
163 | - * @return Usuarios | ||
164 | - */ | ||
165 | - public function setIdEscala(\AppBundle\Entity\Escalafones $idEscala = null) | ||
166 | - { | ||
167 | - $this->idEscala = $idEscala; | ||
168 | - | ||
169 | - return $this; | ||
170 | - } | ||
171 | - | ||
172 | - /** | ||
173 | - * Get idEscala | ||
174 | - * | ||
175 | - * @return \AppBundle\Entity\Escalafones | ||
176 | - */ | ||
177 | - public function getidEscala() | ||
178 | - { | ||
179 | - return $this->idEscala; | ||
180 | - } | ||
181 | - | ||
182 | - | ||
183 | - | ||
184 | - | ||
185 | -} |
src/AppBundle/Entity/DocenteServicio.php~
@@ -1,194 +0,0 @@ | @@ -1,194 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -/* | ||
4 | - * Copyright (C) 2016 ubv-cipee | ||
5 | - * | ||
6 | - * This program is free software: you can redistribute it and/or modify | ||
7 | - * it under the terms of the GNU General Public License as published by | ||
8 | - * the Free Software Foundation, either version 3 of the License, or | ||
9 | - * (at your option) any later version. | ||
10 | - * | ||
11 | - * This program is distributed in the hope that it will be useful, | ||
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | - * GNU General Public License for more details. | ||
15 | - * | ||
16 | - * You should have received a copy of the GNU General Public License | ||
17 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | - */ | ||
19 | - | ||
20 | -namespace AppBundle\Entity; | ||
21 | -use Doctrine\ORM\Mapping as ORM; | ||
22 | -use Symfony\Component\Validator\Constraints as Assert; | ||
23 | - | ||
24 | -/** | ||
25 | - * DocenteServicio | ||
26 | - * | ||
27 | - * @ORM\Table(name="docente_servicio" ) | ||
28 | - * @ORM\Entity | ||
29 | - * @ORM\HasLifecycleCallbacks() | ||
30 | - */ | ||
31 | -class DocenteServicio { | ||
32 | - | ||
33 | - /** | ||
34 | - * @var integer | ||
35 | - * | ||
36 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la Adscripcion"}) | ||
37 | - * @ORM\Id | ||
38 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
39 | - * @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1) | ||
40 | - */ | ||
41 | - private $id; | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | - /** | ||
46 | - * @var \AppBundle\Entity\RolInstitucion | ||
47 | - * | ||
48 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
49 | - * @ORM\JoinColumns({ | ||
50 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
51 | - * }) | ||
52 | - */ | ||
53 | - protected $idRolInstitucion; | ||
54 | - | ||
55 | - | ||
56 | - /** | ||
57 | - * @var \AppBundle\Entity\ServiciosCe | ||
58 | - * | ||
59 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\ServiciosCe") | ||
60 | - * @ORM\JoinColumns({ | ||
61 | - * @ORM\JoinColumn(name="id_servicio_ce", referencedColumnName="id", nullable=false) | ||
62 | - * }) | ||
63 | - */ | ||
64 | - protected $idServicioCe; | ||
65 | - | ||
66 | - /** @ORM\Column(type="date", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
67 | - /** | ||
68 | - * @Assert\Date() | ||
69 | - */ | ||
70 | - private $fechaSolicitud; | ||
71 | - | ||
72 | - /** @ORM\Column(type="date", nullable=false, options={"comment" = "Fecha de actualizada la solicitud"}) | ||
73 | - /** | ||
74 | - * @Assert\Date() | ||
75 | - */ | ||
76 | - private $fechaUltimaActualizacion; | ||
77 | - | ||
78 | - | ||
79 | - /** | ||
80 | - * @var \AppBundle\Entity\Estatus | ||
81 | - * | ||
82 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
83 | - * @ORM\JoinColumns({ | ||
84 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
85 | - * }) | ||
86 | - */ | ||
87 | - protected $idEstatus; | ||
88 | - | ||
89 | - | ||
90 | - /** | ||
91 | - * Get id | ||
92 | - * | ||
93 | - * @return integer | ||
94 | - */ | ||
95 | - public function getId() | ||
96 | - { | ||
97 | - return $this->id; | ||
98 | - } | ||
99 | - | ||
100 | - | ||
101 | - /** | ||
102 | - * Set idRolInstitucion | ||
103 | - * | ||
104 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
105 | - * @return Usuarios | ||
106 | - */ | ||
107 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) | ||
108 | - { | ||
109 | - $this->idRolInstitucion = $idRolInstitucion; | ||
110 | - | ||
111 | - return $this; | ||
112 | - } | ||
113 | - | ||
114 | - /** | ||
115 | - * Get idRolInstitucion | ||
116 | - * | ||
117 | - * @return \AppBundle\Entity\RolInstitucion | ||
118 | - */ | ||
119 | - public function getIdRolInstitucion() | ||
120 | - { | ||
121 | - return $this->idRolInstitucion; | ||
122 | - } | ||
123 | - | ||
124 | - | ||
125 | - /** | ||
126 | - * @ORM\PrePersist | ||
127 | - */ | ||
128 | - public function setFechaSolicitud() | ||
129 | - { | ||
130 | - $this->fecha_solicitud = new \DateTime(); | ||
131 | - $this->fecha_ultima_actualizacion = new \DateTime(); | ||
132 | - } | ||
133 | - | ||
134 | - public function getFechaSolicitud() | ||
135 | - { | ||
136 | - return $this->fecha_solicitud; | ||
137 | - } | ||
138 | - | ||
139 | - /** | ||
140 | - * @ORM\PreUpdate | ||
141 | - */ | ||
142 | - public function setFechaUltimaActualizacion() | ||
143 | - { | ||
144 | - $this->fecha_utlima_actualizacion = new \DateTime(); | ||
145 | - } | ||
146 | - | ||
147 | - | ||
148 | - /** | ||
149 | - * Set idEstatus | ||
150 | - * | ||
151 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
152 | - * @return Estatus | ||
153 | - */ | ||
154 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus = null) | ||
155 | - { | ||
156 | - $this->idEstatus = $idEstatus; | ||
157 | - | ||
158 | - return $this; | ||
159 | - } | ||
160 | - | ||
161 | - /** | ||
162 | - * Get idEstatus | ||
163 | - * | ||
164 | - * @return \AppBundle\Entity\Estatus | ||
165 | - */ | ||
166 | - public function getIdEstatus() | ||
167 | - { | ||
168 | - return $this->idEstatus; | ||
169 | - } | ||
170 | - | ||
171 | - | ||
172 | - /** | ||
173 | - * Set $idServicioCe | ||
174 | - * | ||
175 | - * @param \AppBundle\Entity\ServiciosCe $idEstatus | ||
176 | - * @return ServicioCe | ||
177 | - */ | ||
178 | - public function setIdServicioCe(\AppBundle\Entity\ServiciosCe $idServicioCe = null) | ||
179 | - { | ||
180 | - $this->idServicioCe = $idServicioCe; | ||
181 | - | ||
182 | - return $this; | ||
183 | - } | ||
184 | - | ||
185 | - /** | ||
186 | - * Get $idServicioCe | ||
187 | - * | ||
188 | - * @return \AppBundle\Entity\ServiciosCe | ||
189 | - */ | ||
190 | - public function getIdServicioCe() | ||
191 | - { | ||
192 | - return $this->idServicioCe; | ||
193 | - } | ||
194 | -} |
src/AppBundle/Entity/Escala.php~
@@ -1,45 +0,0 @@ | @@ -1,45 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Escala | ||
9 | - * | ||
10 | - * @ORM\Table(name="escala", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_escala", columns={"nombre"})}, indexes={@ORM\Index(name="IDX_C4F229CA50BDD1F3", columns={"id_estatus"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Escala | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la escala de calificacion"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de la escala"}) | ||
26 | - * @ORM\Id | ||
27 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
28 | - * @ORM\SequenceGenerator(sequenceName="escala_id_seq", allocationSize=1, initialValue=1) | ||
29 | - */ | ||
30 | - private $id; | ||
31 | - | ||
32 | - /** | ||
33 | - * @var \AppBundle\Entity\Estatus | ||
34 | - * | ||
35 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
36 | - * @ORM\JoinColumns({ | ||
37 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
38 | - * }) | ||
39 | - */ | ||
40 | - private $idEstatus; | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | -} | ||
46 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/Escalafones.php~
@@ -1,95 +0,0 @@ | @@ -1,95 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: Wilmer Ramones | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 07:52 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Entity; | ||
10 | - | ||
11 | -use Doctrine\ORM\Mapping as ORM; | ||
12 | - | ||
13 | -/** | ||
14 | - * Escalafones | ||
15 | - * | ||
16 | - * @ORM\Table(name="escalafones", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_escala", columns={"nombre"})}) | ||
17 | - * @ORM\Entity | ||
18 | - */ | ||
19 | -class Escalafones | ||
20 | -{ | ||
21 | - /** | ||
22 | - * @var string | ||
23 | - * | ||
24 | - * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "Nombre del escalafon"}) | ||
25 | - */ | ||
26 | - private $nombre; | ||
27 | - | ||
28 | - /** | ||
29 | - * @var integer | ||
30 | - * | ||
31 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del escalafon"}) | ||
32 | - * @ORM\Id | ||
33 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
34 | - * @ORM\SequenceGenerator(sequenceName="escalafon_id_seq", allocationSize=1, initialValue=1) | ||
35 | - */ | ||
36 | - private $id; | ||
37 | - | ||
38 | - /** | ||
39 | - * @var integer | ||
40 | - * | ||
41 | - * @ORM\Column(name="tiempo", type="integer", nullable=false, options={"comment" = "Tiempo necesario para obtener la escala"}) | ||
42 | - */ | ||
43 | - private $tiempo; | ||
44 | - | ||
45 | - | ||
46 | - | ||
47 | - | ||
48 | - | ||
49 | - /** | ||
50 | - * Set nombre | ||
51 | - * | ||
52 | - * @param string $nombre | ||
53 | - * @return Escalafon | ||
54 | - */ | ||
55 | - public function setNombre($nombre) | ||
56 | - { | ||
57 | - $this->nombre = $nombre; | ||
58 | - | ||
59 | - return $this; | ||
60 | - } | ||
61 | - | ||
62 | - /** | ||
63 | - * Get nombre | ||
64 | - * | ||
65 | - * @return string | ||
66 | - */ | ||
67 | - public function getNombre() | ||
68 | - { | ||
69 | - return $this->nombre; | ||
70 | - } | ||
71 | - | ||
72 | - /** | ||
73 | - * Get id | ||
74 | - * | ||
75 | - * @return integer | ||
76 | - */ | ||
77 | - public function getId() | ||
78 | - { | ||
79 | - return $this->id; | ||
80 | - } | ||
81 | - | ||
82 | - /** | ||
83 | - * Get nombre | ||
84 | - * | ||
85 | - * @return string | ||
86 | - */ | ||
87 | - public function __toString() | ||
88 | - { | ||
89 | - return $this->nombre; | ||
90 | - } | ||
91 | - | ||
92 | - | ||
93 | - | ||
94 | - | ||
95 | -} |
src/AppBundle/Entity/EstadoAcademico.php~
@@ -1,88 +0,0 @@ | @@ -1,88 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * EstadoAcademico | ||
9 | - * | ||
10 | - * @ORM\Table(name="estado_academico", uniqueConstraints={@ORM\UniqueConstraint(name="i_rol_institucion_oferta_malla", columns={"id_rol_institucion", "id_oferta_malla_curricular"})}, indexes = {@ORM\Index(name="fki_docente_servicio_estado_academico", columns={"id_docente_servicio"}), @ORM\Index(name="fki_grado_academico_estado_academico", columns={"id_grado_academico"}), @ORM\Index(name="fki_oferta_malla_curricular_estado_academico", columns={"id_oferta_malla_curricular"}), @ORM\Index(name="fki_rol_institucion_estado_academico", columns={"id_rol_institucion"})}) | ||
11 | - * @ORM\Entity | ||
12 | - * @ORM\HasLifecycleCallbacks() | ||
13 | - */ | ||
14 | -class EstadoAcademico | ||
15 | -{ | ||
16 | - /** | ||
17 | - * @var \DateTime | ||
18 | - * | ||
19 | - * @ORM\Column(name="fecha", type="date", nullable=false, options={"comment" = "fecha de registro del estdo academico"}) | ||
20 | - */ | ||
21 | - private $fecha; | ||
22 | - | ||
23 | - /** | ||
24 | - * @var string | ||
25 | - * | ||
26 | - * @ORM\Column(name="observacion", type="string", length=255, nullable=true, options={"comment" = "observacion del registro"}) | ||
27 | - */ | ||
28 | - private $observacion; | ||
29 | - | ||
30 | - /** | ||
31 | - * @var integer | ||
32 | - * | ||
33 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado academico"}) | ||
34 | - * @ORM\Id | ||
35 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
36 | - * @ORM\SequenceGenerator(sequenceName="estado_academico_id_seq", allocationSize=1, initialValue=1) | ||
37 | - */ | ||
38 | - private $id; | ||
39 | - | ||
40 | - /** | ||
41 | - * @var \AppBundle\Entity\DocenteServicio | ||
42 | - * | ||
43 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\DocenteServicio") | ||
44 | - * @ORM\JoinColumns({ | ||
45 | - * @ORM\JoinColumn(name="id_docente_servicio", referencedColumnName="id", nullable=false) | ||
46 | - * }) | ||
47 | - */ | ||
48 | - private $idDocenteServicio; | ||
49 | - | ||
50 | - /** | ||
51 | - * @var \AppBundle\Entity\RolInstitucion | ||
52 | - * | ||
53 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
54 | - * @ORM\JoinColumns({ | ||
55 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
56 | - * }) | ||
57 | - */ | ||
58 | - private $idRolInstitucion; | ||
59 | - | ||
60 | - | ||
61 | - /** | ||
62 | - * @var \AppBundle\Entity\MallaCurricular | ||
63 | - * | ||
64 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\OfertaMallaCurricular") | ||
65 | - * @ORM\JoinColumns({ | ||
66 | - * @ORM\JoinColumn(name="id_oferta_malla_curricular", referencedColumnName="id", nullable=false) | ||
67 | - * }) | ||
68 | - */ | ||
69 | - private $idOfertaMallaCurricular; | ||
70 | - | ||
71 | - /** | ||
72 | - * @var \AppBundle\Entity\GradoAcademico | ||
73 | - * | ||
74 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\GradoAcademico") | ||
75 | - * @ORM\JoinColumns({ | ||
76 | - * @ORM\JoinColumn(name="id_grado_academico", referencedColumnName="id",nullable=false) | ||
77 | - * }) | ||
78 | - */ | ||
79 | - private $idGradoAcademico; | ||
80 | - | ||
81 | - /** | ||
82 | - * @ORM\OneToMany(targetEntity="AppBundle\Entity\Inscripcion", mappedBy="idEstadoAcademico", cascade={"all"}) | ||
83 | - * */ | ||
84 | - protected $hasInscripcion; | ||
85 | - | ||
86 | - | ||
87 | - | ||
88 | -} |
src/AppBundle/Entity/Genero.php~
@@ -1,84 +0,0 @@ | @@ -1,84 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: Wilmer Ramones | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 07:52 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Entity; | ||
10 | - | ||
11 | -use Doctrine\ORM\Mapping as ORM; | ||
12 | - | ||
13 | -/** | ||
14 | - * Genero | ||
15 | - * | ||
16 | - * @ORM\Table(name="genero", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre", columns={"nombre"})}) | ||
17 | - * @ORM\Entity | ||
18 | - */ | ||
19 | -class Genero | ||
20 | -{ | ||
21 | - /** | ||
22 | - * @var string | ||
23 | - * | ||
24 | - * @ORM\Column(name="nombre", type="string", length=10, nullable=false, options={"comment" = "Nombre del genero"}) | ||
25 | - */ | ||
26 | - private $nombre; | ||
27 | - | ||
28 | - /** | ||
29 | - * @var integer | ||
30 | - * | ||
31 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del genero"}) | ||
32 | - * @ORM\Id | ||
33 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
34 | - * @ORM\SequenceGenerator(sequenceName="genero_id_seq", allocationSize=1, initialValue=1) | ||
35 | - */ | ||
36 | - private $id; | ||
37 | - | ||
38 | - | ||
39 | - | ||
40 | - /** | ||
41 | - * Set nombre | ||
42 | - * | ||
43 | - * @param string $nombre | ||
44 | - * @return Genero | ||
45 | - */ | ||
46 | - public function setNombre($nombre) | ||
47 | - { | ||
48 | - $this->nombre = $nombre; | ||
49 | - | ||
50 | - return $this; | ||
51 | - } | ||
52 | - | ||
53 | - /** | ||
54 | - * Get nombre | ||
55 | - * | ||
56 | - * @return string | ||
57 | - */ | ||
58 | - public function getNombre() | ||
59 | - { | ||
60 | - return $this->nombre; | ||
61 | - } | ||
62 | - | ||
63 | - /** | ||
64 | - * Get id | ||
65 | - * | ||
66 | - * @return integer | ||
67 | - */ | ||
68 | - public function getId() | ||
69 | - { | ||
70 | - return $this->id; | ||
71 | - } | ||
72 | - | ||
73 | - /** | ||
74 | - * Get nombre | ||
75 | - * | ||
76 | - * @return string | ||
77 | - */ | ||
78 | - public function __toString() | ||
79 | - { | ||
80 | - return $this->nombre; | ||
81 | - } | ||
82 | - | ||
83 | - | ||
84 | -} | ||
85 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/GradoAcademico.php~
@@ -1,96 +0,0 @@ | @@ -1,96 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * GradoAcademico | ||
9 | - * | ||
10 | - * @ORM\Table(name="grado_academico", uniqueConstraints={@ORM\UniqueConstraint(name="uq_grado_academico", columns={"nombre", "abreviacion"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class GradoAcademico | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=30, nullable=false, options={"comment" = "Nombre del grado academico"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var string | ||
24 | - * | ||
25 | - * @ORM\Column(name="abreviacion", type="string", length=5, nullable=false, options={"comment" = "Siglas del grado academico Ejm. Lic., TSU"}) | ||
26 | - */ | ||
27 | - private $abreviacion; | ||
28 | - | ||
29 | - /** | ||
30 | - * @var integer | ||
31 | - * | ||
32 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del grado_academico"}) | ||
33 | - * @ORM\Id | ||
34 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
35 | - * @ORM\SequenceGenerator(sequenceName="grado_academico_id_seq", allocationSize=1, initialValue=1) | ||
36 | - */ | ||
37 | - private $id; | ||
38 | - | ||
39 | - | ||
40 | - | ||
41 | - /** | ||
42 | - * Set nombre | ||
43 | - * | ||
44 | - * @param string $nombre | ||
45 | - * @return GradoAcademico | ||
46 | - */ | ||
47 | - public function setNombre($nombre) | ||
48 | - { | ||
49 | - $this->nombre = $nombre; | ||
50 | - | ||
51 | - return $this; | ||
52 | - } | ||
53 | - | ||
54 | - /** | ||
55 | - * Get nombre | ||
56 | - * | ||
57 | - * @return string | ||
58 | - */ | ||
59 | - public function getNombre() | ||
60 | - { | ||
61 | - return $this->nombre; | ||
62 | - } | ||
63 | - | ||
64 | - /** | ||
65 | - * Set abreviacion | ||
66 | - * | ||
67 | - * @param string $abreviacion | ||
68 | - * @return GradoAcademico | ||
69 | - */ | ||
70 | - public function setAbreviacion($abreviacion) | ||
71 | - { | ||
72 | - $this->abreviacion = $abreviacion; | ||
73 | - | ||
74 | - return $this; | ||
75 | - } | ||
76 | - | ||
77 | - /** | ||
78 | - * Get abreviacion | ||
79 | - * | ||
80 | - * @return string | ||
81 | - */ | ||
82 | - public function getAbreviacion() | ||
83 | - { | ||
84 | - return $this->abreviacion; | ||
85 | - } | ||
86 | - | ||
87 | - /** | ||
88 | - * Get id | ||
89 | - * | ||
90 | - * @return integer | ||
91 | - */ | ||
92 | - public function getId() | ||
93 | - { | ||
94 | - return $this->id; | ||
95 | - } | ||
96 | -} | ||
97 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/Inscripcion.php~
@@ -1,171 +0,0 @@ | @@ -1,171 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Inscripcion | ||
9 | - * | ||
10 | - * @ORM\Table(name="inscripcion") | ||
11 | - * @ORM\Entity | ||
12 | - * @ORM\HasLifecycleCallBacks() | ||
13 | - */ | ||
14 | -class Inscripcion | ||
15 | -{ | ||
16 | - /** | ||
17 | - * @var integer | ||
18 | - * | ||
19 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la inscripcion del estudiante"}) | ||
20 | - * @ORM\Id | ||
21 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
22 | - * @ORM\SequenceGenerator(sequenceName="inscripcion_id_seq", allocationSize=1, initialValue=1) | ||
23 | - */ | ||
24 | - private $id; | ||
25 | - | ||
26 | - /** | ||
27 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstadoAcademico", inversedBy="hasInscripcion") | ||
28 | - * @ORM\JoinColumn(name="estado_academico_id", referencedColumnName="id") | ||
29 | - * */ | ||
30 | - private $idEstadoAcademico; | ||
31 | - | ||
32 | - /** | ||
33 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Seccion", inversedBy="hasInscripcion") | ||
34 | - * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") | ||
35 | - * */ | ||
36 | - private $idSeccion; | ||
37 | - | ||
38 | - | ||
39 | - /** | ||
40 | - * @var \AppBundle\Entity\Estatus | ||
41 | - * | ||
42 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
43 | - * @ORM\JoinColumns({ | ||
44 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
45 | - * }) | ||
46 | - */ | ||
47 | - private $idEstatus; | ||
48 | - | ||
49 | - | ||
50 | - | ||
51 | - /** | ||
52 | - * @var \DateTime | ||
53 | - * | ||
54 | - * @ORM\Column(name="fecha_creacion", type="date", nullable=false, options={"comment" = "fecha de creacion de la inscripcion"}) | ||
55 | - */ | ||
56 | - protected $created; | ||
57 | - | ||
58 | - | ||
59 | - /** | ||
60 | - * @var \DateTime | ||
61 | - * | ||
62 | - * @ORM\Column(name="fecha_ultima_actualizacion", type="date", nullable=false, options={"comment" = "fecha de actualizacion de la inscripcion"}) | ||
63 | - */ | ||
64 | - protected $modified; | ||
65 | - | ||
66 | - | ||
67 | - | ||
68 | - | ||
69 | - | ||
70 | - | ||
71 | - /** | ||
72 | - * @ORM\PrePersist | ||
73 | - */ | ||
74 | - public function prePersist() | ||
75 | - { | ||
76 | - | ||
77 | - $this->created = new \DateTime(); | ||
78 | - $this->modified = new \DateTime(); | ||
79 | - | ||
80 | - } | ||
81 | - | ||
82 | - | ||
83 | - /** | ||
84 | - * @ORM\PreUpdate | ||
85 | - */ | ||
86 | - public function preUpdate() | ||
87 | - { | ||
88 | - $this->modified = new \DateTime(); | ||
89 | - | ||
90 | - } | ||
91 | - | ||
92 | - | ||
93 | - /** | ||
94 | - * Get id | ||
95 | - * | ||
96 | - * @return integer | ||
97 | - */ | ||
98 | - public function getId() | ||
99 | - { | ||
100 | - return $this->id; | ||
101 | - } | ||
102 | - | ||
103 | - /** | ||
104 | - * Set idEstadoAcademico | ||
105 | - * | ||
106 | - * @param \AppBundle\Entity\EstadoAcademico $idEstadoAcademico | ||
107 | - * @return Inscripcion | ||
108 | - */ | ||
109 | - public function setIdEstadoAcademico(\AppBundle\Entity\EstadoAcademico $idEstadoAcademico = null) | ||
110 | - { | ||
111 | - $this->idEstadoAcademico = $idEstadoAcademico; | ||
112 | - | ||
113 | - return $this; | ||
114 | - } | ||
115 | - | ||
116 | - /** | ||
117 | - * Get idEstadoAcademico | ||
118 | - * | ||
119 | - * @return \AppBundle\Entity\EstadoAcademico | ||
120 | - */ | ||
121 | - public function getIdEstadoAcademico() | ||
122 | - { | ||
123 | - return $this->idEstadoAcademico; | ||
124 | - } | ||
125 | - | ||
126 | - /** | ||
127 | - * Set idSeccion | ||
128 | - * | ||
129 | - * @param \AppBundle\Entity\Seccion $idSeccion | ||
130 | - * @return Inscripcion | ||
131 | - */ | ||
132 | - public function setIdSeccion(\AppBundle\Entity\Seccion $idSeccion = null) | ||
133 | - { | ||
134 | - $this->idSeccion = $idSeccion; | ||
135 | - | ||
136 | - return $this; | ||
137 | - } | ||
138 | - | ||
139 | - /** | ||
140 | - * Get idSeccion | ||
141 | - * | ||
142 | - * @return \AppBundle\Entity\Seccion | ||
143 | - */ | ||
144 | - public function getIdSeccion() | ||
145 | - { | ||
146 | - return $this->idSeccion; | ||
147 | - } | ||
148 | - | ||
149 | - /** | ||
150 | - * Set idEstatus | ||
151 | - * | ||
152 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
153 | - * @return Inscripcion | ||
154 | - */ | ||
155 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
156 | - { | ||
157 | - $this->idEstatus = $idEstatus; | ||
158 | - | ||
159 | - return $this; | ||
160 | - } | ||
161 | - | ||
162 | - /** | ||
163 | - * Get idEstatus | ||
164 | - * | ||
165 | - * @return \AppBundle\Entity\Estatus | ||
166 | - */ | ||
167 | - public function getIdEstatus() | ||
168 | - { | ||
169 | - return $this->idEstatus; | ||
170 | - } | ||
171 | -} |
src/AppBundle/Entity/InscripcionCalificacion.php~
@@ -1,113 +0,0 @@ | @@ -1,113 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * InscripcionCalificacion | ||
9 | - * | ||
10 | - * @ORM\Table(name="registro_nota", uniqueConstraints={@ORM\UniqueConstraint(name="i_registro_nota", columns={"id_inscripcion", "id_calificacion"})}, indexes={@ORM\Index(name="fki_id_inscripcion", columns={"id_inscripcion"}), @ORM\Index(name="fki_id_calificacion", columns={"id_calificacion"}), @ORM\Index(name="fki_id_estatus_nota", columns={"id_estatus_nota"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class InscripcionCalificacion | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment"= "identificador del registro de la nota"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="registro_nota_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\Inscripcion | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Inscripcion") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_inscripcion", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idInscripcion; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\Calificacion | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Calificacion") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_calificacion", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - private $idCalificacion; | ||
44 | - | ||
45 | - | ||
46 | - /** | ||
47 | - * @var \AppBundle\Entity\EstatusNota | ||
48 | - * | ||
49 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstatusNota") | ||
50 | - * @ORM\JoinColumns({ | ||
51 | - * @ORM\JoinColumn(name="id_estatus_nota", referencedColumnName="id", nullable=false) | ||
52 | - * }) | ||
53 | - */ | ||
54 | - private $idEstatusNota; | ||
55 | - | ||
56 | - | ||
57 | - | ||
58 | - /** | ||
59 | - * Get id | ||
60 | - * | ||
61 | - * @return integer | ||
62 | - */ | ||
63 | - public function getId() | ||
64 | - { | ||
65 | - return $this->id; | ||
66 | - } | ||
67 | - | ||
68 | - /** | ||
69 | - * Set idInscripcion | ||
70 | - * | ||
71 | - * @param \AppBundle\Entity\Inscripcion $idInscripcion | ||
72 | - * @return InscripcionCalificacion | ||
73 | - */ | ||
74 | - public function setIdInscripcion(\AppBundle\Entity\Inscripcion $idInscripcion = null) | ||
75 | - { | ||
76 | - $this->idInscripcion = $idInscripcion; | ||
77 | - | ||
78 | - return $this; | ||
79 | - } | ||
80 | - | ||
81 | - /** | ||
82 | - * Get idInscripcion | ||
83 | - * | ||
84 | - * @return \AppBundle\Entity\Inscripcion | ||
85 | - */ | ||
86 | - public function getIdInscripcion() | ||
87 | - { | ||
88 | - return $this->idInscripcion; | ||
89 | - } | ||
90 | - | ||
91 | - /** | ||
92 | - * Set idCalificacion | ||
93 | - * | ||
94 | - * @param \AppBundle\Entity\Calificacion $idCalificacion | ||
95 | - * @return InscripcionCalificacion | ||
96 | - */ | ||
97 | - public function setIdCalificacion(\AppBundle\Entity\Calificacion $idCalificacion = null) | ||
98 | - { | ||
99 | - $this->idCalificacion = $idCalificacion; | ||
100 | - | ||
101 | - return $this; | ||
102 | - } | ||
103 | - | ||
104 | - /** | ||
105 | - * Get idCalificacion | ||
106 | - * | ||
107 | - * @return \AppBundle\Entity\Calificacion | ||
108 | - */ | ||
109 | - public function getIdCalificacion() | ||
110 | - { | ||
111 | - return $this->idCalificacion; | ||
112 | - } | ||
113 | -} | ||
114 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/MallaCurricular.php~
@@ -1,61 +0,0 @@ | @@ -1,61 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | -use Doctrine\ORM\Mapping as ORM; | ||
5 | - | ||
6 | -/** | ||
7 | - * MallaCurricular | ||
8 | - * | ||
9 | - * @ORM\Table(name="malla_curricular", uniqueConstraints={@ORM\UniqueConstraint(name="uq_codigo_malla_curricular", columns={"codigo"})}, indexes={@ORM\Index(name="fki_pfg_malla_curricular", columns={"id_pfg"}), @ORM\Index(name="fki_modalidad_malla_curricular", columns={"id_modalidad"})}) | ||
10 | - * @ORM\Entity | ||
11 | - */ | ||
12 | -class MallaCurricular | ||
13 | -{ | ||
14 | - /** | ||
15 | - * @var string | ||
16 | - * | ||
17 | - * @ORM\Column(name="nombre", type="string", length=100, nullable=false, options={"comment" = "Nombre de la malla curricular"}) | ||
18 | - */ | ||
19 | - private $nombre; | ||
20 | - | ||
21 | - /** | ||
22 | - * @var string | ||
23 | - * | ||
24 | - * @ORM\Column(name="codigo", type="string", length=12, nullable=false, options={"comment" = "Codigo de la malla curricular (valor existente previo de crear este modelo de BD)"}) | ||
25 | - */ | ||
26 | - private $codigo; | ||
27 | - | ||
28 | - /** | ||
29 | - * @var integer | ||
30 | - * | ||
31 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la malla curricular"}) | ||
32 | - * @ORM\Id | ||
33 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
34 | - * @ORM\SequenceGenerator(sequenceName="malla_curricular_id_seq", allocationSize=1, initialValue=1) | ||
35 | - */ | ||
36 | - private $id; | ||
37 | - | ||
38 | - /** | ||
39 | - * @var \AppBundle\Entity\Pfg | ||
40 | - * | ||
41 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Pfg") | ||
42 | - * @ORM\JoinColumns({ | ||
43 | - * @ORM\JoinColumn(name="id_pfg", referencedColumnName="id", nullable=false) | ||
44 | - * }) | ||
45 | - */ | ||
46 | - private $idPfg; | ||
47 | - | ||
48 | - /** | ||
49 | - * @var \AppBundle\Entity\Modalidad | ||
50 | - * | ||
51 | - * @ORM\ManyToOne(targetEntity="\AppBundle\Entity\Modalidad") | ||
52 | - * @ORM\JoinColumns({ | ||
53 | - * @ORM\JoinColumn(name="id_modalidad", referencedColumnName="id", nullable=false) | ||
54 | - * }) | ||
55 | - */ | ||
56 | - private $idModalidad; | ||
57 | - | ||
58 | - | ||
59 | - | ||
60 | - | ||
61 | -} |
src/AppBundle/Entity/MallaCurricularInstitucion.php~
@@ -1,58 +0,0 @@ | @@ -1,58 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * MallaCurricularInstitucion | ||
9 | - * | ||
10 | - * @ORM\Table(name="malla_curricular_institucion", uniqueConstraints={@ORM\UniqueConstraint(name="i_malla_curricular_institucion", columns={"id_institucion", "id_malla_curricular"})}, indexes={@ORM\Index(name="fki_estatus_malla_curricular_institucion", columns={"id_estatus"}), @ORM\Index(name="fki_malla_curricular_malla_curricular_institucion", columns={"id_malla_curricular"}), @ORM\Index(name="fki_institucion_malla_curricular_institucion", columns={"id_institucion"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class MallaCurricularInstitucion | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la malla curricular institucion"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="malla_curricular_institucion_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\MallaCurricular | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\MallaCurricular") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_malla_curricular", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idMallaCurricular; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\Institucion | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Institucion") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_institucion", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - private $idInstitucion; | ||
44 | - | ||
45 | - /** | ||
46 | - * @var \AppBundle\Entity\Estatus | ||
47 | - * | ||
48 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
49 | - * @ORM\JoinColumns({ | ||
50 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
51 | - * }) | ||
52 | - */ | ||
53 | - private $idEstatus; | ||
54 | - | ||
55 | - | ||
56 | - | ||
57 | - | ||
58 | -} |
src/AppBundle/Entity/MallaCurricularUc.php~
@@ -1,64 +0,0 @@ | @@ -1,64 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * MallaCurricularUc | ||
9 | - * | ||
10 | - * @ORM\Table(name="malla_curricular_uc", uniqueConstraints={@ORM\UniqueConstraint(name="i_malla_curricular", columns={"id_malla_curricular", "id_unidad_curricular_volumen"})}, indexes={@ORM\Index(name="fki_malla_curricular_malla_curricular_uc", columns={"id_malla_curricular"}), @ORM\Index(name="fki_trayecto_tramo_modalidad_malla_curricular_tipo_uc", columns={"id_trayecto_tramo_modalidad_tipo_uc"}), @ORM\Index(name="fki_unidad_curricular_volumen_malla_curricular", columns={"id_unidad_curricular_volumen"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class MallaCurricularUc | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="num_tramos", type="decimal", precision=2, scale=0, nullable=false, options={"comment" = "Numero de tramos de la unidad curricular"}) | ||
19 | - */ | ||
20 | - private $numTramos; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del registro"}) | ||
26 | - * @ORM\Id | ||
27 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
28 | - * @ORM\SequenceGenerator(sequenceName="malla_curricular_uc_id_seq", allocationSize=1, initialValue=1) | ||
29 | - */ | ||
30 | - private $id; | ||
31 | - | ||
32 | - /** | ||
33 | - * @var \AppBundle\Entity\UnidadCurricularVolumen | ||
34 | - * | ||
35 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\UnidadCurricularVolumen") | ||
36 | - * @ORM\JoinColumns({ | ||
37 | - * @ORM\JoinColumn(name="id_unidad_curricular_volumen", referencedColumnName="id", nullable=false) | ||
38 | - * }) | ||
39 | - */ | ||
40 | - private $idUnidadCurricularVolumen; | ||
41 | - | ||
42 | - /** | ||
43 | - * @var \AppBundle\Entity\TrayectoTramoModalidadTipo | ||
44 | - * | ||
45 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\TrayectoTramoModalidadTipo") | ||
46 | - * @ORM\JoinColumns({ | ||
47 | - * @ORM\JoinColumn(name="id_trayecto_tramo_modalidad_tipo_uc", referencedColumnName="id", nullable=false) | ||
48 | - * }) | ||
49 | - */ | ||
50 | - private $idTrayectoTramoModalidadTipoUc; | ||
51 | - | ||
52 | - /** | ||
53 | - * @var \AppBundle\Entity\MallaCurricular | ||
54 | - * | ||
55 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\MallaCurricular") | ||
56 | - * @ORM\JoinColumns({ | ||
57 | - * @ORM\JoinColumn(name="id_malla_curricular", referencedColumnName="id", nullable=false) | ||
58 | - * }) | ||
59 | - */ | ||
60 | - private $idMallaCurricular; | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | -} |
src/AppBundle/Entity/NomenclaturaNota.php~
@@ -1,42 +0,0 @@ | @@ -1,42 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * NomenclaturaNota | ||
9 | - * | ||
10 | - * @ORM\Table(name="nomenclatura_nota", uniqueConstraints={@ORM\UniqueConstraint(name="uq_descripcion_nomenclatura_nota", columns={"descripcion"}), @ORM\UniqueConstraint(name="uq_nombre_nomenclatura_nota", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class NomenclaturaNota | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la nomenclatura"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var string | ||
24 | - * | ||
25 | - * @ORM\Column(name="descripcion", type="string", nullable=false, options={"comment" = "Descripcion de la nomenclatura"}) | ||
26 | - */ | ||
27 | - private $descripcion; | ||
28 | - | ||
29 | - /** | ||
30 | - * @var integer | ||
31 | - * | ||
32 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la nomenclatura"}) | ||
33 | - * @ORM\Id | ||
34 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
35 | - * @ORM\SequenceGenerator(sequenceName="nomenclatura_nota_id_seq", allocationSize=1, initialValue=1) | ||
36 | - */ | ||
37 | - private $id; | ||
38 | - | ||
39 | - | ||
40 | - | ||
41 | - | ||
42 | -} | ||
43 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/Nota.php~
@@ -1,50 +0,0 @@ | @@ -1,50 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Nota | ||
9 | - * | ||
10 | - * @ORM\Table(name="nota", indexes={@ORM\Index(name="fki_id_escala_nota", columns={"id_escala"}), @ORM\Index(name="IDX_C8D03E0D66B9A058", columns={"id_nomenclatura_nota"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Nota | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la nota"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="nota_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\NomenclaturaNota | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\NomenclaturaNota") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_nomenclatura_nota", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idNomenclaturaNota; | ||
34 | - | ||
35 | - | ||
36 | - | ||
37 | - /** | ||
38 | - * @var \AppBundle\Entity\Escala | ||
39 | - * | ||
40 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Escala") | ||
41 | - * @ORM\JoinColumns({ | ||
42 | - * @ORM\JoinColumn(name="id_escala", referencedColumnName="id", nullable=false) | ||
43 | - * }) | ||
44 | - */ | ||
45 | - private $idEscala; | ||
46 | - | ||
47 | - | ||
48 | - | ||
49 | - | ||
50 | -} | ||
51 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/OfertaAcademica.php~
@@ -1,203 +0,0 @@ | @@ -1,203 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * OfertaAcademica | ||
9 | - * | ||
10 | - * @ORM\Table(name="oferta_academica", | ||
11 | - * uniqueConstraints= | ||
12 | - * {@ORM\UniqueConstraint(name="i_oferta_academica", | ||
13 | - * columns={"id_malla_curricular_uc", "id_oferta_malla_curricular"}) | ||
14 | - * }, | ||
15 | - * indexes={ | ||
16 | - * @ORM\Index(name="fki_oferta_malla_curricular_oferta_academica", | ||
17 | - * columns={"id_oferta_malla_curricular"}), | ||
18 | - * @ORM\Index(name="fki_malla_curricular_uc_oferta_academica", | ||
19 | - * columns={"id_malla_curricular_uc"}) | ||
20 | - * } | ||
21 | - * ) | ||
22 | - * @ORM\Entity | ||
23 | - * @ORM\HasLifecycleCallbacks() | ||
24 | - */ | ||
25 | -class OfertaAcademica | ||
26 | -{ | ||
27 | - | ||
28 | - | ||
29 | - /** | ||
30 | - * @var integer | ||
31 | - * | ||
32 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la unidad cirrucular"}) | ||
33 | - * @ORM\Id | ||
34 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
35 | - * @ORM\SequenceGenerator(sequenceName="oferta_academica_id_seq", allocationSize=1, initialValue=1) | ||
36 | - */ | ||
37 | - private $id; | ||
38 | - | ||
39 | - /** | ||
40 | - * @var \AppBundle\Entity\MallaCurricularUC | ||
41 | - * | ||
42 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\MallaCurricularUc") | ||
43 | - * @ORM\JoinColumns({ | ||
44 | - * @ORM\JoinColumn(name="id_malla_curricular_uc", referencedColumnName="id", nullable=false) | ||
45 | - * }) | ||
46 | - * | ||
47 | - */ | ||
48 | - private $idMallaCurricularUc; | ||
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | - /** | ||
54 | - * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") | ||
55 | - */ | ||
56 | - private $seccion; | ||
57 | - | ||
58 | - | ||
59 | - /** @ORM\Column(name="fecha_creacion", type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
60 | - | ||
61 | - */ | ||
62 | - | ||
63 | - private $fechaCreacion; | ||
64 | - | ||
65 | - | ||
66 | - /** @ORM\Column(name="fecha_actualizacion", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
67 | - | ||
68 | - */ | ||
69 | - | ||
70 | - private $fechaActualizacion; | ||
71 | - | ||
72 | - | ||
73 | - /** | ||
74 | - * @var \AppBundle\Entity\OfertaMallaCurricular | ||
75 | - * | ||
76 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\OfertaMallaCurricular") | ||
77 | - * @ORM\JoinColumns({ | ||
78 | - * @ORM\JoinColumn(name="id_oferta_malla_curricular", referencedColumnName="id", nullable=false) | ||
79 | - * }) | ||
80 | - */ | ||
81 | - private $idOfertaMallaCurricular; | ||
82 | - | ||
83 | - /** | ||
84 | - * Constructor | ||
85 | - */ | ||
86 | - public function __construct() | ||
87 | - { | ||
88 | - $this->seccion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
89 | - } | ||
90 | - | ||
91 | - /** | ||
92 | - * Get id | ||
93 | - * | ||
94 | - * @return integer | ||
95 | - */ | ||
96 | - public function getId() | ||
97 | - { | ||
98 | - return $this->id; | ||
99 | - } | ||
100 | - | ||
101 | - /** | ||
102 | - * Set idMallaCurricularUc | ||
103 | - * | ||
104 | - * @param \AppBundle\Entity\MallaCurricularUc $idMallaCurricularUc | ||
105 | - * @return OfertaAcademica | ||
106 | - */ | ||
107 | - public function setIdMallaCurricularUc(\AppBundle\Entity\MallaCurricularUc $idMallaCurricularUc) | ||
108 | - { | ||
109 | - $this->idMallaCurricularUc = $idMallaCurricularUc; | ||
110 | - | ||
111 | - return $this; | ||
112 | - } | ||
113 | - | ||
114 | - /** | ||
115 | - * Get idMallaCurricularUc | ||
116 | - * | ||
117 | - * @return \AppBundle\Entity\MallaCurricularUc | ||
118 | - */ | ||
119 | - public function getIdMallaCurricularUc() | ||
120 | - { | ||
121 | - return $this->idMallaCurricularUc; | ||
122 | - } | ||
123 | - | ||
124 | - /** | ||
125 | - * Add seccion | ||
126 | - * | ||
127 | - * @param \AppBundle\Entity\Seccion $seccion | ||
128 | - * @return OfertaAcademica | ||
129 | - */ | ||
130 | - public function addSeccion(\AppBundle\Entity\Seccion $seccion) | ||
131 | - { | ||
132 | - $this->seccion[] = $seccion; | ||
133 | - | ||
134 | - return $this; | ||
135 | - } | ||
136 | - | ||
137 | - /** | ||
138 | - * Remove seccion | ||
139 | - * | ||
140 | - * @param \AppBundle\Entity\Seccion $seccion | ||
141 | - */ | ||
142 | - public function removeSeccion(\AppBundle\Entity\Seccion $seccion) | ||
143 | - { | ||
144 | - $this->seccion->removeElement($seccion); | ||
145 | - } | ||
146 | - | ||
147 | - /** | ||
148 | - * Get seccion | ||
149 | - * | ||
150 | - * @return \Doctrine\Common\Collections\Collection | ||
151 | - */ | ||
152 | - public function getSeccion() | ||
153 | - { | ||
154 | - return $this->seccion; | ||
155 | - } | ||
156 | - | ||
157 | - /** | ||
158 | - * Set idOfertaMallaCurricular | ||
159 | - * | ||
160 | - * @param \AppBundle\Entity\OfertaMallaCurricular $idOfertaMallaCurricular | ||
161 | - * @return OfertaAcademica | ||
162 | - */ | ||
163 | - public function setIdOfertaMallaCurricular(\AppBundle\Entity\OfertaMallaCurricular $idOfertaMallaCurricular) | ||
164 | - { | ||
165 | - $this->idOfertaMallaCurricular = $idOfertaMallaCurricular; | ||
166 | - | ||
167 | - return $this; | ||
168 | - } | ||
169 | - | ||
170 | - /** | ||
171 | - * Get idOfertaMallaCurricular | ||
172 | - * | ||
173 | - * @return \AppBundle\Entity\OfertaMallaCurricular | ||
174 | - */ | ||
175 | - public function getIdOfertaMallaCurricular() | ||
176 | - { | ||
177 | - return $this->idOfertaMallaCurricular; | ||
178 | - } | ||
179 | - | ||
180 | - | ||
181 | - /** | ||
182 | - * @ORM\PrePersist() | ||
183 | - */ | ||
184 | - public function prePersist() | ||
185 | - { | ||
186 | - $this->fechaCreacion = new \DateTime(); | ||
187 | - $this->fechaActualizacion = new \DateTime(); | ||
188 | - } | ||
189 | - | ||
190 | - | ||
191 | - /** | ||
192 | - * @ORM\PreUpdate() | ||
193 | - */ | ||
194 | - public function preUpdate() | ||
195 | - { | ||
196 | - $this->fechaActualizacion = new \DateTime(); | ||
197 | - } | ||
198 | - | ||
199 | - | ||
200 | - public function __toString() { | ||
201 | - return $this->getIdMallaCurricularUc()->getIdUnidadCurricularVolumen()->getIdUnidadCurricular()->getNombre(); | ||
202 | - } | ||
203 | -} |
src/AppBundle/Entity/OfertaMallaCurricular.php~
@@ -1,46 +0,0 @@ | @@ -1,46 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * OfertaMallaCurricular | ||
9 | - * | ||
10 | - * @ORM\Table(name="oferta_malla_curricular", uniqueConstraints={@ORM\UniqueConstraint(name="i_oferta_malla_curricular", columns={"id_malla_curricular_institucion", "id_periodo"})}, indexes={@ORM\Index(name="fki_id_malla_curricular_institucion_oferta_malla_curricular", columns={"id_malla_curricular_institucion"}), @ORM\Index(name="fki_periodo_oferta_malla_curricular", columns={"id_periodo"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class OfertaMallaCurricular | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer") | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="oferta_malla_curricular_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\Periodo | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Periodo") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_periodo", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idPeriodo; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\MallaCurricularInstitucion | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\MallaCurricularInstitucion") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_malla_curricular_institucion", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - private $idMallaCurricularInstitucion; | ||
44 | - | ||
45 | - | ||
46 | -} | ||
47 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/Periodo.php~
@@ -1,117 +0,0 @@ | @@ -1,117 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Periodo | ||
9 | - * | ||
10 | - * @ORM\Table(name="periodo") | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Periodo | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=8, nullable=false, options={"comment" = "nombre periodo"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var \AppBundle\Entity\Estatus | ||
24 | - * | ||
25 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
26 | - * @ORM\JoinColumns({ | ||
27 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
28 | - * }) | ||
29 | - */ | ||
30 | - private $idEstatus; | ||
31 | - | ||
32 | - /** | ||
33 | - * @var integer | ||
34 | - * | ||
35 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del periodo lectivo"}) | ||
36 | - * @ORM\Id | ||
37 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
38 | - * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) | ||
39 | - */ | ||
40 | - private $id; | ||
41 | - | ||
42 | - | ||
43 | - /** @ORM\Column(name="fecha_inicio", type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
44 | - | ||
45 | - */ | ||
46 | - | ||
47 | - private $fechaInicio; | ||
48 | - | ||
49 | - | ||
50 | - /** @ORM\Column(name="fecha_fin", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
51 | - | ||
52 | - */ | ||
53 | - | ||
54 | - private $fechaFin; | ||
55 | - | ||
56 | - | ||
57 | - | ||
58 | - /** | ||
59 | - * Set nombre | ||
60 | - * | ||
61 | - * @param string $nombre | ||
62 | - * @return Periodo | ||
63 | - */ | ||
64 | - public function setNombre($nombre) | ||
65 | - { | ||
66 | - $this->nombre = $nombre; | ||
67 | - | ||
68 | - return $this; | ||
69 | - } | ||
70 | - | ||
71 | - /** | ||
72 | - * Get nombre | ||
73 | - * | ||
74 | - * @return string | ||
75 | - */ | ||
76 | - public function getNombre() | ||
77 | - { | ||
78 | - return $this->nombre; | ||
79 | - } | ||
80 | - | ||
81 | - /** | ||
82 | - * Get id | ||
83 | - * | ||
84 | - * @return integer | ||
85 | - */ | ||
86 | - public function getId() | ||
87 | - { | ||
88 | - return $this->id; | ||
89 | - } | ||
90 | - | ||
91 | - /** | ||
92 | - * Set idEstatus | ||
93 | - * | ||
94 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
95 | - * @return Periodo | ||
96 | - */ | ||
97 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
98 | - { | ||
99 | - $this->idEstatus = $idEstatus; | ||
100 | - | ||
101 | - return $this; | ||
102 | - } | ||
103 | - | ||
104 | - /** | ||
105 | - * Get idEstatus | ||
106 | - * | ||
107 | - * @return \AppBundle\Entity\Estatus | ||
108 | - */ | ||
109 | - public function getIdEstatus() | ||
110 | - { | ||
111 | - return $this->idEstatus; | ||
112 | - } | ||
113 | - | ||
114 | - public function __toString() { | ||
115 | - return $this->getNombre(); | ||
116 | - } | ||
117 | -} |
src/AppBundle/Entity/Pfg.php~
@@ -1,126 +0,0 @@ | @@ -1,126 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Pfg | ||
9 | - * | ||
10 | - * @ORM\Table(name="pfg", uniqueConstraints={@ORM\UniqueConstraint(name="uq_programa", columns={"codigo", "nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Pfg | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=80, nullable=false, options={"comment" = "nombre programa de formacion de grado"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var string | ||
24 | - * | ||
25 | - * @ORM\Column(name="codigo", type="string", length=8, nullable=false, options={"comment" = "codigo programa de formacion de grado"}) | ||
26 | - */ | ||
27 | - private $codigo; | ||
28 | - | ||
29 | - /** | ||
30 | - * @var boolean | ||
31 | - * | ||
32 | - * @ORM\Column(name="carrera_ubv", type="boolean", nullable=false, options={"comment" = "Indica si la carreras o PFG es dictada por la UBV"}) | ||
33 | - */ | ||
34 | - private $carreraUbv; | ||
35 | - | ||
36 | - /** | ||
37 | - * @var integer | ||
38 | - * | ||
39 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del programa de formacion de grado"}) | ||
40 | - * @ORM\Id | ||
41 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
42 | - * @ORM\SequenceGenerator(sequenceName="pfg_id_seq", allocationSize=1, initialValue=1) | ||
43 | - */ | ||
44 | - private $id; | ||
45 | - | ||
46 | - | ||
47 | - | ||
48 | - /** | ||
49 | - * Set nombre | ||
50 | - * | ||
51 | - * @param string $nombre | ||
52 | - * @return Pfg | ||
53 | - */ | ||
54 | - public function setNombre($nombre) | ||
55 | - { | ||
56 | - $this->nombre = $nombre; | ||
57 | - | ||
58 | - return $this; | ||
59 | - } | ||
60 | - | ||
61 | - /** | ||
62 | - * Get nombre | ||
63 | - * | ||
64 | - * @return string | ||
65 | - */ | ||
66 | - public function getNombre() | ||
67 | - { | ||
68 | - return $this->nombre; | ||
69 | - } | ||
70 | - | ||
71 | - /** | ||
72 | - * Set codigo | ||
73 | - * | ||
74 | - * @param string $codigo | ||
75 | - * @return Pfg | ||
76 | - */ | ||
77 | - public function setCodigo($codigo) | ||
78 | - { | ||
79 | - $this->codigo = $codigo; | ||
80 | - | ||
81 | - return $this; | ||
82 | - } | ||
83 | - | ||
84 | - /** | ||
85 | - * Get codigo | ||
86 | - * | ||
87 | - * @return string | ||
88 | - */ | ||
89 | - public function getCodigo() | ||
90 | - { | ||
91 | - return $this->codigo; | ||
92 | - } | ||
93 | - | ||
94 | - /** | ||
95 | - * Set carreraUbv | ||
96 | - * | ||
97 | - * @param boolean $carreraUbv | ||
98 | - * @return Pfg | ||
99 | - */ | ||
100 | - public function setCarreraUbv($carreraUbv) | ||
101 | - { | ||
102 | - $this->carreraUbv = $carreraUbv; | ||
103 | - | ||
104 | - return $this; | ||
105 | - } | ||
106 | - | ||
107 | - /** | ||
108 | - * Get carreraUbv | ||
109 | - * | ||
110 | - * @return boolean | ||
111 | - */ | ||
112 | - public function getCarreraUbv() | ||
113 | - { | ||
114 | - return $this->carreraUbv; | ||
115 | - } | ||
116 | - | ||
117 | - /** | ||
118 | - * Get id | ||
119 | - * | ||
120 | - * @return integer | ||
121 | - */ | ||
122 | - public function getId() | ||
123 | - { | ||
124 | - return $this->id; | ||
125 | - } | ||
126 | -} | ||
127 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/PlanHistoricoNacional.php~
@@ -1,53 +0,0 @@ | @@ -1,53 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanHistoricoNacional | ||
9 | - * | ||
10 | - * @ORM\Table(name="plan_historico_nacional", uniqueConstraints={@ORM\UniqueConstraint(name="uq_municipio", columns={"numero"})}, indexes={@ORM\Index(name="fki_historico_nacional", columns={"id_plan_objetivo_historico"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class PlanHistoricoNacional | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=100, nullable=false, options={"comment" = "Nombre del plan_historico_nacional"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="numero", type="integer", nullable=false, options={"comment" = "Codigo del muncipio (union de todas las parroquias que lo componen)"}) | ||
26 | - */ | ||
27 | - private $numero; | ||
28 | - | ||
29 | - | ||
30 | - /** | ||
31 | - * @var integer | ||
32 | - * | ||
33 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del plan_historico_nacional"}) | ||
34 | - * @ORM\Id | ||
35 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
36 | - * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
37 | - */ | ||
38 | - private $id; | ||
39 | - | ||
40 | - /** | ||
41 | - * @var \AppBundle\Entity\PlanObjetivoHistorico | ||
42 | - * | ||
43 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanObjetivoHistorico") | ||
44 | - * @ORM\JoinColumns({ | ||
45 | - * @ORM\JoinColumn(name="id_plan_objetivo_historico", referencedColumnName="id", nullable=false) | ||
46 | - * }) | ||
47 | - */ | ||
48 | - private $idPlanObjetivoHistorico; | ||
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | -} | ||
54 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/PlanHistoricoNacionalEstrategico.php~
@@ -1,52 +0,0 @@ | @@ -1,52 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanHistoricoNacionalEstrategico | ||
9 | - * | ||
10 | - * @ORM\Table(name="plan_historico_nacional_estrategico", uniqueConstraints={@ORM\UniqueConstraint(name="uq_estrategico", columns={"numero"})}, indexes={@ORM\Index(name="fki_id_nacional_estrategico", columns={"id_plan_historico_nacional"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class PlanHistoricoNacionalEstrategico | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=40, nullable=false, options={"comment" = "nombre de plan_historico_nacional_estrategico"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="numero", type="integer", nullable=false, options={"comment" = "codigo plan_historico_nacional_estrategico"}) | ||
26 | - */ | ||
27 | - private $numero; | ||
28 | - | ||
29 | - /** | ||
30 | - * @var integer | ||
31 | - * | ||
32 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de la plan_historico_nacional_estrategico"}) | ||
33 | - * @ORM\Id | ||
34 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
35 | - * @ORM\SequenceGenerator(sequenceName="parroquia_id_seq", allocationSize=1, initialValue=1) | ||
36 | - */ | ||
37 | - private $id; | ||
38 | - | ||
39 | - /** | ||
40 | - * @var \AppBundle\Entity\PlanHistoricoNacional | ||
41 | - * | ||
42 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanHistoricoNacional") | ||
43 | - * @ORM\JoinColumns({ | ||
44 | - * @ORM\JoinColumn(name="id_plan_historico_nacional", referencedColumnName="id", nullable=false) | ||
45 | - * }) | ||
46 | - */ | ||
47 | - private $idPlanHistoricoNacional; | ||
48 | - | ||
49 | - | ||
50 | - | ||
51 | - | ||
52 | -} |
src/AppBundle/Entity/PlanObjetivoHistorico.php~
@@ -1,56 +0,0 @@ | @@ -1,56 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | - | ||
4 | -namespace AppBundle\Entity; | ||
5 | - | ||
6 | -use Doctrine\ORM\Mapping as ORM; | ||
7 | - | ||
8 | -/** | ||
9 | - * PlanObjetivoHistorico | ||
10 | - * | ||
11 | - * @ORM\Table(name="plan_objetivo_historico", uniqueConstraints={@ORM\UniqueConstraint(name="uq_numero", columns={"numero", "nombre"})}) | ||
12 | - * @ORM\Entity | ||
13 | - */ | ||
14 | -class PlanObjetivoHistorico | ||
15 | -{ | ||
16 | - /** | ||
17 | - * @var string | ||
18 | - * | ||
19 | - * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del plan_objetivo_historico"}) | ||
20 | - */ | ||
21 | - private $nombre; | ||
22 | - | ||
23 | - | ||
24 | - /** | ||
25 | - * @var integer | ||
26 | - * | ||
27 | - * @ORM\Column(name="numero", type="integer", nullable=false, options={"comment" = "numero del orden del gran Objetivo Histรณrico"}) | ||
28 | - */ | ||
29 | - private $numero; | ||
30 | - | ||
31 | - /** | ||
32 | - * @var integer | ||
33 | - * | ||
34 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del plan_objetivo_historico"}) | ||
35 | - * @ORM\Id | ||
36 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
37 | - * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
38 | - */ | ||
39 | - private $id; | ||
40 | - | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | - /** | ||
46 | - * Get nombre | ||
47 | - * | ||
48 | - * @return string | ||
49 | - */ | ||
50 | - public function __toString() | ||
51 | - { | ||
52 | - return $this->nombre; | ||
53 | - } | ||
54 | - | ||
55 | - | ||
56 | -} | ||
57 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/PlanificacionCalificacion.php~
@@ -1,172 +0,0 @@ | @@ -1,172 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanificacionCalificacion | ||
9 | - * | ||
10 | - * @ORM\Table(name="planificacion_calificacion", uniqueConstraints={@ORM\UniqueConstraint(name="i_registro_nota_planificacion", columns={"id_inscripcion", "id_calificacion", "id_planificacion_seccion"})}, indexes={@ORM\Index(name="fki_id_inscripcion_planificacion", columns={"id_inscripcion"}), @ORM\Index(name="fki_id_calificacion_planificacion", columns={"id_calificacion"}), @ORM\Index(name="fki_id_estatus_nota_planificacion", columns={"id_estatus_nota"}), @ORM\Index(name="fki_id_planificacion_seccion", columns={"id_planificacion_seccion"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class PlanificacionCalificacion | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment"= "identificador del registro de la nota"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="registro_nota_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - | ||
26 | - /** | ||
27 | - * @var \AppBundle\Entity\PlanificacionSeccion | ||
28 | - * | ||
29 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion", inversedBy="hasCalificacion") | ||
30 | - * @ORM\JoinColumns({ | ||
31 | - * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
32 | - * }) | ||
33 | - */ | ||
34 | - private $idPlanificacionSeccion; | ||
35 | - | ||
36 | - /** | ||
37 | - * @var \AppBundle\Entity\Inscripcion | ||
38 | - * | ||
39 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Inscripcion") | ||
40 | - * @ORM\JoinColumns({ | ||
41 | - * @ORM\JoinColumn(name="id_inscripcion", referencedColumnName="id", nullable=false) | ||
42 | - * }) | ||
43 | - */ | ||
44 | - private $idInscripcion; | ||
45 | - | ||
46 | - /** | ||
47 | - * @var \AppBundle\Entity\Calificacion | ||
48 | - * | ||
49 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Calificacion") | ||
50 | - * @ORM\JoinColumns({ | ||
51 | - * @ORM\JoinColumn(name="id_calificacion", referencedColumnName="id", nullable=false) | ||
52 | - * }) | ||
53 | - */ | ||
54 | - private $idCalificacion; | ||
55 | - | ||
56 | - | ||
57 | - /** | ||
58 | - * @var \AppBundle\Entity\EstatusNota | ||
59 | - * | ||
60 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstatusNota") | ||
61 | - * @ORM\JoinColumns({ | ||
62 | - * @ORM\JoinColumn(name="id_estatus_nota", referencedColumnName="id", nullable=false) | ||
63 | - * }) | ||
64 | - */ | ||
65 | - private $idEstatusNota; | ||
66 | - | ||
67 | - | ||
68 | - | ||
69 | - | ||
70 | - | ||
71 | - /** | ||
72 | - * Get id | ||
73 | - * | ||
74 | - * @return integer | ||
75 | - */ | ||
76 | - public function getId() | ||
77 | - { | ||
78 | - return $this->id; | ||
79 | - } | ||
80 | - | ||
81 | - /** | ||
82 | - * Set idPlanificacionSeccion | ||
83 | - * | ||
84 | - * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion | ||
85 | - * @return PlanificacionCalificacion | ||
86 | - */ | ||
87 | - public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) | ||
88 | - { | ||
89 | - $this->idPlanificacionSeccion = $idPlanificacionSeccion; | ||
90 | - | ||
91 | - return $this; | ||
92 | - } | ||
93 | - | ||
94 | - /** | ||
95 | - * Get idPlanificacionSeccion | ||
96 | - * | ||
97 | - * @return \AppBundle\Entity\PlanificacionSeccion | ||
98 | - */ | ||
99 | - public function getIdPlanificacionSeccion() | ||
100 | - { | ||
101 | - return $this->idPlanificacionSeccion; | ||
102 | - } | ||
103 | - | ||
104 | - /** | ||
105 | - * Set idInscripcion | ||
106 | - * | ||
107 | - * @param \AppBundle\Entity\Inscripcion $idInscripcion | ||
108 | - * @return PlanificacionCalificacion | ||
109 | - */ | ||
110 | - public function setIdInscripcion(\AppBundle\Entity\Inscripcion $idInscripcion) | ||
111 | - { | ||
112 | - $this->idInscripcion = $idInscripcion; | ||
113 | - | ||
114 | - return $this; | ||
115 | - } | ||
116 | - | ||
117 | - /** | ||
118 | - * Get idInscripcion | ||
119 | - * | ||
120 | - * @return \AppBundle\Entity\Inscripcion | ||
121 | - */ | ||
122 | - public function getIdInscripcion() | ||
123 | - { | ||
124 | - return $this->idInscripcion; | ||
125 | - } | ||
126 | - | ||
127 | - /** | ||
128 | - * Set idCalificacion | ||
129 | - * | ||
130 | - * @param \AppBundle\Entity\Calificacion $idCalificacion | ||
131 | - * @return PlanificacionCalificacion | ||
132 | - */ | ||
133 | - public function setIdCalificacion(\AppBundle\Entity\Calificacion $idCalificacion) | ||
134 | - { | ||
135 | - $this->idCalificacion = $idCalificacion; | ||
136 | - | ||
137 | - return $this; | ||
138 | - } | ||
139 | - | ||
140 | - /** | ||
141 | - * Get idCalificacion | ||
142 | - * | ||
143 | - * @return \AppBundle\Entity\Calificacion | ||
144 | - */ | ||
145 | - public function getIdCalificacion() | ||
146 | - { | ||
147 | - return $this->idCalificacion; | ||
148 | - } | ||
149 | - | ||
150 | - /** | ||
151 | - * Set idEstatusNota | ||
152 | - * | ||
153 | - * @param \AppBundle\Entity\EstatusNota $idEstatusNota | ||
154 | - * @return PlanificacionCalificacion | ||
155 | - */ | ||
156 | - public function setIdEstatusNota(\AppBundle\Entity\EstatusNota $idEstatusNota) | ||
157 | - { | ||
158 | - $this->idEstatusNota = $idEstatusNota; | ||
159 | - | ||
160 | - return $this; | ||
161 | - } | ||
162 | - | ||
163 | - /** | ||
164 | - * Get idEstatusNota | ||
165 | - * | ||
166 | - * @return \AppBundle\Entity\EstatusNota | ||
167 | - */ | ||
168 | - public function getIdEstatusNota() | ||
169 | - { | ||
170 | - return $this->idEstatusNota; | ||
171 | - } | ||
172 | -} |
src/AppBundle/Entity/PlanificacionSeccion.php~
@@ -1,406 +0,0 @@ | @@ -1,406 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanificacionSeccion | ||
9 | - * | ||
10 | - * @ORM\Table(name="planificacion_seccion", | ||
11 | - * uniqueConstraints= | ||
12 | - * {@ORM\UniqueConstraint(name="uq_tema_uc_seccion", | ||
13 | - * columns={"id_tema_uc", "seccion_id"}) | ||
14 | - * }, | ||
15 | - * indexes={ | ||
16 | - * @ORM\Index(name="fki_id_tema_uc", | ||
17 | - * columns={"id_tema_uc"}) | ||
18 | - * } | ||
19 | - * ) | ||
20 | - * @ORM\Entity | ||
21 | - * @ORM\HasLifecycleCallbacks() | ||
22 | - */ | ||
23 | -class PlanificacionSeccion | ||
24 | -{ | ||
25 | - | ||
26 | - /** | ||
27 | - * @var \AppBundle\Entity\UnidadCurricularVolumenTema | ||
28 | - * | ||
29 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\UnidadCurricularVolumenTema", inversedBy="hasPlanificacion") | ||
30 | - * @ORM\JoinColumns({ | ||
31 | - * @ORM\JoinColumn(name="id_tema_uc", referencedColumnName="id", nullable=false) | ||
32 | - * }) | ||
33 | - */ | ||
34 | - private $idtemaUc; | ||
35 | - | ||
36 | - | ||
37 | - /** | ||
38 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccionEspecifico", mappedBy="planificacionSeccionId",cascade={"all"}) | ||
39 | - * @var \Doctrine\Common\Collections\ArrayCollection | ||
40 | - */ | ||
41 | - private $objetivoEspecifico; | ||
42 | - | ||
43 | - | ||
44 | - /** | ||
45 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccionContenido", mappedBy="planificacionSeccionId", cascade={"all"}) | ||
46 | - * @var \Doctrine\Common\Collections\ArrayCollection | ||
47 | - */ | ||
48 | - private $contenido; | ||
49 | - | ||
50 | - | ||
51 | - /** | ||
52 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccionEstrategia", mappedBy="planificacionSeccionId", cascade={"all"}) | ||
53 | - */ | ||
54 | - private $estrategia; | ||
55 | - | ||
56 | - | ||
57 | - /** | ||
58 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccionEvaluacion", mappedBy="planificacionSeccionId", cascade={"all"}) | ||
59 | - */ | ||
60 | - private $evaluacion; | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | - /** @ORM\Column(name="fecha_creacion", type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
65 | - | ||
66 | - */ | ||
67 | - | ||
68 | - private $fechaCreacion; | ||
69 | - | ||
70 | - | ||
71 | - /** @ORM\Column(name="fecha_ultima_actualizacion", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
72 | - | ||
73 | - */ | ||
74 | - | ||
75 | - private $fechaUltimaActualizacion; | ||
76 | - | ||
77 | - | ||
78 | - /** @var text | ||
79 | - * | ||
80 | - * @ORM\Column(name="observacion", type="text", nullable=true, options={"comment" = "Observacion de la planificacion"}) | ||
81 | - */ | ||
82 | - private $observacion; | ||
83 | - | ||
84 | - | ||
85 | - | ||
86 | - /** | ||
87 | - * @var integer | ||
88 | - * | ||
89 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de las seccion"}) | ||
90 | - * @ORM\Id | ||
91 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
92 | - * @ORM\SequenceGenerator(sequenceName="seccion_id_seq", allocationSize=1, initialValue=1) | ||
93 | - */ | ||
94 | - private $id; | ||
95 | - | ||
96 | - /** | ||
97 | - * @ORM\ManyToOne(targetEntity="Seccion", inversedBy="planificacion") | ||
98 | - * @ORM\JoinColumn(name="seccion_id", referencedColumnName="id") | ||
99 | - */ | ||
100 | - private $seccion; | ||
101 | - | ||
102 | - /** | ||
103 | - * @ORM\OneToMany(targetEntity="AppBundle\Entity\PlanificacionCalificacion", mappedBy="idPlanificacionSeccion", cascade={"all"}) | ||
104 | - * */ | ||
105 | - protected $hasCalificacion; | ||
106 | - | ||
107 | - | ||
108 | - | ||
109 | - /** | ||
110 | - * Constructor | ||
111 | - */ | ||
112 | - public function __construct() | ||
113 | - { | ||
114 | - $this->objetivoEspecifico = new \Doctrine\Common\Collections\ArrayCollection(); | ||
115 | - $this->contenido = new \Doctrine\Common\Collections\ArrayCollection(); | ||
116 | - $this->estrategia = new \Doctrine\Common\Collections\ArrayCollection(); | ||
117 | - $this->evaluacion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
118 | - $this->hasCalificacion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
119 | - } | ||
120 | - | ||
121 | - | ||
122 | - | ||
123 | - /** | ||
124 | - * Set observacion | ||
125 | - * | ||
126 | - * @param string $observacion | ||
127 | - * @return PlanificacionSeccion | ||
128 | - */ | ||
129 | - public function setObservacion($observacion) | ||
130 | - { | ||
131 | - $this->observacion = $observacion; | ||
132 | - | ||
133 | - return $this; | ||
134 | - } | ||
135 | - | ||
136 | - /** | ||
137 | - * Get observacion | ||
138 | - * | ||
139 | - * @return string | ||
140 | - */ | ||
141 | - public function getObservacion() | ||
142 | - { | ||
143 | - return $this->observacion; | ||
144 | - } | ||
145 | - | ||
146 | - /** | ||
147 | - * Get id | ||
148 | - * | ||
149 | - * @return integer | ||
150 | - */ | ||
151 | - public function getId() | ||
152 | - { | ||
153 | - return $this->id; | ||
154 | - } | ||
155 | - | ||
156 | - /** | ||
157 | - * Set idtemaUc | ||
158 | - * | ||
159 | - * @param \AppBundle\Entity\UnidadCurricularVolumenTema $idtemaUc | ||
160 | - * @return PlanificacionSeccion | ||
161 | - */ | ||
162 | - public function setIdtemaUc(\AppBundle\Entity\UnidadCurricularVolumenTema $idtemaUc) | ||
163 | - { | ||
164 | - $this->idtemaUc = $idtemaUc; | ||
165 | - | ||
166 | - return $this; | ||
167 | - } | ||
168 | - | ||
169 | - /** | ||
170 | - * Get idtemaUc | ||
171 | - * | ||
172 | - * @return \AppBundle\Entity\UnidadCurricularVolumenTema | ||
173 | - */ | ||
174 | - public function getIdtemaUc() | ||
175 | - { | ||
176 | - return $this->idtemaUc; | ||
177 | - } | ||
178 | - | ||
179 | - | ||
180 | - | ||
181 | - /** | ||
182 | - * Add contenido | ||
183 | - * | ||
184 | - * @param \AppBundle\Entity\PlanificacionSeccionContenido $contenido | ||
185 | - * @return PlanificacionSeccion | ||
186 | - */ | ||
187 | - public function addContenido(\AppBundle\Entity\PlanificacionSeccionContenido $contenido) | ||
188 | - { | ||
189 | - $contenido->setPlanificacionSeccionId($this); | ||
190 | - $this->contenido[] = $contenido; | ||
191 | - | ||
192 | - | ||
193 | - return $this; | ||
194 | - } | ||
195 | - | ||
196 | - /** | ||
197 | - * Remove contenido | ||
198 | - * | ||
199 | - * @param \AppBundle\Entity\PlanificacionSeccionContenido $contenido | ||
200 | - */ | ||
201 | - public function removeContenido(\AppBundle\Entity\PlanificacionSeccionContenido $contenido) | ||
202 | - { | ||
203 | - $this->contenido->removeElement($contenido); | ||
204 | - } | ||
205 | - | ||
206 | - /** | ||
207 | - * Get contenido | ||
208 | - * | ||
209 | - * @return \Doctrine\Common\Collections\Collection | ||
210 | - */ | ||
211 | - public function getContenido() | ||
212 | - { | ||
213 | - return $this->contenido; | ||
214 | - } | ||
215 | - | ||
216 | - /** | ||
217 | - * Add estrategia | ||
218 | - * | ||
219 | - * @param \AppBundle\Entity\PlanificacionSeccionEstrategia $estrategia | ||
220 | - * @return PlanificacionSeccion | ||
221 | - */ | ||
222 | - public function addEstrategium(\AppBundle\Entity\PlanificacionSeccionEstrategia $estrategia) | ||
223 | - { | ||
224 | - $this->estrategia[] = $estrategia; | ||
225 | - | ||
226 | - return $this; | ||
227 | - } | ||
228 | - | ||
229 | - /** | ||
230 | - * Remove estrategia | ||
231 | - * | ||
232 | - * @param \AppBundle\Entity\PlanificacionSeccionEstrategia $estrategia | ||
233 | - */ | ||
234 | - public function removeEstrategium(\AppBundle\Entity\PlanificacionSeccionEstrategia $estrategia) | ||
235 | - { | ||
236 | - $this->estrategia->removeElement($estrategia); | ||
237 | - } | ||
238 | - | ||
239 | - /** | ||
240 | - * Get estrategia | ||
241 | - * | ||
242 | - * @return \Doctrine\Common\Collections\Collection | ||
243 | - */ | ||
244 | - public function getEstrategia() | ||
245 | - { | ||
246 | - return $this->estrategia; | ||
247 | - } | ||
248 | - | ||
249 | - /** | ||
250 | - * Add evaluacion | ||
251 | - * | ||
252 | - * @param \AppBundle\Entity\PlanificacionSeccionEvaluacion $evaluacion | ||
253 | - * @return PlanificacionSeccion | ||
254 | - */ | ||
255 | - public function addEvaluacion(\AppBundle\Entity\PlanificacionSeccionEvaluacion $evaluacion) | ||
256 | - { | ||
257 | - $this->evaluacion[] = $evaluacion; | ||
258 | - | ||
259 | - return $this; | ||
260 | - } | ||
261 | - | ||
262 | - /** | ||
263 | - * Remove evaluacion | ||
264 | - * | ||
265 | - * @param \AppBundle\Entity\PlanificacionSeccionEvaluacion $evaluacion | ||
266 | - */ | ||
267 | - public function removeEvaluacion(\AppBundle\Entity\PlanificacionSeccionEvaluacion $evaluacion) | ||
268 | - { | ||
269 | - $this->evaluacion->removeElement($evaluacion); | ||
270 | - } | ||
271 | - | ||
272 | - /** | ||
273 | - * Get evaluacion | ||
274 | - * | ||
275 | - * @return \Doctrine\Common\Collections\Collection | ||
276 | - */ | ||
277 | - public function getEvaluacion() | ||
278 | - { | ||
279 | - return $this->evaluacion; | ||
280 | - } | ||
281 | - | ||
282 | - /** | ||
283 | - * Set seccion | ||
284 | - * | ||
285 | - * @param \AppBundle\Entity\Seccion $seccion | ||
286 | - * @return PlanificacionSeccion | ||
287 | - */ | ||
288 | - public function setSeccion(\AppBundle\Entity\Seccion $seccion = null) | ||
289 | - { | ||
290 | - $this->seccion = $seccion; | ||
291 | - | ||
292 | - return $this; | ||
293 | - } | ||
294 | - | ||
295 | - /** | ||
296 | - * Get seccion | ||
297 | - * | ||
298 | - * @return \AppBundle\Entity\Seccion | ||
299 | - */ | ||
300 | - public function getSeccion() | ||
301 | - { | ||
302 | - return $this->seccion; | ||
303 | - } | ||
304 | - | ||
305 | - /** | ||
306 | - * @ORM\PrePersist() | ||
307 | - */ | ||
308 | - public function prePersist() | ||
309 | - { | ||
310 | - $this->fechaCreacion = new \DateTime(); | ||
311 | - $this->fechaUltimaActualizacion = new \DateTime(); | ||
312 | - } | ||
313 | - | ||
314 | - | ||
315 | - /** | ||
316 | - * @ORM\PreUpdate() | ||
317 | - */ | ||
318 | - public function preUpdate() | ||
319 | - { | ||
320 | - $this->fechaUltimaActualizacion = new \DateTime(); | ||
321 | - } | ||
322 | - | ||
323 | - /** | ||
324 | - * Get fechaCreacion | ||
325 | - * | ||
326 | - * @return \DateTime | ||
327 | - */ | ||
328 | - public function getFechaCreacion() | ||
329 | - { | ||
330 | - return $this->fechaCreacion; | ||
331 | - } | ||
332 | - | ||
333 | - | ||
334 | - /** | ||
335 | - * Set fechaCreacion | ||
336 | - * | ||
337 | - * @param \DateTime $fechaCreacion | ||
338 | - * @return PlanificacionSeccion | ||
339 | - */ | ||
340 | - public function setFechaCreacion($fechaCreacion) | ||
341 | - { | ||
342 | - $this->fechaCreacion = $fechaCreacion; | ||
343 | - | ||
344 | - return $this; | ||
345 | - } | ||
346 | - | ||
347 | - /** | ||
348 | - * Set fechaUltimaActualizacion | ||
349 | - * | ||
350 | - * @param \DateTime $fechaUltimaActualizacion | ||
351 | - * @return PlanificacionSeccion | ||
352 | - */ | ||
353 | - public function setFechaUltimaActualizacion($fechaUltimaActualizacion) | ||
354 | - { | ||
355 | - $this->fechaUltimaActualizacion = $fechaUltimaActualizacion; | ||
356 | - | ||
357 | - return $this; | ||
358 | - } | ||
359 | - | ||
360 | - /** | ||
361 | - * Get fechaUltimaActualizacion | ||
362 | - * | ||
363 | - * @return \DateTime | ||
364 | - */ | ||
365 | - public function getFechaUltimaActualizacion() | ||
366 | - { | ||
367 | - return $this->fechaUltimaActualizacion; | ||
368 | - } | ||
369 | - | ||
370 | - /** | ||
371 | - * Add objetivoEspecifico | ||
372 | - * | ||
373 | - * @param \AppBundle\Entity\PlanificacionSeccionEspecifico $objetivoEspecifico | ||
374 | - * @return PlanificacionSeccion | ||
375 | - */ | ||
376 | - public function addObjetivoEspecifico(\AppBundle\Entity\PlanificacionSeccionEspecifico $objetivoEspecifico) | ||
377 | - { | ||
378 | - $this->objetivoEspecifico[] = $objetivoEspecifico; | ||
379 | - | ||
380 | - return $this; | ||
381 | - } | ||
382 | - | ||
383 | - /** | ||
384 | - * Remove objetivoEspecifico | ||
385 | - * | ||
386 | - * @param \AppBundle\Entity\PlanificacionSeccionEspecifico $objetivoEspecifico | ||
387 | - */ | ||
388 | - public function removeObjetivoEspecifico(\AppBundle\Entity\PlanificacionSeccionEspecifico $objetivoEspecifico) | ||
389 | - { | ||
390 | - $this->objetivoEspecifico->removeElement($objetivoEspecifico); | ||
391 | - } | ||
392 | - | ||
393 | - /** | ||
394 | - * Get objetivoEspecifico | ||
395 | - * | ||
396 | - * @return \Doctrine\Common\Collections\Collection | ||
397 | - */ | ||
398 | - public function getObjetivoEspecifico() | ||
399 | - { | ||
400 | - return $this->objetivoEspecifico; | ||
401 | - } | ||
402 | - | ||
403 | - public function __toString() { | ||
404 | - return $this->getSeccion()->getNombre(); | ||
405 | - } | ||
406 | -} |
src/AppBundle/Entity/PlanificacionSeccionContenido.php~
@@ -1,140 +0,0 @@ | @@ -1,140 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanificacionSeccionContenido | ||
9 | - * | ||
10 | - * @ORM\Table(name="planificacion_seccion_contenido") | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class PlanificacionSeccionContenido | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var text | ||
17 | - * | ||
18 | - * @ORM\Column(name="conceptual", type="text", nullable=false, options={"comment" = "Contenido Conceptual"}) | ||
19 | - */ | ||
20 | - private $conceptual; | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * @var text | ||
25 | - * | ||
26 | - * @ORM\Column(name="procedimental", type="text", nullable=false, options={"comment" = "Contenido Procedimental"}) | ||
27 | - */ | ||
28 | - private $procedimental; | ||
29 | - | ||
30 | - | ||
31 | - | ||
32 | - /** | ||
33 | - * @var text | ||
34 | - * | ||
35 | - * @ORM\Column(name="actitudinal", type="text", nullable=false, options={"comment" = "Contenido actitudinal"}) | ||
36 | - */ | ||
37 | - private $actitudinal; | ||
38 | - | ||
39 | - | ||
40 | - /** | ||
41 | - * @var integer | ||
42 | - * | ||
43 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
44 | - * @ORM\Id | ||
45 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
46 | - * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
47 | - */ | ||
48 | - private $id; | ||
49 | - | ||
50 | - | ||
51 | - /** | ||
52 | - * @ORM\ManyToOne(targetEntity="PlanificacionSeccion", inversedBy="contenido") | ||
53 | - * @ORM\JoinColumn(name="planificacion_seccion_id", referencedColumnName="id", nullable=FALSE) | ||
54 | - */ | ||
55 | - protected $planificacionSeccion; | ||
56 | - | ||
57 | - | ||
58 | - | ||
59 | - /** | ||
60 | - * Set conceptual | ||
61 | - * | ||
62 | - * @param string $conceptual | ||
63 | - * @return PlanificacionSeccionContenido | ||
64 | - */ | ||
65 | - public function setConceptual($conceptual) | ||
66 | - { | ||
67 | - $this->conceptual = $conceptual; | ||
68 | - | ||
69 | - return $this; | ||
70 | - } | ||
71 | - | ||
72 | - /** | ||
73 | - * Get conceptual | ||
74 | - * | ||
75 | - * @return string | ||
76 | - */ | ||
77 | - public function getConceptual() | ||
78 | - { | ||
79 | - return $this->conceptual; | ||
80 | - } | ||
81 | - | ||
82 | - /** | ||
83 | - * Set procedimental | ||
84 | - * | ||
85 | - * @param string $procedimental | ||
86 | - * @return PlanificacionSeccionContenido | ||
87 | - */ | ||
88 | - public function setProcedimental($procedimental) | ||
89 | - { | ||
90 | - $this->procedimental = $procedimental; | ||
91 | - | ||
92 | - return $this; | ||
93 | - } | ||
94 | - | ||
95 | - /** | ||
96 | - * Get procedimental | ||
97 | - * | ||
98 | - * @return string | ||
99 | - */ | ||
100 | - public function getProcedimental() | ||
101 | - { | ||
102 | - return $this->procedimental; | ||
103 | - } | ||
104 | - | ||
105 | - /** | ||
106 | - * Set actitudinal | ||
107 | - * | ||
108 | - * @param string $actitudinal | ||
109 | - * @return PlanificacionSeccionContenido | ||
110 | - */ | ||
111 | - public function setActitudinal($actitudinal) | ||
112 | - { | ||
113 | - $this->actitudinal = $actitudinal; | ||
114 | - | ||
115 | - return $this; | ||
116 | - } | ||
117 | - | ||
118 | - /** | ||
119 | - * Get actitudinal | ||
120 | - * | ||
121 | - * @return string | ||
122 | - */ | ||
123 | - public function getActitudinal() | ||
124 | - { | ||
125 | - return $this->actitudinal; | ||
126 | - } | ||
127 | - | ||
128 | - /** | ||
129 | - * Get id | ||
130 | - * | ||
131 | - * @return integer | ||
132 | - */ | ||
133 | - public function getId() | ||
134 | - { | ||
135 | - return $this->id; | ||
136 | - } | ||
137 | - | ||
138 | - | ||
139 | - | ||
140 | -} |
src/AppBundle/Entity/PlanificacionSeccionEspecifico.php~
@@ -1,44 +0,0 @@ | @@ -1,44 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanificacionSeccionEspecifico | ||
9 | - * | ||
10 | - * @ORM\Table(name="planificacion_seccion_especifico") | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class PlanificacionSeccionEspecifico | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var text | ||
17 | - * | ||
18 | - * @ORM\Column(name="objetivo_especifico", type="text", nullable=false, options={"comment" = "Objetivo Especifico de un tema"}) | ||
19 | - */ | ||
20 | - private $objetivoEspecifico; | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | - /** | ||
25 | - * @var integer | ||
26 | - * | ||
27 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
28 | - * @ORM\Id | ||
29 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
30 | - * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
31 | - */ | ||
32 | - private $id; | ||
33 | - | ||
34 | - | ||
35 | - | ||
36 | - /** | ||
37 | - * @ORM\ManyToOne(targetEntity="PlanificacionSeccion", inversedBy="objetivoEspecifico") | ||
38 | - * @ORM\JoinColumn(name="planificacion_seccion_id", referencedColumnName="id", nullable=FALSE) | ||
39 | - */ | ||
40 | - private $planificacionSeccionId; | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | -} |
src/AppBundle/Entity/PlanificacionSeccionEstrategia.php~
@@ -1,70 +0,0 @@ | @@ -1,70 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * PlanificacionSeccionEstrategia | ||
9 | - * | ||
10 | - * @ORM\Table(name="planificacion_seccion_estrategia" ) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class PlanificacionSeccionEstrategia | ||
14 | -{ | ||
15 | - | ||
16 | - | ||
17 | - /** | ||
18 | - * @var integer | ||
19 | - * | ||
20 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
21 | - * @ORM\Id | ||
22 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
23 | - * @ORM\SequenceGenerator(sequenceName="planificacion_seccion_estrategia_id_seq", allocationSize=1, initialValue=1) | ||
24 | - */ | ||
25 | - private $id; | ||
26 | - | ||
27 | - /** | ||
28 | - * @var \Doctrine\Common\Collections\Collection | ||
29 | - * | ||
30 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\TecnicasPlanificacion", inversedBy="estrategia") | ||
31 | - * @ORM\JoinTable(name="estrategia_tecnica", | ||
32 | - * joinColumns={ | ||
33 | - * @ORM\JoinColumn(name="estrategia_id", referencedColumnName="id", nullable=false) | ||
34 | - * }, | ||
35 | - * inverseJoinColumns={ | ||
36 | - * @ORM\JoinColumn(name="tecnica_id", referencedColumnName="id", nullable=false) | ||
37 | - * } | ||
38 | - * ) | ||
39 | - */ | ||
40 | - protected $tecnicas; | ||
41 | - | ||
42 | - | ||
43 | - /** | ||
44 | - * @var \Doctrine\Common\Collections\Collection | ||
45 | - * | ||
46 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\RecursosPlanificacion", inversedBy="estrategia") | ||
47 | - * @ORM\JoinTable(name="estrategia_recurso", | ||
48 | - * joinColumns={ | ||
49 | - * @ORM\JoinColumn(name="estrategia_id", referencedColumnName="id", nullable=false) | ||
50 | - * }, | ||
51 | - * inverseJoinColumns={ | ||
52 | - * @ORM\JoinColumn(name="recurso_id", referencedColumnName="id", nullable=false) | ||
53 | - * } | ||
54 | - * ) | ||
55 | - */ | ||
56 | - protected $recursos; | ||
57 | - | ||
58 | - | ||
59 | - /** | ||
60 | - * @ORM\ManyToOne(targetEntity="PlanificacionSeccion", inversedBy="estrategia") | ||
61 | - * @ORM\JoinColumn(name="planificacion_seccion_id", referencedColumnName="id") | ||
62 | - */ | ||
63 | - private $planificacionSeccionId; | ||
64 | - | ||
65 | - | ||
66 | - | ||
67 | - | ||
68 | - | ||
69 | - | ||
70 | -} |
src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php~
@@ -1,269 +0,0 @@ | @@ -1,269 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | -use Symfony\Component\Validator\Constraints as Assert; | ||
7 | - | ||
8 | -/** | ||
9 | - * PlanificacionSeccionEvaluacion | ||
10 | - * | ||
11 | - * @ORM\Table(name="planificacion_seccion_evaluacion") | ||
12 | - * @ORM\Entity | ||
13 | - */ | ||
14 | -class PlanificacionSeccionEvaluacion | ||
15 | -{ | ||
16 | - | ||
17 | - | ||
18 | - /** | ||
19 | - * @var integer | ||
20 | - * | ||
21 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
22 | - * @ORM\Id | ||
23 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
24 | - * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
25 | - */ | ||
26 | - private $id; | ||
27 | - | ||
28 | - /** | ||
29 | - * @var \AppBundle\Entity\TipoEvaluacion | ||
30 | - * | ||
31 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\TipoEvaluacion") | ||
32 | - * @ORM\JoinColumns({ | ||
33 | - * @ORM\JoinColumn(name="id_tipo_evaluacion", referencedColumnName="id", nullable=false) | ||
34 | - * }) | ||
35 | - */ | ||
36 | - private $idTipoEvaluacion; | ||
37 | - | ||
38 | - | ||
39 | - /** | ||
40 | - * @var \Doctrine\Common\Collections\Collection | ||
41 | - * | ||
42 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\TipoInstrumentoEvaluacion", inversedBy="evaluacion") | ||
43 | - * @ORM\JoinTable(name="evaluacion_instrumento", | ||
44 | - * joinColumns={ | ||
45 | - * @ORM\JoinColumn(name="evaluacion_id", referencedColumnName="id", nullable=false) | ||
46 | - * }, | ||
47 | - * inverseJoinColumns={ | ||
48 | - * @ORM\JoinColumn(name="instrumento_id", referencedColumnName="id", nullable=false) | ||
49 | - * } | ||
50 | - * ) | ||
51 | - */ | ||
52 | - protected $instrumentos; | ||
53 | - | ||
54 | - | ||
55 | - /** | ||
56 | - * @Assert\Range( | ||
57 | - * min = 1, | ||
58 | - * max = 25, | ||
59 | - * minMessage = "debe crear una ponderacion de minimo 1%", | ||
60 | - * maxMessage = "Segun reglamento, no puede exeder de 25%" | ||
61 | - * ) | ||
62 | - * @var integer | ||
63 | - * | ||
64 | - * @ORM\Column(name="ponderacion", type="integer", nullable=false, options={"comment" = "Porcentaje de la evaluacion"}) | ||
65 | - */ | ||
66 | - protected $ponderacion; | ||
67 | - | ||
68 | - | ||
69 | - /** | ||
70 | - * @ORM\Column(name="fecha_evaluacion", type="datetime", nullable=false, options={"comment" = "Fecha de creaciรณn de la solicitud"}) | ||
71 | - * | ||
72 | - * @var date | ||
73 | - */ | ||
74 | - | ||
75 | - private $fechaEvaluacion; | ||
76 | - | ||
77 | - | ||
78 | - /** | ||
79 | - * @var \AppBundle\Entity\Estatus | ||
80 | - * | ||
81 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
82 | - * @ORM\JoinColumns({ | ||
83 | - * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
84 | - * }) | ||
85 | - */ | ||
86 | - protected $idEstatus; | ||
87 | - | ||
88 | - | ||
89 | - /** | ||
90 | - * @ORM\ManyToOne(targetEntity="PlanificacionSeccion", inversedBy="evaluacion") | ||
91 | - * @ORM\JoinColumn(name="planificacion_seccion_id", referencedColumnName="id") | ||
92 | - */ | ||
93 | - private $planificacionSeccionId; | ||
94 | - | ||
95 | - | ||
96 | - | ||
97 | - /** | ||
98 | - * Get id | ||
99 | - * | ||
100 | - * @return integer | ||
101 | - */ | ||
102 | - public function getId() | ||
103 | - { | ||
104 | - return $this->id; | ||
105 | - } | ||
106 | - | ||
107 | - /** | ||
108 | - * Set tipoInstrumentoEvaluacion | ||
109 | - * | ||
110 | - * @param string $tipoInstrumentoEvaluacion | ||
111 | - * @return PlanificacionSeccionEvaluacion | ||
112 | - */ | ||
113 | - public function setTipoInstrumentoEvaluacion($tipoInstrumentoEvaluacion) | ||
114 | - { | ||
115 | - $this->tipoInstrumentoEvaluacion = $tipoInstrumentoEvaluacion; | ||
116 | - | ||
117 | - return $this; | ||
118 | - } | ||
119 | - | ||
120 | - /** | ||
121 | - * Get tipoInstrumentoEvaluacion | ||
122 | - * | ||
123 | - * @return string | ||
124 | - */ | ||
125 | - public function getTipoInstrumentoEvaluacion() | ||
126 | - { | ||
127 | - return $this->tipoInstrumentoEvaluacion; | ||
128 | - } | ||
129 | - | ||
130 | - /** | ||
131 | - * Set ponderacion | ||
132 | - * | ||
133 | - * @param integer $ponderacion | ||
134 | - * @return PlanificacionSeccionEvaluacion | ||
135 | - */ | ||
136 | - public function setPonderacion($ponderacion) | ||
137 | - { | ||
138 | - $this->ponderacion = $ponderacion; | ||
139 | - | ||
140 | - return $this; | ||
141 | - } | ||
142 | - | ||
143 | - /** | ||
144 | - * Get ponderacion | ||
145 | - * | ||
146 | - * @return integer | ||
147 | - */ | ||
148 | - public function getPonderacion() | ||
149 | - { | ||
150 | - return $this->ponderacion; | ||
151 | - } | ||
152 | - | ||
153 | - /** | ||
154 | - * Set fechaEvaluacion | ||
155 | - * | ||
156 | - * @param \DateTime $fechaEvaluacion | ||
157 | - * @return PlanificacionSeccionEvaluacion | ||
158 | - */ | ||
159 | - public function setFechaEvaluacion($fechaEvaluacion) | ||
160 | - { | ||
161 | - $this->fechaEvaluacion = $fechaEvaluacion; | ||
162 | - | ||
163 | - return $this; | ||
164 | - } | ||
165 | - | ||
166 | - /** | ||
167 | - * Get fechaEvaluacion | ||
168 | - * | ||
169 | - * @return \DateTime | ||
170 | - */ | ||
171 | - public function getFechaEvaluacion() | ||
172 | - { | ||
173 | - return $this->fechaEvaluacion; | ||
174 | - } | ||
175 | - | ||
176 | - | ||
177 | - | ||
178 | - /** | ||
179 | - * Set idTipoEvaluacion | ||
180 | - * | ||
181 | - * @param \AppBundle\Entity\TipoEvaluacion $idTipoEvaluacion | ||
182 | - * @return PlanificacionSeccionEvaluacion | ||
183 | - */ | ||
184 | - public function setIdTipoEvaluacion(\AppBundle\Entity\TipoEvaluacion $idTipoEvaluacion) | ||
185 | - { | ||
186 | - $this->idTipoEvaluacion = $idTipoEvaluacion; | ||
187 | - | ||
188 | - return $this; | ||
189 | - } | ||
190 | - | ||
191 | - /** | ||
192 | - * Get idTipoEvaluacion | ||
193 | - * | ||
194 | - * @return \AppBundle\Entity\TipoEvaluacion | ||
195 | - */ | ||
196 | - public function getIdTipoEvaluacion() | ||
197 | - { | ||
198 | - return $this->idTipoEvaluacion; | ||
199 | - } | ||
200 | - | ||
201 | - /** | ||
202 | - * Set idEstatus | ||
203 | - * | ||
204 | - * @param \AppBundle\Entity\Estatus $idEstatus | ||
205 | - * @return PlanificacionSeccionEvaluacion | ||
206 | - */ | ||
207 | - public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
208 | - { | ||
209 | - $this->idEstatus = $idEstatus; | ||
210 | - | ||
211 | - return $this; | ||
212 | - } | ||
213 | - | ||
214 | - /** | ||
215 | - * Get idEstatus | ||
216 | - * | ||
217 | - * @return \AppBundle\Entity\Estatus | ||
218 | - */ | ||
219 | - public function getIdEstatus() | ||
220 | - { | ||
221 | - return $this->idEstatus; | ||
222 | - } | ||
223 | - | ||
224 | - /** | ||
225 | - * Set idPlanificacionEvaluacion | ||
226 | - * | ||
227 | - * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionEvaluacion | ||
228 | - * @return PlanificacionSeccionEvaluacion | ||
229 | - */ | ||
230 | - public function setIdPlanificacionEvaluacion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionEvaluacion = null) | ||
231 | - { | ||
232 | - $this->idPlanificacionEvaluacion = $idPlanificacionEvaluacion; | ||
233 | - | ||
234 | - return $this; | ||
235 | - } | ||
236 | - | ||
237 | - /** | ||
238 | - * Get idPlanificacionEvaluacion | ||
239 | - * | ||
240 | - * @return \AppBundle\Entity\PlanificacionSeccion | ||
241 | - */ | ||
242 | - public function getIdPlanificacionEvaluacion() | ||
243 | - { | ||
244 | - return $this->idPlanificacionEvaluacion; | ||
245 | - } | ||
246 | - | ||
247 | - /** | ||
248 | - * Set planificacionSeccionId | ||
249 | - * | ||
250 | - * @param \AppBundle\Entity\PlanificacionSeccion $planificacionSeccionId | ||
251 | - * @return PlanificacionSeccionEvaluacion | ||
252 | - */ | ||
253 | - public function setPlanificacionSeccionId(\AppBundle\Entity\PlanificacionSeccion $planificacionSeccionId = null) | ||
254 | - { | ||
255 | - $this->planificacionSeccionId = $planificacionSeccionId; | ||
256 | - | ||
257 | - return $this; | ||
258 | - } | ||
259 | - | ||
260 | - /** | ||
261 | - * Get planificacionSeccionId | ||
262 | - * | ||
263 | - * @return \AppBundle\Entity\PlanificacionSeccion | ||
264 | - */ | ||
265 | - public function getPlanificacionSeccionId() | ||
266 | - { | ||
267 | - return $this->planificacionSeccionId; | ||
268 | - } | ||
269 | -} |
src/AppBundle/Entity/RecursosPlanificacion.php~
@@ -1,46 +0,0 @@ | @@ -1,46 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * RecursosPlanificacion | ||
9 | - * | ||
10 | - * @ORM\Table(name="recursos_planficacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_recursos", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class RecursosPlanificacion | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=100, nullable=false, options={"comment" = "Nombre del municipio"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * @var integer | ||
25 | - * | ||
26 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
27 | - * @ORM\Id | ||
28 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
29 | - * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
30 | - */ | ||
31 | - private $id; | ||
32 | - | ||
33 | - /** | ||
34 | - * @var \Doctrine\Common\Collections\Collection | ||
35 | - * | ||
36 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\PlanificacionSeccionEstrategia", mappedBy="tecnica") | ||
37 | - */ | ||
38 | - protected $estrategia; | ||
39 | - | ||
40 | - | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | - | ||
46 | -} |
src/AppBundle/Entity/Seccion.php~
@@ -1,296 +0,0 @@ | @@ -1,296 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Seccion | ||
9 | - * | ||
10 | - * @ORM\Table(name="seccion", | ||
11 | - * uniqueConstraints= | ||
12 | - * {@ORM\UniqueConstraint(name="uq_seccion", | ||
13 | - * columns={"nombre", "id_turno"}) | ||
14 | - * }, | ||
15 | - * indexes={ | ||
16 | - * @ORM\Index(name="fki_turno_oferta_academica", | ||
17 | - * columns={"id_turno"}), | ||
18 | - * @ORM\Index(name="fki_rol_institucion_oferta_academica", | ||
19 | - * columns={"id_rol_institucion"}), | ||
20 | - | ||
21 | - * } | ||
22 | - * ) | ||
23 | - * @ORM\Entity | ||
24 | - */ | ||
25 | -class Seccion | ||
26 | -{ | ||
27 | - /** | ||
28 | - * @var string | ||
29 | - * | ||
30 | - * @ORM\Column(name="nombre", type="string", length=20, nullable=false, options={"comment" = "nombre de la seccion"}) | ||
31 | - */ | ||
32 | - private $nombre; | ||
33 | - | ||
34 | - /** | ||
35 | - * @var string | ||
36 | - * | ||
37 | - * @ORM\Column(name="aula", type="string", length=10, nullable=true, options={"comment" = "Indica el aula donde se va a dictar la unidad curricular (EN OBSERVACION, ESTE VALOR PUEDE SER VARIABLE PARA UNA MISMA OFERTA)"}) | ||
38 | - */ | ||
39 | - private $aula; | ||
40 | - | ||
41 | - /** | ||
42 | - * @var string | ||
43 | - * | ||
44 | - * @ORM\Column(name="cupo", type="decimal", precision=2, scale=0, nullable=false, options={"comment" = "Indica el numero de cupos para esa oferta"}) | ||
45 | - */ | ||
46 | - private $cupo; | ||
47 | - | ||
48 | - /** | ||
49 | - * @ORM\OneToMany(targetEntity="AppBundle\Entity\Inscripcion" , mappedBy="idSeccion" , cascade={"all"}) | ||
50 | - * */ | ||
51 | - protected $hasInscripcion; | ||
52 | - | ||
53 | - | ||
54 | - /** | ||
55 | - * @var \AppBundle\Entity\Turno | ||
56 | - * | ||
57 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Turno") | ||
58 | - * @ORM\JoinColumns({ | ||
59 | - * @ORM\JoinColumn(name="id_turno", referencedColumnName="id", nullable=false) | ||
60 | - * }) | ||
61 | - */ | ||
62 | - private $idTurno; | ||
63 | - | ||
64 | - /** | ||
65 | - * @var \AppBundle\Entity\RolInstitucion | ||
66 | - * | ||
67 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
68 | - * @ORM\JoinColumns({ | ||
69 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
70 | - * }) | ||
71 | - */ | ||
72 | - private $idRolInstitucion; | ||
73 | - | ||
74 | - /** | ||
75 | - * @var integer | ||
76 | - * | ||
77 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de las seccion"}) | ||
78 | - * @ORM\Id | ||
79 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
80 | - * @ORM\SequenceGenerator(sequenceName="seccion_id_seq", allocationSize=1, initialValue=1) | ||
81 | - */ | ||
82 | - private $id; | ||
83 | - | ||
84 | - /** | ||
85 | - * @ORM\ManyToOne(targetEntity="OfertaAcademica", inversedBy="seccion") | ||
86 | - * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") | ||
87 | - */ | ||
88 | - private $ofertaAcademica; | ||
89 | - | ||
90 | - /** | ||
91 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccion", mappedBy="planificacion") | ||
92 | - */ | ||
93 | - private $planificacion; | ||
94 | - | ||
95 | - | ||
96 | - | ||
97 | - /** | ||
98 | - * Constructor | ||
99 | - */ | ||
100 | - public function __construct() | ||
101 | - { | ||
102 | - $this->hasInscripcion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
103 | - $this->planificacion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
104 | - } | ||
105 | - | ||
106 | - /** | ||
107 | - * Set nombre | ||
108 | - * | ||
109 | - * @param string $nombre | ||
110 | - * @return Seccion | ||
111 | - */ | ||
112 | - public function setNombre($nombre) | ||
113 | - { | ||
114 | - $this->nombre = $nombre; | ||
115 | - | ||
116 | - return $this; | ||
117 | - } | ||
118 | - | ||
119 | - /** | ||
120 | - * Get nombre | ||
121 | - * | ||
122 | - * @return string | ||
123 | - */ | ||
124 | - public function getNombre() | ||
125 | - { | ||
126 | - return $this->nombre; | ||
127 | - } | ||
128 | - | ||
129 | - /** | ||
130 | - * Set aula | ||
131 | - * | ||
132 | - * @param string $aula | ||
133 | - * @return Seccion | ||
134 | - */ | ||
135 | - public function setAula($aula) | ||
136 | - { | ||
137 | - $this->aula = $aula; | ||
138 | - | ||
139 | - return $this; | ||
140 | - } | ||
141 | - | ||
142 | - /** | ||
143 | - * Get aula | ||
144 | - * | ||
145 | - * @return string | ||
146 | - */ | ||
147 | - public function getAula() | ||
148 | - { | ||
149 | - return $this->aula; | ||
150 | - } | ||
151 | - | ||
152 | - /** | ||
153 | - * Set cupo | ||
154 | - * | ||
155 | - * @param string $cupo | ||
156 | - * @return Seccion | ||
157 | - */ | ||
158 | - public function setCupo($cupo) | ||
159 | - { | ||
160 | - $this->cupo = $cupo; | ||
161 | - | ||
162 | - return $this; | ||
163 | - } | ||
164 | - | ||
165 | - /** | ||
166 | - * Get cupo | ||
167 | - * | ||
168 | - * @return string | ||
169 | - */ | ||
170 | - public function getCupo() | ||
171 | - { | ||
172 | - return $this->cupo; | ||
173 | - } | ||
174 | - | ||
175 | - /** | ||
176 | - * Get id | ||
177 | - * | ||
178 | - * @return integer | ||
179 | - */ | ||
180 | - public function getId() | ||
181 | - { | ||
182 | - return $this->id; | ||
183 | - } | ||
184 | - | ||
185 | - /** | ||
186 | - * Add hasInscripcion | ||
187 | - * | ||
188 | - * @param \AppBundle\Entity\Inscripcion $hasInscripcion | ||
189 | - * @return Seccion | ||
190 | - */ | ||
191 | - public function addHasInscripcion(\AppBundle\Entity\Inscripcion $hasInscripcion) | ||
192 | - { | ||
193 | - $this->hasInscripcion[] = $hasInscripcion; | ||
194 | - | ||
195 | - return $this; | ||
196 | - } | ||
197 | - | ||
198 | - /** | ||
199 | - * Remove hasInscripcion | ||
200 | - * | ||
201 | - * @param \AppBundle\Entity\Inscripcion $hasInscripcion | ||
202 | - */ | ||
203 | - public function removeHasInscripcion(\AppBundle\Entity\Inscripcion $hasInscripcion) | ||
204 | - { | ||
205 | - $this->hasInscripcion->removeElement($hasInscripcion); | ||
206 | - } | ||
207 | - | ||
208 | - /** | ||
209 | - * Get hasInscripcion | ||
210 | - * | ||
211 | - * @return \Doctrine\Common\Collections\Collection | ||
212 | - */ | ||
213 | - public function getHasInscripcion() | ||
214 | - { | ||
215 | - return $this->hasInscripcion; | ||
216 | - } | ||
217 | - | ||
218 | - /** | ||
219 | - * Set idTurno | ||
220 | - * | ||
221 | - * @param \AppBundle\Entity\Turno $idTurno | ||
222 | - * @return Seccion | ||
223 | - */ | ||
224 | - public function setIdTurno(\AppBundle\Entity\Turno $idTurno) | ||
225 | - { | ||
226 | - $this->idTurno = $idTurno; | ||
227 | - | ||
228 | - return $this; | ||
229 | - } | ||
230 | - | ||
231 | - /** | ||
232 | - * Get idTurno | ||
233 | - * | ||
234 | - * @return \AppBundle\Entity\Turno | ||
235 | - */ | ||
236 | - public function getIdTurno() | ||
237 | - { | ||
238 | - return $this->idTurno; | ||
239 | - } | ||
240 | - | ||
241 | - /** | ||
242 | - * Set idRolInstitucion | ||
243 | - * | ||
244 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
245 | - * @return Seccion | ||
246 | - */ | ||
247 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion) | ||
248 | - { | ||
249 | - $this->idRolInstitucion = $idRolInstitucion; | ||
250 | - | ||
251 | - return $this; | ||
252 | - } | ||
253 | - | ||
254 | - /** | ||
255 | - * Get idRolInstitucion | ||
256 | - * | ||
257 | - * @return \AppBundle\Entity\RolInstitucion | ||
258 | - */ | ||
259 | - public function getIdRolInstitucion() | ||
260 | - { | ||
261 | - return $this->idRolInstitucion; | ||
262 | - } | ||
263 | - | ||
264 | - /** | ||
265 | - * Set ofertaAcademica | ||
266 | - * | ||
267 | - * @param \AppBundle\Entity\OfertaAcademica $ofertaAcademica | ||
268 | - * @return Seccion | ||
269 | - */ | ||
270 | - public function setOfertaAcademica(\AppBundle\Entity\OfertaAcademica $ofertaAcademica = null) | ||
271 | - { | ||
272 | - $this->ofertaAcademica = $ofertaAcademica; | ||
273 | - | ||
274 | - return $this; | ||
275 | - } | ||
276 | - | ||
277 | - /** | ||
278 | - * Get ofertaAcademica | ||
279 | - * | ||
280 | - * @return \AppBundle\Entity\OfertaAcademica | ||
281 | - */ | ||
282 | - public function getOfertaAcademica() | ||
283 | - { | ||
284 | - return $this->ofertaAcademica; | ||
285 | - } | ||
286 | - | ||
287 | - /** | ||
288 | - * | ||
289 | - * @return string | ||
290 | - */ | ||
291 | - | ||
292 | - public function __toString() | ||
293 | - { | ||
294 | - return $this->getNombre(); | ||
295 | - } | ||
296 | -} |
src/AppBundle/Entity/TecnicasPlanificacion.php~
@@ -1,43 +0,0 @@ | @@ -1,43 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * TecnicasPlanificacion | ||
9 | - * | ||
10 | - * @ORM\Table(name="tecnicas_planficacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tecnica", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class TecnicasPlanificacion | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=100, nullable=false, options={"comment" = "Nombre del municipio"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * @var integer | ||
25 | - * | ||
26 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
27 | - * @ORM\Id | ||
28 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
29 | - * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
30 | - */ | ||
31 | - private $id; | ||
32 | - | ||
33 | - | ||
34 | - /** | ||
35 | - * @var \Doctrine\Common\Collections\Collection | ||
36 | - * | ||
37 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\PlanificacionSeccionEstrategia", mappedBy="tecnica") | ||
38 | - */ | ||
39 | - protected $estrategia; | ||
40 | - | ||
41 | - | ||
42 | - | ||
43 | -} |
src/AppBundle/Entity/TipoEvaluacion.php~
@@ -1,55 +0,0 @@ | @@ -1,55 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: ubv-cipee | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 08:45 AM | ||
7 | - */ | ||
8 | - | ||
9 | - | ||
10 | -namespace AppBundle\Entity; | ||
11 | - | ||
12 | -use Doctrine\ORM\Mapping as ORM; | ||
13 | - | ||
14 | -/** | ||
15 | - * TipoEvaluacion | ||
16 | - * | ||
17 | - * @ORM\Table(name="tipo_evaluacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tipo_evaluacion", columns={"nombre"})}) | ||
18 | - * @ORM\Entity | ||
19 | - */ | ||
20 | -class TipoEvaluacion | ||
21 | -{ | ||
22 | - /** | ||
23 | - * @var string | ||
24 | - * | ||
25 | - * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
26 | - */ | ||
27 | - private $nombre; | ||
28 | - | ||
29 | - | ||
30 | - /** | ||
31 | - * @var integer | ||
32 | - * | ||
33 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
34 | - * @ORM\Id | ||
35 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
36 | - * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
37 | - */ | ||
38 | - private $id; | ||
39 | - | ||
40 | - | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - /** | ||
45 | - * Get nombre | ||
46 | - * | ||
47 | - * @return string | ||
48 | - */ | ||
49 | - public function __toString() | ||
50 | - { | ||
51 | - return $this->nombre; | ||
52 | - } | ||
53 | - | ||
54 | - | ||
55 | -} | ||
56 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/TipoInstrumentoEvaluacion.php~
@@ -1,55 +0,0 @@ | @@ -1,55 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * TipoInstrumentoEvaluacion | ||
9 | - * | ||
10 | - * @ORM\Table(name="tipo_instrumento_evaluacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tipo_instrumento_evaluacion", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class TipoInstrumentoEvaluacion | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * @var integer | ||
25 | - * | ||
26 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
27 | - * @ORM\Id | ||
28 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
29 | - * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
30 | - */ | ||
31 | - private $id; | ||
32 | - | ||
33 | - /** | ||
34 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccionEvaluacion", mappedBy="instrumentos", cascade={"all"}) | ||
35 | - */ | ||
36 | - private $evaluacion; | ||
37 | - | ||
38 | - | ||
39 | - | ||
40 | - | ||
41 | - | ||
42 | - /** | ||
43 | - * Get nombre | ||
44 | - * | ||
45 | - * @return string | ||
46 | - */ | ||
47 | - public function __toString() | ||
48 | - { | ||
49 | - return $this->nombre; | ||
50 | - } | ||
51 | - | ||
52 | - | ||
53 | - | ||
54 | - | ||
55 | -} |
src/AppBundle/Entity/Tramo.php~
@@ -1,75 +0,0 @@ | @@ -1,75 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Tramo | ||
9 | - * | ||
10 | - * @ORM\Table(name="tramo", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tramo_nombre", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Tramo | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=10, nullable=false, options={"comment" = "nombre del tramo"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del tramo"}) | ||
26 | - * @ORM\Id | ||
27 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
28 | - * @ORM\SequenceGenerator(sequenceName="tramo_id_seq", allocationSize=1, initialValue=1) | ||
29 | - */ | ||
30 | - private $id; | ||
31 | - | ||
32 | - | ||
33 | - | ||
34 | - /** | ||
35 | - * Set nombre | ||
36 | - * | ||
37 | - * @param string $nombre | ||
38 | - * @return Tramo | ||
39 | - */ | ||
40 | - public function setNombre($nombre) | ||
41 | - { | ||
42 | - $this->nombre = $nombre; | ||
43 | - | ||
44 | - return $this; | ||
45 | - } | ||
46 | - | ||
47 | - /** | ||
48 | - * Get nombre | ||
49 | - * | ||
50 | - * @return string | ||
51 | - */ | ||
52 | - public function getNombre() | ||
53 | - { | ||
54 | - return $this->nombre; | ||
55 | - } | ||
56 | - | ||
57 | - /** | ||
58 | - * Get id | ||
59 | - * | ||
60 | - * @return integer | ||
61 | - */ | ||
62 | - public function getId() | ||
63 | - { | ||
64 | - return $this->id; | ||
65 | - } | ||
66 | - | ||
67 | - /** | ||
68 | - * | ||
69 | - * @return string | ||
70 | - */ | ||
71 | - | ||
72 | - public function __toString() { | ||
73 | - return $this->getNombre(); | ||
74 | - } | ||
75 | -} | ||
76 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/Trayecto.php~
@@ -1,75 +0,0 @@ | @@ -1,75 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Trayecto | ||
9 | - * | ||
10 | - * @ORM\Table(name="trayecto", uniqueConstraints={@ORM\UniqueConstraint(name="uq_trayecto_nombre", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Trayecto | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=4, nullable=false, options={"comment" = "nombre del trayecto"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del trayecto"}) | ||
26 | - * @ORM\Id | ||
27 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
28 | - * @ORM\SequenceGenerator(sequenceName="trayecto_id_seq", allocationSize=1, initialValue=1) | ||
29 | - */ | ||
30 | - private $id; | ||
31 | - | ||
32 | - | ||
33 | - | ||
34 | - /** | ||
35 | - * Set nombre | ||
36 | - * | ||
37 | - * @param string $nombre | ||
38 | - * @return Trayecto | ||
39 | - */ | ||
40 | - public function setNombre($nombre) | ||
41 | - { | ||
42 | - $this->nombre = $nombre; | ||
43 | - | ||
44 | - return $this; | ||
45 | - } | ||
46 | - | ||
47 | - /** | ||
48 | - * Get nombre | ||
49 | - * | ||
50 | - * @return string | ||
51 | - */ | ||
52 | - public function getNombre() | ||
53 | - { | ||
54 | - return $this->nombre; | ||
55 | - } | ||
56 | - | ||
57 | - /** | ||
58 | - * Get id | ||
59 | - * | ||
60 | - * @return integer | ||
61 | - */ | ||
62 | - public function getId() | ||
63 | - { | ||
64 | - return $this->id; | ||
65 | - } | ||
66 | - | ||
67 | - /** | ||
68 | - * | ||
69 | - * @return string | ||
70 | - */ | ||
71 | - | ||
72 | - public function __toString() { | ||
73 | - return $this->getNombre(); | ||
74 | - } | ||
75 | -} | ||
76 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/TrayectoTramoModalidad.php~
@@ -1,58 +0,0 @@ | @@ -1,58 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * TrayectoTramoModalidad | ||
9 | - * | ||
10 | - * @ORM\Table(name="trayecto_tramo_modalidad", uniqueConstraints={@ORM\UniqueConstraint(name="i_trayecto_tramo_modalidad", columns={"id_trayecto", "id_tramo"})}, indexes={@ORM\Index(name="fki_modalidad_trayecto_tramo_modalidad", columns={"id_modalidad"}), @ORM\Index(name="fki_tramo_trayecto_tramo_modalidad", columns={"id_tramo"}), @ORM\Index(name="IDX_AE063967814981A6", columns={"id_trayecto"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class TrayectoTramoModalidad | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del trayecto_tramo_modalidad"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="trayecto_tramo_modalidad_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\Trayecto | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Trayecto") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_trayecto", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idTrayecto; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\Tramo | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Tramo") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_tramo", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - private $idTramo; | ||
44 | - | ||
45 | - /** | ||
46 | - * @var \AppBundle\Entity\Modalidad | ||
47 | - * | ||
48 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Modalidad") | ||
49 | - * @ORM\JoinColumns({ | ||
50 | - * @ORM\JoinColumn(name="id_modalidad", referencedColumnName="id", nullable=false) | ||
51 | - * }) | ||
52 | - */ | ||
53 | - private $idModalidad; | ||
54 | - | ||
55 | - | ||
56 | - | ||
57 | - | ||
58 | -} | ||
59 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/TrayectoTramoModalidadTipo.php~
@@ -1,168 +0,0 @@ | @@ -1,168 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * TrayectoTramoModalidadTipo | ||
9 | - * | ||
10 | - * @ORM\Table(name="trayecto_tramo_modalidad_tipo_uc", uniqueConstraints={@ORM\UniqueConstraint(name="i_trayecto_tramo_modalidad_tipo_uc", columns={"id_trayecto", "id_tramo", "id_modalidad", "id_tipo_uc"})}, indexes={@ORM\Index(name="fki_modalidad", columns={"id_modalidad"}), @ORM\Index(name="fki_tramo_trayecto_tramo_modalidad", columns={"id_tramo"}), @ORM\Index(name="IDX_AE063967814981A6", columns={"id_trayecto"}), @ORM\Index(name="IDX_TIPO_UC", columns={"id_tipo_uc"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class TrayectoTramoModalidadTipo | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del trayecto_tramo_modalidad"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="trayecto_tramo_modalidad_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\Trayecto | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Trayecto") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_trayecto", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idTrayecto; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\Tramo | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Tramo") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_tramo", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - private $idTramo; | ||
44 | - | ||
45 | - /** | ||
46 | - * @var \AppBundle\Entity\Modalidad | ||
47 | - * | ||
48 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Modalidad") | ||
49 | - * @ORM\JoinColumns({ | ||
50 | - * @ORM\JoinColumn(name="id_modalidad", referencedColumnName="id", nullable=false) | ||
51 | - * }) | ||
52 | - */ | ||
53 | - private $idModalidad; | ||
54 | - | ||
55 | - /** | ||
56 | - * @var \AppBundle\Entity\TipoUc | ||
57 | - * | ||
58 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\TipoUc") | ||
59 | - * @ORM\JoinColumns({ | ||
60 | - * @ORM\JoinColumn(name="id_tipo_uc", referencedColumnName="id", nullable=false) | ||
61 | - * }) | ||
62 | - */ | ||
63 | - private $idTipoUc; | ||
64 | - | ||
65 | - | ||
66 | - | ||
67 | - /** | ||
68 | - * Get id | ||
69 | - * | ||
70 | - * @return integer | ||
71 | - */ | ||
72 | - public function getId() | ||
73 | - { | ||
74 | - return $this->id; | ||
75 | - } | ||
76 | - | ||
77 | - /** | ||
78 | - * Set idTrayecto | ||
79 | - * | ||
80 | - * @param \AppBundle\Entity\Trayecto $idTrayecto | ||
81 | - * @return TrayectoTramoModalidadTipo | ||
82 | - */ | ||
83 | - public function setIdTrayecto(\AppBundle\Entity\Trayecto $idTrayecto) | ||
84 | - { | ||
85 | - $this->idTrayecto = $idTrayecto; | ||
86 | - | ||
87 | - return $this; | ||
88 | - } | ||
89 | - | ||
90 | - /** | ||
91 | - * Get idTrayecto | ||
92 | - * | ||
93 | - * @return \AppBundle\Entity\Trayecto | ||
94 | - */ | ||
95 | - public function getIdTrayecto() | ||
96 | - { | ||
97 | - return $this->idTrayecto; | ||
98 | - } | ||
99 | - | ||
100 | - /** | ||
101 | - * Set idTramo | ||
102 | - * | ||
103 | - * @param \AppBundle\Entity\Tramo $idTramo | ||
104 | - * @return TrayectoTramoModalidadTipo | ||
105 | - */ | ||
106 | - public function setIdTramo(\AppBundle\Entity\Tramo $idTramo) | ||
107 | - { | ||
108 | - $this->idTramo = $idTramo; | ||
109 | - | ||
110 | - return $this; | ||
111 | - } | ||
112 | - | ||
113 | - /** | ||
114 | - * Get idTramo | ||
115 | - * | ||
116 | - * @return \AppBundle\Entity\Tramo | ||
117 | - */ | ||
118 | - public function getIdTramo() | ||
119 | - { | ||
120 | - return $this->idTramo; | ||
121 | - } | ||
122 | - | ||
123 | - /** | ||
124 | - * Set idModalidad | ||
125 | - * | ||
126 | - * @param \AppBundle\Entity\Modalidad $idModalidad | ||
127 | - * @return TrayectoTramoModalidadTipo | ||
128 | - */ | ||
129 | - public function setIdModalidad(\AppBundle\Entity\Modalidad $idModalidad) | ||
130 | - { | ||
131 | - $this->idModalidad = $idModalidad; | ||
132 | - | ||
133 | - return $this; | ||
134 | - } | ||
135 | - | ||
136 | - /** | ||
137 | - * Get idModalidad | ||
138 | - * | ||
139 | - * @return \AppBundle\Entity\Modalidad | ||
140 | - */ | ||
141 | - public function getIdModalidad() | ||
142 | - { | ||
143 | - return $this->idModalidad; | ||
144 | - } | ||
145 | - | ||
146 | - /** | ||
147 | - * Set idTipoUc | ||
148 | - * | ||
149 | - * @param \AppBundle\Entity\TipoUc $idTipoUc | ||
150 | - * @return TrayectoTramoModalidadTipo | ||
151 | - */ | ||
152 | - public function setIdTipoUc(\AppBundle\Entity\TipoUc $idTipoUc) | ||
153 | - { | ||
154 | - $this->idTipoUc = $idTipoUc; | ||
155 | - | ||
156 | - return $this; | ||
157 | - } | ||
158 | - | ||
159 | - /** | ||
160 | - * Get idTipoUc | ||
161 | - * | ||
162 | - * @return \AppBundle\Entity\TipoUc | ||
163 | - */ | ||
164 | - public function getIdTipoUc() | ||
165 | - { | ||
166 | - return $this->idTipoUc; | ||
167 | - } | ||
168 | -} |
src/AppBundle/Entity/UnidadCurricular.php~
@@ -1,135 +0,0 @@ | @@ -1,135 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * UnidadCurricular | ||
9 | - * | ||
10 | - * @ORM\Table(name="unidad_curricular", uniqueConstraints={@ORM\UniqueConstraint(name="unidad_curricular_nombre_key", columns={"nombre", "codigo"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class UnidadCurricular | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=250, nullable=false, options={"comment" = "registra el nombre de la unidad curricular"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var string | ||
24 | - * | ||
25 | - * @ORM\Column(name="codigo", type="string", length=15, nullable=false, options={"comment" = "registra el codigo de la unidad curricular"}) | ||
26 | - */ | ||
27 | - | ||
28 | - private $codigo; | ||
29 | - | ||
30 | - | ||
31 | - /** | ||
32 | - * @var string | ||
33 | - * | ||
34 | - * @ORM\Column(name="horas", type="decimal", precision=2, scale=0, nullable=false, options={"comment" = "registra la cantidas de horas que son reglamentarias para una unidad curricular"}) | ||
35 | - */ | ||
36 | - private $horas; | ||
37 | - | ||
38 | - /** | ||
39 | - * @var string | ||
40 | - * | ||
41 | - * @ORM\Column(name="creditos", type="decimal", precision=2, scale=0, nullable=true, options={"comment" = "registra la cantidas de creditos de la UC si es que posee los mismos"}) | ||
42 | - */ | ||
43 | - private $creditos; | ||
44 | - | ||
45 | - /** | ||
46 | - * @var integer | ||
47 | - * | ||
48 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador unico de la unidad curricular"}) | ||
49 | - * @ORM\Id | ||
50 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
51 | - * @ORM\SequenceGenerator(sequenceName="unidad_curricular_id_seq", allocationSize=1, initialValue=1) | ||
52 | - */ | ||
53 | - private $id; | ||
54 | - | ||
55 | - | ||
56 | - | ||
57 | - /** | ||
58 | - * Set nombre | ||
59 | - * | ||
60 | - * @param string $nombre | ||
61 | - * @return UnidadCurricular | ||
62 | - */ | ||
63 | - public function setNombre($nombre) | ||
64 | - { | ||
65 | - $this->nombre = $nombre; | ||
66 | - | ||
67 | - return $this; | ||
68 | - } | ||
69 | - | ||
70 | - /** | ||
71 | - * Get nombre | ||
72 | - * | ||
73 | - * @return string | ||
74 | - */ | ||
75 | - public function getNombre() | ||
76 | - { | ||
77 | - return $this->nombre; | ||
78 | - } | ||
79 | - | ||
80 | - /** | ||
81 | - * Set codigo | ||
82 | - * | ||
83 | - * @param string $codigo | ||
84 | - * @return UnidadCurricular | ||
85 | - */ | ||
86 | - public function setCodigo($codigo) | ||
87 | - { | ||
88 | - $this->codigo = $codigo; | ||
89 | - | ||
90 | - return $this; | ||
91 | - } | ||
92 | - | ||
93 | - /** | ||
94 | - * Get codigo | ||
95 | - * | ||
96 | - * @return string | ||
97 | - */ | ||
98 | - public function getCodigo() | ||
99 | - { | ||
100 | - return $this->codigo; | ||
101 | - } | ||
102 | - | ||
103 | - /** | ||
104 | - * Set horas | ||
105 | - * | ||
106 | - * @param string $horas | ||
107 | - * @return UnidadCurricular | ||
108 | - */ | ||
109 | - public function setHoras($horas) | ||
110 | - { | ||
111 | - $this->horas = $horas; | ||
112 | - | ||
113 | - return $this; | ||
114 | - } | ||
115 | - | ||
116 | - /** | ||
117 | - * Get horas | ||
118 | - * | ||
119 | - * @return string | ||
120 | - */ | ||
121 | - public function getHoras() | ||
122 | - { | ||
123 | - return $this->horas; | ||
124 | - } | ||
125 | - | ||
126 | - /** | ||
127 | - * Get id | ||
128 | - * | ||
129 | - * @return integer | ||
130 | - */ | ||
131 | - public function getId() | ||
132 | - { | ||
133 | - return $this->id; | ||
134 | - } | ||
135 | -} | ||
136 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/UnidadCurricularVolumen.php~
@@ -1,154 +0,0 @@ | @@ -1,154 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * UnidadCurricularVolumen | ||
9 | - * | ||
10 | - * @ORM\Table(name="unidad_curricular_volumen", uniqueConstraints={@ORM\UniqueConstraint(name="i_unidad_curricular_volumen", columns={"id_unidad_curricular", "id_volumen"})}, indexes={@ORM\Index(name="fki_volumen_unidad_curricular_volumen", columns={"id_volumen"}), @ORM\Index(name="IDX_A893E1FC3885FA9C", columns={"id_unidad_curricular"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class UnidadCurricularVolumen | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var integer | ||
17 | - * | ||
18 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la unidad curricular en un volumen especifico"}) | ||
19 | - * @ORM\Id | ||
20 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | - * @ORM\SequenceGenerator(sequenceName="unidad_curricular_volumen_id_seq", allocationSize=1, initialValue=1) | ||
22 | - */ | ||
23 | - private $id; | ||
24 | - | ||
25 | - /** | ||
26 | - * @var \AppBundle\Entity\Volumen | ||
27 | - * | ||
28 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Volumen") | ||
29 | - * @ORM\JoinColumns({ | ||
30 | - * @ORM\JoinColumn(name="id_volumen", referencedColumnName="id", nullable=false) | ||
31 | - * }) | ||
32 | - */ | ||
33 | - private $idVolumen; | ||
34 | - | ||
35 | - /** | ||
36 | - * @var \AppBundle\Entity\UnidadCurricular | ||
37 | - * | ||
38 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\UnidadCurricular") | ||
39 | - * @ORM\JoinColumns({ | ||
40 | - * @ORM\JoinColumn(name="id_unidad_curricular", referencedColumnName="id", nullable=false) | ||
41 | - * }) | ||
42 | - */ | ||
43 | - private $idUnidadCurricular; | ||
44 | - | ||
45 | - | ||
46 | - /** | ||
47 | - * @ORM\OneToMany(targetEntity="UnidadCurricularVolumenTema", mappedBy="idUnidadCurricularVolumen") | ||
48 | - */ | ||
49 | - private $temas; | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | - | ||
54 | - | ||
55 | - /** | ||
56 | - * Get id | ||
57 | - * | ||
58 | - * @return integer | ||
59 | - */ | ||
60 | - public function getId() | ||
61 | - { | ||
62 | - return $this->id; | ||
63 | - } | ||
64 | - | ||
65 | - /** | ||
66 | - * Set idVolumen | ||
67 | - * | ||
68 | - * @param \AppBundle\Entity\Volumen $idVolumen | ||
69 | - * @return UnidadCurricularVolumen | ||
70 | - */ | ||
71 | - public function setIdVolumen(\AppBundle\Entity\Volumen $idVolumen) | ||
72 | - { | ||
73 | - $this->idVolumen = $idVolumen; | ||
74 | - | ||
75 | - return $this; | ||
76 | - } | ||
77 | - | ||
78 | - /** | ||
79 | - * Get idVolumen | ||
80 | - * | ||
81 | - * @return \AppBundle\Entity\Volumen | ||
82 | - */ | ||
83 | - public function getIdVolumen() | ||
84 | - { | ||
85 | - return $this->idVolumen; | ||
86 | - } | ||
87 | - | ||
88 | - /** | ||
89 | - * Set idUnidadCurricular | ||
90 | - * | ||
91 | - * @param \AppBundle\Entity\UnidadCurricular $idUnidadCurricular | ||
92 | - * @return UnidadCurricularVolumen | ||
93 | - */ | ||
94 | - public function setIdUnidadCurricular(\AppBundle\Entity\UnidadCurricular $idUnidadCurricular) | ||
95 | - { | ||
96 | - $this->idUnidadCurricular = $idUnidadCurricular; | ||
97 | - | ||
98 | - return $this; | ||
99 | - } | ||
100 | - | ||
101 | - /** | ||
102 | - * Get idUnidadCurricular | ||
103 | - * | ||
104 | - * @return \AppBundle\Entity\UnidadCurricular | ||
105 | - */ | ||
106 | - public function getIdUnidadCurricular() | ||
107 | - { | ||
108 | - return $this->idUnidadCurricular; | ||
109 | - } | ||
110 | - | ||
111 | - public function __toString() { | ||
112 | - return $this->getIdUnidadCurricular(); | ||
113 | - } | ||
114 | - /** | ||
115 | - * Constructor | ||
116 | - */ | ||
117 | - public function __construct() | ||
118 | - { | ||
119 | - $this->temas = new \Doctrine\Common\Collections\ArrayCollection(); | ||
120 | - } | ||
121 | - | ||
122 | - /** | ||
123 | - * Add temas | ||
124 | - * | ||
125 | - * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas | ||
126 | - * @return UnidadCurricularVolumen | ||
127 | - */ | ||
128 | - public function addTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) | ||
129 | - { | ||
130 | - $this->temas[] = $temas; | ||
131 | - | ||
132 | - return $this; | ||
133 | - } | ||
134 | - | ||
135 | - /** | ||
136 | - * Remove temas | ||
137 | - * | ||
138 | - * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas | ||
139 | - */ | ||
140 | - public function removeTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) | ||
141 | - { | ||
142 | - $this->temas->removeElement($temas); | ||
143 | - } | ||
144 | - | ||
145 | - /** | ||
146 | - * Get temas | ||
147 | - * | ||
148 | - * @return \Doctrine\Common\Collections\Collection | ||
149 | - */ | ||
150 | - public function getTemas() | ||
151 | - { | ||
152 | - return $this->temas; | ||
153 | - } | ||
154 | -} |
src/AppBundle/Entity/UnidadCurricularVolumenTema.php~
@@ -1,181 +0,0 @@ | @@ -1,181 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | - | ||
4 | -namespace AppBundle\Entity; | ||
5 | - | ||
6 | -use Doctrine\ORM\Mapping as ORM; | ||
7 | - | ||
8 | -/** | ||
9 | - * Tema | ||
10 | - * | ||
11 | - * @ORM\Table(name="unidad_curricular_volumen_tema") | ||
12 | - * @ORM\Entity | ||
13 | - */ | ||
14 | -class UnidadCurricularVolumenTema | ||
15 | -{ | ||
16 | - /** | ||
17 | - * @var text | ||
18 | - * | ||
19 | - * @ORM\Column(name="tema", type="text", nullable=false, options={"comment" = "nombre del estado"}) | ||
20 | - */ | ||
21 | - private $nombre; | ||
22 | - | ||
23 | - | ||
24 | - /** | ||
25 | - * @var integer | ||
26 | - * | ||
27 | - * @ORM\Column(name="orden", type="integer", length=2, nullable=false, options={"comment" = "orden del tema"}) | ||
28 | - */ | ||
29 | - private $orden; | ||
30 | - | ||
31 | - /** | ||
32 | - * @var text | ||
33 | - * | ||
34 | - * @ORM\Column(name="objetivo_general", type="text", nullable=false, options={"comment" = "Objetivo General del tema"}) | ||
35 | - */ | ||
36 | - private $objetivoGeneral; | ||
37 | - | ||
38 | - /** | ||
39 | - * @ORM\ManyToOne(targetEntity="UnidadCurricularVolumen", inversedBy="temas") | ||
40 | - * @ORM\JoinColumn(name="id_unidad_curricular_volumen", referencedColumnName="id") | ||
41 | - */ | ||
42 | - private $idUnidadCurricularVolumen; | ||
43 | - | ||
44 | - | ||
45 | - /** | ||
46 | - * @var integer | ||
47 | - * | ||
48 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
49 | - * @ORM\Id | ||
50 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
51 | - * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
52 | - */ | ||
53 | - private $id; | ||
54 | - | ||
55 | - /** | ||
56 | - * @ORM\OneToMany(targetEntity="PlanificacionSeccion", mappedBy="idtemaUc") | ||
57 | - */ | ||
58 | - private $hasPlanificacion; | ||
59 | - | ||
60 | - | ||
61 | - | ||
62 | - | ||
63 | - | ||
64 | - /** | ||
65 | - * Get nombre | ||
66 | - * | ||
67 | - * @return string | ||
68 | - */ | ||
69 | - public function __toString() | ||
70 | - { | ||
71 | - return $this->nombre; | ||
72 | - } | ||
73 | - | ||
74 | - | ||
75 | - | ||
76 | - | ||
77 | - | ||
78 | - /** | ||
79 | - * Set nombre | ||
80 | - * | ||
81 | - * @param string $nombre | ||
82 | - * @return UnidadCurricularVolumenTema | ||
83 | - */ | ||
84 | - public function setNombre($nombre) | ||
85 | - { | ||
86 | - $this->nombre = $nombre; | ||
87 | - | ||
88 | - return $this; | ||
89 | - } | ||
90 | - | ||
91 | - /** | ||
92 | - * Get nombre | ||
93 | - * | ||
94 | - * @return string | ||
95 | - */ | ||
96 | - public function getNombre() | ||
97 | - { | ||
98 | - return $this->nombre; | ||
99 | - } | ||
100 | - | ||
101 | - /** | ||
102 | - * Get id | ||
103 | - * | ||
104 | - * @return integer | ||
105 | - */ | ||
106 | - public function getId() | ||
107 | - { | ||
108 | - return $this->id; | ||
109 | - } | ||
110 | - | ||
111 | - /** | ||
112 | - * Set idUnidadCurricularVolumen | ||
113 | - * | ||
114 | - * @param \AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen | ||
115 | - * @return UnidadCurricularVolumenTema | ||
116 | - */ | ||
117 | - public function setIdUnidadCurricularVolumen(\AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen = null) | ||
118 | - { | ||
119 | - $this->idUnidadCurricularVolumen = $idUnidadCurricularVolumen; | ||
120 | - | ||
121 | - return $this; | ||
122 | - } | ||
123 | - | ||
124 | - /** | ||
125 | - * Get idUnidadCurricularVolumen | ||
126 | - * | ||
127 | - * @return \AppBundle\Entity\UnidadCurricularVolumen | ||
128 | - */ | ||
129 | - public function getIdUnidadCurricularVolumen() | ||
130 | - { | ||
131 | - return $this->idUnidadCurricularVolumen; | ||
132 | - } | ||
133 | - | ||
134 | - /** | ||
135 | - * Set objetivoGeneral | ||
136 | - * | ||
137 | - * @param string $objetivoGeneral | ||
138 | - * @return UnidadCurricularVolumenTema | ||
139 | - */ | ||
140 | - public function setObjetivoGeneral($objetivoGeneral) | ||
141 | - { | ||
142 | - $this->objetivoGeneral = $objetivoGeneral; | ||
143 | - | ||
144 | - return $this; | ||
145 | - } | ||
146 | - | ||
147 | - /** | ||
148 | - * Get objetivoGeneral | ||
149 | - * | ||
150 | - * @return string | ||
151 | - */ | ||
152 | - public function getObjetivoGeneral() | ||
153 | - { | ||
154 | - return $this->objetivoGeneral; | ||
155 | - } | ||
156 | - | ||
157 | - /** | ||
158 | - * Set orden | ||
159 | - * | ||
160 | - * @param integer $orden | ||
161 | - * @return UnidadCurricularVolumenTema | ||
162 | - */ | ||
163 | - public function setOrden($orden) | ||
164 | - { | ||
165 | - $this->orden = $orden; | ||
166 | - | ||
167 | - return $this; | ||
168 | - } | ||
169 | - | ||
170 | - /** | ||
171 | - * Get orden | ||
172 | - * | ||
173 | - * @return integer | ||
174 | - */ | ||
175 | - public function getOrden() | ||
176 | - { | ||
177 | - return $this->orden; | ||
178 | - } | ||
179 | - | ||
180 | - | ||
181 | -} |
src/AppBundle/Entity/Usuarios.php~
@@ -1,274 +0,0 @@ | @@ -1,274 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: ubv-cipee | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 08:36 AM | ||
7 | - */ | ||
8 | - | ||
9 | - | ||
10 | - | ||
11 | -namespace AppBundle\Entity; | ||
12 | - | ||
13 | -use Doctrine\ORM\Mapping as ORM; | ||
14 | -use Symfony\Component\Validator\Constraints as Assert; | ||
15 | -use Symfony\Component\Security\Core\User\UserInterface; | ||
16 | -use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; | ||
17 | - | ||
18 | -/** | ||
19 | - * Usuarios | ||
20 | - * | ||
21 | - * @ORM\Table(name="usuarios", uniqueConstraints={@ORM\UniqueConstraint(name="usuarios_id_rol_institucion_key", columns={"id_rol_institucion"})}) | ||
22 | - * @ORM\Entity(repositoryClass="UsuariosRepository") | ||
23 | - * @UniqueEntity(fields="username", message="Username already taken") | ||
24 | - */ | ||
25 | -class Usuarios implements UserInterface, \Serializable | ||
26 | -{ | ||
27 | - /** | ||
28 | - * @var string | ||
29 | - * | ||
30 | - * @ORM\Column(name="username", type="string", length=255, nullable=false, options={"comment" = "nombre de usuariro"}) | ||
31 | - */ | ||
32 | - protected $username; | ||
33 | - | ||
34 | - /** | ||
35 | - * @var string | ||
36 | - * | ||
37 | - * @ORM\Column(name="password", type="string", length=255, nullable=false, options={"comment" = "contraseรฑa encryptada"}) | ||
38 | - */ | ||
39 | - protected $password; | ||
40 | - | ||
41 | - /** | ||
42 | - * @Assert\NotBlank() | ||
43 | - * @Assert\Length(max=4096) | ||
44 | - */ | ||
45 | - private $plainPassword; | ||
46 | - | ||
47 | - | ||
48 | - | ||
49 | - /** | ||
50 | - * @var integer | ||
51 | - * | ||
52 | - * @ORM\Column(name="id", type="integer", options={"comment" = "identificador de los usuarios"}, nullable=false) | ||
53 | - * @ORM\Id | ||
54 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
55 | - * @ORM\SequenceGenerator(sequenceName="usuarios_id_seq", allocationSize=1, initialValue=1) | ||
56 | - */ | ||
57 | - protected $id; | ||
58 | - | ||
59 | - /** | ||
60 | - * @var \AppBundle\Entity\RolInstitucion | ||
61 | - * | ||
62 | - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
63 | - * @ORM\JoinColumns({ | ||
64 | - * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
65 | - * }) | ||
66 | - */ | ||
67 | - protected $idRolInstitucion; | ||
68 | - | ||
69 | - /** | ||
70 | - * @var \Doctrine\Common\Collections\Collection | ||
71 | - * | ||
72 | - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\Role", inversedBy="user") | ||
73 | - * @ORM\JoinTable(name="user_role", | ||
74 | - * joinColumns={ | ||
75 | - * @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false) | ||
76 | - * }, | ||
77 | - * inverseJoinColumns={ | ||
78 | - * @ORM\JoinColumn(name="rol_id", referencedColumnName="id", nullable=false) | ||
79 | - * } | ||
80 | - * ) | ||
81 | - */ | ||
82 | - protected $rol; | ||
83 | - | ||
84 | - /** | ||
85 | - * Constructor | ||
86 | - */ | ||
87 | - public function __construct() | ||
88 | - { | ||
89 | - $this->rol = new \Doctrine\Common\Collections\ArrayCollection(); | ||
90 | - } | ||
91 | - | ||
92 | - | ||
93 | - /** | ||
94 | - * Set username | ||
95 | - * | ||
96 | - * @param string $username | ||
97 | - * @return Usuarios | ||
98 | - */ | ||
99 | - public function setUsername($username) | ||
100 | - { | ||
101 | - $this->username = $username; | ||
102 | - | ||
103 | - return $this; | ||
104 | - } | ||
105 | - | ||
106 | - /** | ||
107 | - * Get username | ||
108 | - * | ||
109 | - * @return string | ||
110 | - */ | ||
111 | - public function getUsername() | ||
112 | - { | ||
113 | - return $this->username; | ||
114 | - } | ||
115 | - | ||
116 | - /** | ||
117 | - * Set password | ||
118 | - * | ||
119 | - * @param string $password | ||
120 | - * @return Usuarios | ||
121 | - */ | ||
122 | - public function setPassword($password) | ||
123 | - { | ||
124 | - $this->password = $password; | ||
125 | - | ||
126 | - return $this; | ||
127 | - } | ||
128 | - | ||
129 | - /** | ||
130 | - * Get password | ||
131 | - * | ||
132 | - * @return string | ||
133 | - */ | ||
134 | - public function getPassword() | ||
135 | - { | ||
136 | - return $this->password; | ||
137 | - } | ||
138 | - | ||
139 | - | ||
140 | - /** | ||
141 | - * Get id | ||
142 | - * | ||
143 | - * @return integer | ||
144 | - */ | ||
145 | - public function getId() | ||
146 | - { | ||
147 | - return $this->id; | ||
148 | - } | ||
149 | - | ||
150 | - /** | ||
151 | - * Set idRolInstitucion | ||
152 | - * | ||
153 | - * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
154 | - * @return Usuarios | ||
155 | - */ | ||
156 | - public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) | ||
157 | - { | ||
158 | - $this->idRolInstitucion = $idRolInstitucion; | ||
159 | - | ||
160 | - return $this; | ||
161 | - } | ||
162 | - | ||
163 | - /** | ||
164 | - * Get idRolInstitucion | ||
165 | - * | ||
166 | - * @return \AppBundle\Entity\RolInstitucion | ||
167 | - */ | ||
168 | - public function getIdRolInstitucion() | ||
169 | - { | ||
170 | - return $this->idRolInstitucion; | ||
171 | - } | ||
172 | - | ||
173 | - /** | ||
174 | - * Add rol | ||
175 | - * | ||
176 | - * @param \AppBundle\Entity\Role $rol | ||
177 | - * @return Role | ||
178 | - */ | ||
179 | - public function addRol(\AppBundle\Entity\Role $rol) | ||
180 | - { | ||
181 | - $this->rol[] = $rol; | ||
182 | - | ||
183 | - return $this; | ||
184 | - } | ||
185 | - | ||
186 | - /** | ||
187 | - * Remove rol | ||
188 | - * | ||
189 | - * @param \AppBundle\Entity\Role $rol | ||
190 | - */ | ||
191 | - public function removeRol(\AppBundle\Entity\Role $rol) | ||
192 | - { | ||
193 | - $this->rol->removeElement($rol); | ||
194 | - } | ||
195 | - | ||
196 | - /** | ||
197 | - * Get rol | ||
198 | - * | ||
199 | - * @return \Doctrine\Common\Collections\Collection | ||
200 | - */ | ||
201 | - public function getRol() | ||
202 | - { | ||
203 | - return $this->rol; | ||
204 | - } | ||
205 | - | ||
206 | - | ||
207 | - public function getRoles() | ||
208 | - { | ||
209 | - return $this->rol->toArray(); /*IMPORTANTE: el mecanismo de seguridad de Sf2 requiere รฉsto como un array*/ | ||
210 | - } | ||
211 | - | ||
212 | - public function equals(UserInterface $user) { | ||
213 | - return md5($this->getUsername()) == md5($user->getUsername()); | ||
214 | - | ||
215 | - } | ||
216 | - | ||
217 | - /** | ||
218 | - * Erases the user credentials. | ||
219 | - */ | ||
220 | - public function eraseCredentials() { | ||
221 | - | ||
222 | - } | ||
223 | - | ||
224 | - public function serialize() | ||
225 | - { | ||
226 | - /* | ||
227 | - * ! Don't serialize $roles field ! | ||
228 | - */ | ||
229 | - return \serialize(array( | ||
230 | - $this->id, | ||
231 | - $this->username, | ||
232 | - $this->password, | ||
233 | - )); | ||
234 | - } | ||
235 | - | ||
236 | - /** | ||
237 | - * @see \Serializable::unserialize() | ||
238 | - */ | ||
239 | - public function unserialize($serialized) | ||
240 | - { | ||
241 | - list ( | ||
242 | - $this->id, | ||
243 | - $this->username, | ||
244 | - $this->password, | ||
245 | - ) = \unserialize($serialized); | ||
246 | - } | ||
247 | - | ||
248 | - public function __toString() { | ||
249 | - return $this->getuserName(); | ||
250 | - } | ||
251 | - | ||
252 | - public function getPlainPassword() | ||
253 | - { | ||
254 | - return $this->plainPassword; | ||
255 | - } | ||
256 | - | ||
257 | - public function setPlainPassword($password) | ||
258 | - { | ||
259 | - $this->plainPassword = $password; | ||
260 | - } | ||
261 | - | ||
262 | - | ||
263 | - /** | ||
264 | - * Returns the salt that was originally used to encode the password. | ||
265 | - * | ||
266 | - * This can return null if the password was not encoded using a salt. | ||
267 | - * | ||
268 | - * @return string|null The salt | ||
269 | - */ | ||
270 | - public function getSalt() | ||
271 | - { | ||
272 | - // TODO: Implement getSalt() method. | ||
273 | - } | ||
274 | -} | ||
275 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Entity/Volumen.php~
@@ -1,75 +0,0 @@ | @@ -1,75 +0,0 @@ | ||
1 | -<?php | ||
2 | - | ||
3 | -namespace AppBundle\Entity; | ||
4 | - | ||
5 | -use Doctrine\ORM\Mapping as ORM; | ||
6 | - | ||
7 | -/** | ||
8 | - * Volumen | ||
9 | - * | ||
10 | - * @ORM\Table(name="volumen", uniqueConstraints={@ORM\UniqueConstraint(name="uq_volumen", columns={"nombre"})}) | ||
11 | - * @ORM\Entity | ||
12 | - */ | ||
13 | -class Volumen | ||
14 | -{ | ||
15 | - /** | ||
16 | - * @var string | ||
17 | - * | ||
18 | - * @ORM\Column(name="nombre", type="string", length=4, nullable=false, options={"comment" = "Nombre del volumen"}) | ||
19 | - */ | ||
20 | - private $nombre; | ||
21 | - | ||
22 | - /** | ||
23 | - * @var integer | ||
24 | - * | ||
25 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del volumen"}) | ||
26 | - * @ORM\Id | ||
27 | - * @ORM\GeneratedValue(strategy="IDENTITY") | ||
28 | - * @ORM\SequenceGenerator(sequenceName="volumen_id_seq", allocationSize=1, initialValue=1) | ||
29 | - */ | ||
30 | - private $id; | ||
31 | - | ||
32 | - | ||
33 | - | ||
34 | - /** | ||
35 | - * Set nombre | ||
36 | - * | ||
37 | - * @param string $nombre | ||
38 | - * @return Volumen | ||
39 | - */ | ||
40 | - public function setNombre($nombre) | ||
41 | - { | ||
42 | - $this->nombre = $nombre; | ||
43 | - | ||
44 | - return $this; | ||
45 | - } | ||
46 | - | ||
47 | - /** | ||
48 | - * Get nombre | ||
49 | - * | ||
50 | - * @return string | ||
51 | - */ | ||
52 | - public function getNombre() | ||
53 | - { | ||
54 | - return $this->nombre; | ||
55 | - } | ||
56 | - | ||
57 | - /** | ||
58 | - * Get id | ||
59 | - * | ||
60 | - * @return integer | ||
61 | - */ | ||
62 | - public function getId() | ||
63 | - { | ||
64 | - return $this->id; | ||
65 | - } | ||
66 | - | ||
67 | - /** | ||
68 | - * | ||
69 | - * @return string | ||
70 | - */ | ||
71 | - | ||
72 | - public function __toString() { | ||
73 | - return $this->getNombre(); | ||
74 | - } | ||
75 | -} | ||
76 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AppBundle/Form/UserType.php~
@@ -1,154 +0,0 @@ | @@ -1,154 +0,0 @@ | ||
1 | -<?php | ||
2 | -/** | ||
3 | - * Created by PhpStorm. | ||
4 | - * User: ubv-cipee | ||
5 | - * Date: 29/06/16 | ||
6 | - * Time: 09:07 AM | ||
7 | - */ | ||
8 | - | ||
9 | -namespace AppBundle\Form; | ||
10 | - | ||
11 | - | ||
12 | - | ||
13 | -use Symfony\Component\Form\AbstractType; | ||
14 | -use Symfony\Component\Form\FormBuilderInterface; | ||
15 | -use Symfony\Component\OptionsResolver\OptionsResolver; | ||
16 | -use Symfony\Component\Form\Extension\Core\Type\EmailType; | ||
17 | -use Symfony\Component\Form\Extension\Core\Type\BirthdayType; | ||
18 | -use Symfony\Component\Form\Extension\Core\Type\CheckboxType; | ||
19 | -use Symfony\Component\Form\Extension\Core\Type\FileType; | ||
20 | -use Symfony\Component\Form\Extension\Core\Type\SubmitType; | ||
21 | -use Symfony\Bridge\Doctrine\Form\Type\EntityType; | ||
22 | - | ||
23 | -class UserType extends AbstractType | ||
24 | -{ | ||
25 | - public function buildForm(FormBuilderInterface $builder, array $options) | ||
26 | - { | ||
27 | - $builder | ||
28 | - /* ->add('fecha_ingreso', BirthdayType::class, array( | ||
29 | - 'label' => 'Fecha de Ingreso UBV', | ||
30 | - ))*/ | ||
31 | - ->add('trabajo', FileType::class, array('label' => 'Digital Constancia Trabajo')) | ||
32 | - ->add('pregrado', FileType::class, array('label' => 'Digital Tรญtulo de Pregrado')) | ||
33 | - | ||
34 | - ->add('postgrado', FileType::class, array('label' => 'Digital Tรญtulo de Postgrado','required' => false)) | ||
35 | - /*->add('oposicion', CheckboxType::class, array( | ||
36 | - 'label' => 'ยฟTiene Concurso de Oposiciรณn?', | ||
37 | - 'required' => false, | ||
38 | - ))*/ | ||
39 | - ->add('escala', EntityType::class, array( | ||
40 | - 'label' => false, | ||
41 | - 'placeholder' => 'Seleccione escala a la que concurso', | ||
42 | - 'required' => false, | ||
43 | - /*'attr' => array( | ||
44 | - 'class' => 'esc_oposicion' | ||
45 | - ),*/ | ||
46 | - 'class' => 'AppBundle:Escalafones', | ||
47 | - 'choice_label' => 'getNombre', | ||
48 | - )) | ||
49 | - ->add('fecha_oposicion', BirthdayType::class, array( | ||
50 | - 'label' => 'fecha Concurso', | ||
51 | - 'label_attr' => array( 'class' => 'esc_oposicion'), | ||
52 | - 'required' => false, | ||
53 | - /* 'attr' => array( | ||
54 | - 'class' => 'esc_oposicion' | ||
55 | - )*/ | ||
56 | - )) | ||
57 | - /*->add('documento_oposicion', FileType::class, array( | ||
58 | - 'label' => 'Digital Documento Oposiciรณn', | ||
59 | - 'label_attr' => array( 'class' => 'esc_oposicion'), | ||
60 | - 'required' => false, | ||
61 | - 'attr' => array( | ||
62 | - 'style' => 'display:none;', | ||
63 | - 'class' => 'esc_oposicion' | ||
64 | - ) | ||
65 | - )) | ||
66 | - ->add('area_investigacion', EntityType::class, array( | ||
67 | - 'label' => false, | ||
68 | - 'attr' => array( | ||
69 | - 'class' => 'esc_oposicion' | ||
70 | - ), | ||
71 | - 'placeholder' => 'Seleccione Area de Investigacion', | ||
72 | - 'required' => false, | ||
73 | - 'class' => 'AppBundle:AreasInvestigacion', | ||
74 | - 'choice_label' => 'getNombre', | ||
75 | - )) | ||
76 | - ->add('ascenso', CheckboxType::class, array( | ||
77 | - 'label' => 'ยฟHa tenido Ascenso luego del Concurso?', | ||
78 | - 'label_attr' => array( 'class' => 'esc_oposicion'), | ||
79 | - 'required' => false, | ||
80 | - 'attr' => array( | ||
81 | - 'class' => 'esc_oposicion' | ||
82 | - ) | ||
83 | - )) | ||
84 | - //Ascensos: | ||
85 | - //Asistente | ||
86 | - ->add('fecha_ascenso_asistente', BirthdayType::class, array( | ||
87 | - 'label' => 'fecha ascenso ASISTENTE', | ||
88 | - 'required' => false, | ||
89 | - 'label_attr' => array( 'class' => 'esc_asistente'), | ||
90 | - 'attr' => array( | ||
91 | - 'class' => 'esc_asistente' | ||
92 | - ) | ||
93 | - )) | ||
94 | - | ||
95 | - ->add('documento_asistente', FileType::class, array( | ||
96 | - 'label' => 'Digital Documento Asistente', | ||
97 | - 'label_attr' => array( 'class' => 'esc_asistente'), | ||
98 | - 'required' => false, | ||
99 | - 'attr' => array( | ||
100 | - 'style' => 'display:none;', | ||
101 | - 'class' => 'esc_asistente' | ||
102 | - ) | ||
103 | - )) | ||
104 | - | ||
105 | - ->add('ascenso2', CheckboxType::class, array( | ||
106 | - 'label' => 'ยฟotro Ascenso?', | ||
107 | - 'label_attr' => array( 'class' => 'esc_asistente'), | ||
108 | - 'required' => false, | ||
109 | - 'attr' => array( | ||
110 | - 'class' => 'esc_asistente' | ||
111 | - ) | ||
112 | - )) | ||
113 | - | ||
114 | - //Agregado | ||
115 | - ->add('fecha_ascenso_agregado', BirthdayType::class, array( | ||
116 | - 'label' => 'fecha ascenso AGREGADO', | ||
117 | - 'label_attr' => array( 'class' => 'esc_agregado'), | ||
118 | - 'required' => false, | ||
119 | - 'attr' => array( | ||
120 | - 'class' => 'esc_agregado' | ||
121 | - ) | ||
122 | - )) | ||
123 | - | ||
124 | - ->add('documento_agregado', FileType::class, array( | ||
125 | - 'label' => 'Digital Documento agregado', | ||
126 | - 'label_attr' => array( 'class' => 'esc_agregado'), | ||
127 | - 'required' => false, | ||
128 | - 'attr' => array( | ||
129 | - 'style' => 'display:none;', | ||
130 | - 'class' => 'esc_agregado' | ||
131 | - ) | ||
132 | - )) | ||
133 | - | ||
134 | - ->add('ascenso3', CheckboxType::class, array( | ||
135 | - 'label' => 'ยฟOtro Ascenso?', | ||
136 | - 'label_attr' => array( 'class' => 'esc_agregado'), | ||
137 | - 'required' => false, | ||
138 | - 'attr' => array( | ||
139 | - 'class' => 'esc_agregado' | ||
140 | - ) | ||
141 | - ))*/ | ||
142 | - | ||
143 | - ->add('send', SubmitType::class, array('label' => 'Enviar Solicitud')); | ||
144 | - | ||
145 | - | ||
146 | - ; | ||
147 | - | ||
148 | - | ||
149 | - } | ||
150 | - | ||
151 | - | ||
152 | - | ||
153 | - | ||
154 | -} |
web/assets/vendor/animate.css/.bower.json
@@ -1,23 +0,0 @@ | @@ -1,23 +0,0 @@ | ||
1 | -{ | ||
2 | - "name": "animate.css", | ||
3 | - "main": "./animate.css", | ||
4 | - "ignore": [ | ||
5 | - ".*", | ||
6 | - "*.yml", | ||
7 | - "Gemfile", | ||
8 | - "Gemfile.lock", | ||
9 | - "*.md" | ||
10 | - ], | ||
11 | - "homepage": "https://github.com/daneden/animate.css", | ||
12 | - "version": "3.5.2", | ||
13 | - "_release": "3.5.2", | ||
14 | - "_resolution": { | ||
15 | - "type": "version", | ||
16 | - "tag": "3.5.2", | ||
17 | - "commit": "dac3dab7b59cb6072b5d0fe23eae3805e370a58c" | ||
18 | - }, | ||
19 | - "_source": "https://github.com/daneden/animate.css.git", | ||
20 | - "_target": "^3.5.2", | ||
21 | - "_originalSource": "animate.css", | ||
22 | - "_direct": true | ||
23 | -} | ||
24 | \ No newline at end of file | 0 | \ No newline at end of file |
web/assets/vendor/bootstrap/.bower.json
@@ -1,45 +0,0 @@ | @@ -1,45 +0,0 @@ | ||
1 | -{ | ||
2 | - "name": "bootstrap", | ||
3 | - "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", | ||
4 | - "keywords": [ | ||
5 | - "css", | ||
6 | - "js", | ||
7 | - "less", | ||
8 | - "mobile-first", | ||
9 | - "responsive", | ||
10 | - "front-end", | ||
11 | - "framework", | ||
12 | - "web" | ||
13 | - ], | ||
14 | - "homepage": "http://getbootstrap.com", | ||
15 | - "license": "MIT", | ||
16 | - "moduleType": "globals", | ||
17 | - "main": [ | ||
18 | - "less/bootstrap.less", | ||
19 | - "dist/js/bootstrap.js" | ||
20 | - ], | ||
21 | - "ignore": [ | ||
22 | - "/.*", | ||
23 | - "_config.yml", | ||
24 | - "CNAME", | ||
25 | - "composer.json", | ||
26 | - "CONTRIBUTING.md", | ||
27 | - "docs", | ||
28 | - "js/tests", | ||
29 | - "test-infra" | ||
30 | - ], | ||
31 | - "dependencies": { | ||
32 | - "jquery": "1.9.1 - 2" | ||
33 | - }, | ||
34 | - "version": "3.3.6", | ||
35 | - "_release": "3.3.6", | ||
36 | - "_resolution": { | ||
37 | - "type": "version", | ||
38 | - "tag": "v3.3.6", | ||
39 | - "commit": "81df608a40bf0629a1dc08e584849bb1e43e0b7a" | ||
40 | - }, | ||
41 | - "_source": "https://github.com/twbs/bootstrap.git", | ||
42 | - "_target": "^3.3.6", | ||
43 | - "_originalSource": "bootstrap", | ||
44 | - "_direct": true | ||
45 | -} | ||
46 | \ No newline at end of file | 0 | \ No newline at end of file |
web/assets/vendor/bootstrap/grunt/.jshintrc
web/assets/vendor/bootstrap/js/.jscsrc
@@ -1,42 +0,0 @@ | @@ -1,42 +0,0 @@ | ||
1 | -{ | ||
2 | - "disallowEmptyBlocks": true, | ||
3 | - "disallowKeywords": ["with"], | ||
4 | - "disallowMixedSpacesAndTabs": true, | ||
5 | - "disallowMultipleLineStrings": true, | ||
6 | - "disallowMultipleVarDecl": true, | ||
7 | - "disallowQuotedKeysInObjects": "allButReserved", | ||
8 | - "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], | ||
9 | - "disallowSpaceBeforeBinaryOperators": [","], | ||
10 | - "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], | ||
11 | - "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, | ||
12 | - "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, | ||
13 | - "disallowSpacesInsideArrayBrackets": true, | ||
14 | - "disallowSpacesInsideParentheses": true, | ||
15 | - "disallowTrailingComma": true, | ||
16 | - "disallowTrailingWhitespace": true, | ||
17 | - "requireCamelCaseOrUpperCaseIdentifiers": true, | ||
18 | - "requireCapitalizedConstructors": true, | ||
19 | - "requireCommaBeforeLineBreak": true, | ||
20 | - "requireDollarBeforejQueryAssignment": true, | ||
21 | - "requireDotNotation": true, | ||
22 | - "requireLineFeedAtFileEnd": true, | ||
23 | - "requirePaddingNewLinesAfterUseStrict": true, | ||
24 | - "requirePaddingNewLinesBeforeExport": true, | ||
25 | - "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], | ||
26 | - "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], | ||
27 | - "requireSpaceAfterLineComment": true, | ||
28 | - "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], | ||
29 | - "requireSpaceBetweenArguments": true, | ||
30 | - "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, | ||
31 | - "requireSpacesInConditionalExpression": true, | ||
32 | - "requireSpacesInForStatement": true, | ||
33 | - "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, | ||
34 | - "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, | ||
35 | - "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, | ||
36 | - "requireSpacesInsideObjectBrackets": "allButNested", | ||
37 | - "validateAlignedFunctionParameters": true, | ||
38 | - "validateIndentation": 2, | ||
39 | - "validateLineBreaks": "LF", | ||
40 | - "validateNewlineAfterArrayElements": true, | ||
41 | - "validateQuoteMarks": "'" | ||
42 | -} |
web/assets/vendor/bootstrap/js/.jshintrc
@@ -1,15 +0,0 @@ | @@ -1,15 +0,0 @@ | ||
1 | -{ | ||
2 | - "asi" : true, | ||
3 | - "browser" : true, | ||
4 | - "eqeqeq" : false, | ||
5 | - "eqnull" : true, | ||
6 | - "es3" : true, | ||
7 | - "expr" : true, | ||
8 | - "jquery" : true, | ||
9 | - "latedef" : true, | ||
10 | - "laxbreak" : true, | ||
11 | - "nonbsp" : true, | ||
12 | - "strict" : true, | ||
13 | - "undef" : true, | ||
14 | - "unused" : true | ||
15 | -} |
web/assets/vendor/bootstrap/less/.csscomb.json
@@ -1,304 +0,0 @@ | @@ -1,304 +0,0 @@ | ||
1 | -{ | ||
2 | - "always-semicolon": true, | ||
3 | - "block-indent": 2, | ||
4 | - "color-case": "lower", | ||
5 | - "color-shorthand": true, | ||
6 | - "element-case": "lower", | ||
7 | - "eof-newline": true, | ||
8 | - "leading-zero": false, | ||
9 | - "remove-empty-rulesets": true, | ||
10 | - "space-after-colon": 1, | ||
11 | - "space-after-combinator": 1, | ||
12 | - "space-before-selector-delimiter": 0, | ||
13 | - "space-between-declarations": "\n", | ||
14 | - "space-after-opening-brace": "\n", | ||
15 | - "space-before-closing-brace": "\n", | ||
16 | - "space-before-colon": 0, | ||
17 | - "space-before-combinator": 1, | ||
18 | - "space-before-opening-brace": 1, | ||
19 | - "strip-spaces": true, | ||
20 | - "unitless-zero": true, | ||
21 | - "vendor-prefix-align": true, | ||
22 | - "sort-order": [ | ||
23 | - [ | ||
24 | - "position", | ||
25 | - "top", | ||
26 | - "right", | ||
27 | - "bottom", | ||
28 | - "left", | ||
29 | - "z-index", | ||
30 | - "display", | ||
31 | - "float", | ||
32 | - "width", | ||
33 | - "min-width", | ||
34 | - "max-width", | ||
35 | - "height", | ||
36 | - "min-height", | ||
37 | - "max-height", | ||
38 | - "-webkit-box-sizing", | ||
39 | - "-moz-box-sizing", | ||
40 | - "box-sizing", | ||
41 | - "-webkit-appearance", | ||
42 | - "padding", | ||
43 | - "padding-top", | ||
44 | - "padding-right", | ||
45 | - "padding-bottom", | ||
46 | - "padding-left", | ||
47 | - "margin", | ||
48 | - "margin-top", | ||
49 | - "margin-right", | ||
50 | - "margin-bottom", | ||
51 | - "margin-left", | ||
52 | - "overflow", | ||
53 | - "overflow-x", | ||
54 | - "overflow-y", | ||
55 | - "-webkit-overflow-scrolling", | ||
56 | - "-ms-overflow-x", | ||
57 | - "-ms-overflow-y", | ||
58 | - "-ms-overflow-style", | ||
59 | - "clip", | ||
60 | - "clear", | ||
61 | - "font", | ||
62 | - "font-family", | ||
63 | - "font-size", | ||
64 | - "font-style", | ||
65 | - "font-weight", | ||
66 | - "font-variant", | ||
67 | - "font-size-adjust", | ||
68 | - "font-stretch", | ||
69 | - "font-effect", | ||
70 | - "font-emphasize", | ||
71 | - "font-emphasize-position", | ||
72 | - "font-emphasize-style", | ||
73 | - "font-smooth", | ||
74 | - "-webkit-hyphens", | ||
75 | - "-moz-hyphens", | ||
76 | - "hyphens", | ||
77 | - "line-height", | ||
78 | - "color", | ||
79 | - "text-align", | ||
80 | - "-webkit-text-align-last", | ||
81 | - "-moz-text-align-last", | ||
82 | - "-ms-text-align-last", | ||
83 | - "text-align-last", | ||
84 | - "text-emphasis", | ||
85 | - "text-emphasis-color", | ||
86 | - "text-emphasis-style", | ||
87 | - "text-emphasis-position", | ||
88 | - "text-decoration", | ||
89 | - "text-indent", | ||
90 | - "text-justify", | ||
91 | - "text-outline", | ||
92 | - "-ms-text-overflow", | ||
93 | - "text-overflow", | ||
94 | - "text-overflow-ellipsis", | ||
95 | - "text-overflow-mode", | ||
96 | - "text-shadow", | ||
97 | - "text-transform", | ||
98 | - "text-wrap", | ||
99 | - "-webkit-text-size-adjust", | ||
100 | - "-ms-text-size-adjust", | ||
101 | - "letter-spacing", | ||
102 | - "-ms-word-break", | ||
103 | - "word-break", | ||
104 | - "word-spacing", | ||
105 | - "-ms-word-wrap", | ||
106 | - "word-wrap", | ||
107 | - "-moz-tab-size", | ||
108 | - "-o-tab-size", | ||
109 | - "tab-size", | ||
110 | - "white-space", | ||
111 | - "vertical-align", | ||
112 | - "list-style", | ||
113 | - "list-style-position", | ||
114 | - "list-style-type", | ||
115 | - "list-style-image", | ||
116 | - "pointer-events", | ||
117 | - "-ms-touch-action", | ||
118 | - "touch-action", | ||
119 | - "cursor", | ||
120 | - "visibility", | ||
121 | - "zoom", | ||
122 | - "flex-direction", | ||
123 | - "flex-order", | ||
124 | - "flex-pack", | ||
125 | - "flex-align", | ||
126 | - "table-layout", | ||
127 | - "empty-cells", | ||
128 | - "caption-side", | ||
129 | - "border-spacing", | ||
130 | - "border-collapse", | ||
131 | - "content", | ||
132 | - "quotes", | ||
133 | - "counter-reset", | ||
134 | - "counter-increment", | ||
135 | - "resize", | ||
136 | - "-webkit-user-select", | ||
137 | - "-moz-user-select", | ||
138 | - "-ms-user-select", | ||
139 | - "-o-user-select", | ||
140 | - "user-select", | ||
141 | - "nav-index", | ||
142 | - "nav-up", | ||
143 | - "nav-right", | ||
144 | - "nav-down", | ||
145 | - "nav-left", | ||
146 | - "background", | ||
147 | - "background-color", | ||
148 | - "background-image", | ||
149 | - "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient", | ||
150 | - "filter:progid:DXImageTransform.Microsoft.gradient", | ||
151 | - "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", | ||
152 | - "filter", | ||
153 | - "background-repeat", | ||
154 | - "background-attachment", | ||
155 | - "background-position", | ||
156 | - "background-position-x", | ||
157 | - "background-position-y", | ||
158 | - "-webkit-background-clip", | ||
159 | - "-moz-background-clip", | ||
160 | - "background-clip", | ||
161 | - "background-origin", | ||
162 | - "-webkit-background-size", | ||
163 | - "-moz-background-size", | ||
164 | - "-o-background-size", | ||
165 | - "background-size", | ||
166 | - "border", | ||
167 | - "border-color", | ||
168 | - "border-style", | ||
169 | - "border-width", | ||
170 | - "border-top", | ||
171 | - "border-top-color", | ||
172 | - "border-top-style", | ||
173 | - "border-top-width", | ||
174 | - "border-right", | ||
175 | - "border-right-color", | ||
176 | - "border-right-style", | ||
177 | - "border-right-width", | ||
178 | - "border-bottom", | ||
179 | - "border-bottom-color", | ||
180 | - "border-bottom-style", | ||
181 | - "border-bottom-width", | ||
182 | - "border-left", | ||
183 | - "border-left-color", | ||
184 | - "border-left-style", | ||
185 | - "border-left-width", | ||
186 | - "border-radius", | ||
187 | - "border-top-left-radius", | ||
188 | - "border-top-right-radius", | ||
189 | - "border-bottom-right-radius", | ||
190 | - "border-bottom-left-radius", | ||
191 | - "-webkit-border-image", | ||
192 | - "-moz-border-image", | ||
193 | - "-o-border-image", | ||
194 | - "border-image", | ||
195 | - "-webkit-border-image-source", | ||
196 | - "-moz-border-image-source", | ||
197 | - "-o-border-image-source", | ||
198 | - "border-image-source", | ||
199 | - "-webkit-border-image-slice", | ||
200 | - "-moz-border-image-slice", | ||
201 | - "-o-border-image-slice", | ||
202 | - "border-image-slice", | ||
203 | - "-webkit-border-image-width", | ||
204 | - "-moz-border-image-width", | ||
205 | - "-o-border-image-width", | ||
206 | - "border-image-width", | ||
207 | - "-webkit-border-image-outset", | ||
208 | - "-moz-border-image-outset", | ||
209 | - "-o-border-image-outset", | ||
210 | - "border-image-outset", | ||
211 | - "-webkit-border-image-repeat", | ||
212 | - "-moz-border-image-repeat", | ||
213 | - "-o-border-image-repeat", | ||
214 | - "border-image-repeat", | ||
215 | - "outline", | ||
216 | - "outline-width", | ||
217 | - "outline-style", | ||
218 | - "outline-color", | ||
219 | - "outline-offset", | ||
220 | - "-webkit-box-shadow", | ||
221 | - "-moz-box-shadow", | ||
222 | - "box-shadow", | ||
223 | - "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", | ||
224 | - "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha", | ||
225 | - "opacity", | ||
226 | - "-ms-interpolation-mode", | ||
227 | - "-webkit-transition", | ||
228 | - "-moz-transition", | ||
229 | - "-ms-transition", | ||
230 | - "-o-transition", | ||
231 | - "transition", | ||
232 | - "-webkit-transition-delay", | ||
233 | - "-moz-transition-delay", | ||
234 | - "-ms-transition-delay", | ||
235 | - "-o-transition-delay", | ||
236 | - "transition-delay", | ||
237 | - "-webkit-transition-timing-function", | ||
238 | - "-moz-transition-timing-function", | ||
239 | - "-ms-transition-timing-function", | ||
240 | - "-o-transition-timing-function", | ||
241 | - "transition-timing-function", | ||
242 | - "-webkit-transition-duration", | ||
243 | - "-moz-transition-duration", | ||
244 | - "-ms-transition-duration", | ||
245 | - "-o-transition-duration", | ||
246 | - "transition-duration", | ||
247 | - "-webkit-transition-property", | ||
248 | - "-moz-transition-property", | ||
249 | - "-ms-transition-property", | ||
250 | - "-o-transition-property", | ||
251 | - "transition-property", | ||
252 | - "-webkit-transform", | ||
253 | - "-moz-transform", | ||
254 | - "-ms-transform", | ||
255 | - "-o-transform", | ||
256 | - "transform", | ||
257 | - "-webkit-transform-origin", | ||
258 | - "-moz-transform-origin", | ||
259 | - "-ms-transform-origin", | ||
260 | - "-o-transform-origin", | ||
261 | - "transform-origin", | ||
262 | - "-webkit-animation", | ||
263 | - "-moz-animation", | ||
264 | - "-ms-animation", | ||
265 | - "-o-animation", | ||
266 | - "animation", | ||
267 | - "-webkit-animation-name", | ||
268 | - "-moz-animation-name", | ||
269 | - "-ms-animation-name", | ||
270 | - "-o-animation-name", | ||
271 | - "animation-name", | ||
272 | - "-webkit-animation-duration", | ||
273 | - "-moz-animation-duration", | ||
274 | - "-ms-animation-duration", | ||
275 | - "-o-animation-duration", | ||
276 | - "animation-duration", | ||
277 | - "-webkit-animation-play-state", | ||
278 | - "-moz-animation-play-state", | ||
279 | - "-ms-animation-play-state", | ||
280 | - "-o-animation-play-state", | ||
281 | - "animation-play-state", | ||
282 | - "-webkit-animation-timing-function", | ||
283 | - "-moz-animation-timing-function", | ||
284 | - "-ms-animation-timing-function", | ||
285 | - "-o-animation-timing-function", | ||
286 | - "animation-timing-function", | ||
287 | - "-webkit-animation-delay", | ||
288 | - "-moz-animation-delay", | ||
289 | - "-ms-animation-delay", | ||
290 | - "-o-animation-delay", | ||
291 | - "animation-delay", | ||
292 | - "-webkit-animation-iteration-count", | ||
293 | - "-moz-animation-iteration-count", | ||
294 | - "-ms-animation-iteration-count", | ||
295 | - "-o-animation-iteration-count", | ||
296 | - "animation-iteration-count", | ||
297 | - "-webkit-animation-direction", | ||
298 | - "-moz-animation-direction", | ||
299 | - "-ms-animation-direction", | ||
300 | - "-o-animation-direction", | ||
301 | - "animation-direction" | ||
302 | - ] | ||
303 | - ] | ||
304 | -} |
web/assets/vendor/bootstrap/less/.csslintrc
@@ -1,19 +0,0 @@ | @@ -1,19 +0,0 @@ | ||
1 | -{ | ||
2 | - "adjoining-classes": false, | ||
3 | - "box-sizing": false, | ||
4 | - "box-model": false, | ||
5 | - "compatible-vendor-prefixes": false, | ||
6 | - "floats": false, | ||
7 | - "font-sizes": false, | ||
8 | - "gradients": false, | ||
9 | - "important": false, | ||
10 | - "known-properties": false, | ||
11 | - "outline-none": false, | ||
12 | - "qualified-headings": false, | ||
13 | - "regex-selectors": false, | ||
14 | - "shorthand": false, | ||
15 | - "text-indent": false, | ||
16 | - "unique-headings": false, | ||
17 | - "universal-selector": false, | ||
18 | - "unqualified-attributes": false | ||
19 | -} |
web/assets/vendor/font-awesome/.bower.json
@@ -1,37 +0,0 @@ | @@ -1,37 +0,0 @@ | ||
1 | -{ | ||
2 | - "name": "font-awesome", | ||
3 | - "description": "Font Awesome", | ||
4 | - "keywords": [], | ||
5 | - "homepage": "http://fontawesome.io", | ||
6 | - "dependencies": {}, | ||
7 | - "devDependencies": {}, | ||
8 | - "license": [ | ||
9 | - "OFL-1.1", | ||
10 | - "MIT", | ||
11 | - "CC-BY-3.0" | ||
12 | - ], | ||
13 | - "main": [ | ||
14 | - "less/font-awesome.less", | ||
15 | - "scss/font-awesome.scss" | ||
16 | - ], | ||
17 | - "ignore": [ | ||
18 | - "*/.*", | ||
19 | - "*.json", | ||
20 | - "src", | ||
21 | - "*.yml", | ||
22 | - "Gemfile", | ||
23 | - "Gemfile.lock", | ||
24 | - "*.md" | ||
25 | - ], | ||
26 | - "version": "4.6.3", | ||
27 | - "_release": "4.6.3", | ||
28 | - "_resolution": { | ||
29 | - "type": "version", | ||
30 | - "tag": "v4.6.3", | ||
31 | - "commit": "0f618911b105195c931ec5d5bef425a2a2806cab" | ||
32 | - }, | ||
33 | - "_source": "https://github.com/FortAwesome/Font-Awesome.git", | ||
34 | - "_target": "^4.6.3", | ||
35 | - "_originalSource": "fontawesome", | ||
36 | - "_direct": true | ||
37 | -} | ||
38 | \ No newline at end of file | 0 | \ No newline at end of file |
web/assets/vendor/font-awesome/.npmignore
@@ -1,42 +0,0 @@ | @@ -1,42 +0,0 @@ | ||
1 | -*.pyc | ||
2 | -*.egg-info | ||
3 | -*.db | ||
4 | -*.db.old | ||
5 | -*.swp | ||
6 | -*.db-journal | ||
7 | - | ||
8 | -.coverage | ||
9 | -.DS_Store | ||
10 | -.installed.cfg | ||
11 | -_gh_pages/* | ||
12 | - | ||
13 | -.idea/* | ||
14 | -.svn/* | ||
15 | -src/website/static/* | ||
16 | -src/website/media/* | ||
17 | - | ||
18 | -bin | ||
19 | -cfcache | ||
20 | -develop-eggs | ||
21 | -dist | ||
22 | -downloads | ||
23 | -eggs | ||
24 | -parts | ||
25 | -tmp | ||
26 | -.sass-cache | ||
27 | -node_modules | ||
28 | - | ||
29 | -src/website/settingslocal.py | ||
30 | -stunnel.log | ||
31 | - | ||
32 | -.ruby-version | ||
33 | - | ||
34 | -# don't need these in the npm package. | ||
35 | -src/ | ||
36 | -_config.yml | ||
37 | -bower.json | ||
38 | -component.json | ||
39 | -composer.json | ||
40 | -CONTRIBUTING.md | ||
41 | -Gemfile | ||
42 | -Gemfile.lock |
web/assets/vendor/jquery/.bower.json
@@ -1,25 +0,0 @@ | @@ -1,25 +0,0 @@ | ||
1 | -{ | ||
2 | - "name": "jquery", | ||
3 | - "main": "dist/jquery.js", | ||
4 | - "license": "MIT", | ||
5 | - "ignore": [ | ||
6 | - "package.json" | ||
7 | - ], | ||
8 | - "keywords": [ | ||
9 | - "jquery", | ||
10 | - "javascript", | ||
11 | - "browser", | ||
12 | - "library" | ||
13 | - ], | ||
14 | - "homepage": "https://github.com/jquery/jquery-dist", | ||
15 | - "version": "2.2.4", | ||
16 | - "_release": "2.2.4", | ||
17 | - "_resolution": { | ||
18 | - "type": "version", | ||
19 | - "tag": "2.2.4", | ||
20 | - "commit": "c0185ab7c75aab88762c5aae780b9d83b80eda72" | ||
21 | - }, | ||
22 | - "_source": "https://github.com/jquery/jquery-dist.git", | ||
23 | - "_target": "1.9.1 - 2", | ||
24 | - "_originalSource": "jquery" | ||
25 | -} | ||
26 | \ No newline at end of file | 0 | \ No newline at end of file |
web/assets/vendor/jquery/src/.jshintrc
@@ -1,29 +0,0 @@ | @@ -1,29 +0,0 @@ | ||
1 | -{ | ||
2 | - "boss": true, | ||
3 | - "curly": true, | ||
4 | - "eqeqeq": true, | ||
5 | - "eqnull": true, | ||
6 | - "expr": true, | ||
7 | - "immed": true, | ||
8 | - "noarg": true, | ||
9 | - "quotmark": "double", | ||
10 | - "undef": true, | ||
11 | - "unused": true, | ||
12 | - | ||
13 | - "sub": true, | ||
14 | - | ||
15 | - // Support: IE < 10, Android < 4.1 | ||
16 | - // The above browsers are failing a lot of tests in the ES5 | ||
17 | - // test suite at http://test262.ecmascript.org. | ||
18 | - "es3": true, | ||
19 | - | ||
20 | - "globals": { | ||
21 | - "window": true, | ||
22 | - "JSON": false, | ||
23 | - | ||
24 | - "jQuery": true, | ||
25 | - "define": true, | ||
26 | - "module": true, | ||
27 | - "noGlobal": true | ||
28 | - } | ||
29 | -} |
web/assets/vendor/lightbox2/.bower.json
@@ -1,44 +0,0 @@ | @@ -1,44 +0,0 @@ | ||
1 | -{ | ||
2 | - "name": "lightbox2", | ||
3 | - "homepage": "http://lokeshdhakar.com/projects/lightbox2/", | ||
4 | - "authors": [ | ||
5 | - "Lokesh Dhakar <lokesh.dhakar@gmail.com>" | ||
6 | - ], | ||
7 | - "description": "The original Lightbox script. Uses jQuery.", | ||
8 | - "main": [ | ||
9 | - "./dist/js/lightbox.js", | ||
10 | - "./dist/css/lightbox.css", | ||
11 | - "./dist/images/close.png", | ||
12 | - "./dist/images/loading.gif", | ||
13 | - "./dist/images/next.png", | ||
14 | - "./dist/images/prev.png" | ||
15 | - ], | ||
16 | - "keywords": [ | ||
17 | - "lightbox", | ||
18 | - "lightbox2", | ||
19 | - "overlay", | ||
20 | - "gallery", | ||
21 | - "slideshow", | ||
22 | - "images" | ||
23 | - ], | ||
24 | - "license": "MIT", | ||
25 | - "ignore": [ | ||
26 | - "**/.*", | ||
27 | - "node_modules", | ||
28 | - "bower_components" | ||
29 | - ], | ||
30 | - "dependencies": { | ||
31 | - "jquery": "~2" | ||
32 | - }, | ||
33 | - "version": "2.8.2", | ||
34 | - "_release": "2.8.2", | ||
35 | - "_resolution": { | ||
36 | - "type": "version", | ||
37 | - "tag": "v2.8.2", | ||
38 | - "commit": "2eedbf5c740e530e7abc78db6cf0ecec408f6512" | ||
39 | - }, | ||
40 | - "_source": "https://github.com/lokesh/lightbox2.git", | ||
41 | - "_target": "^2.8.2", | ||
42 | - "_originalSource": "lightbox", | ||
43 | - "_direct": true | ||
44 | -} | ||
45 | \ No newline at end of file | 0 | \ No newline at end of file |
web/assets/vendor/select2/.editorconfig
web/assets/vendor/select2/.jshintignore
web/assets/vendor/select2/.jshintrc
@@ -1,25 +0,0 @@ | @@ -1,25 +0,0 @@ | ||
1 | -{ | ||
2 | - "bitwise": true, | ||
3 | - "camelcase": true, | ||
4 | - "curly": true, | ||
5 | - "es3": true, | ||
6 | - "eqnull": true, | ||
7 | - "freeze": true, | ||
8 | - "globals": { | ||
9 | - "console": false, | ||
10 | - "define": false, | ||
11 | - "document": false, | ||
12 | - "MockContainer": false, | ||
13 | - "module": false, | ||
14 | - "QUnit": false, | ||
15 | - "require": false, | ||
16 | - "test": false, | ||
17 | - "window": false | ||
18 | - }, | ||
19 | - "indent": 2, | ||
20 | - "maxlen": 80, | ||
21 | - "noarg": true, | ||
22 | - "nonew": true, | ||
23 | - "quotmark": "single", | ||
24 | - "undef": true | ||
25 | -} |
web/assets/vendor/select2/.travis.yml
@@ -1,22 +0,0 @@ | @@ -1,22 +0,0 @@ | ||
1 | -language: node_js | ||
2 | - | ||
3 | -sudo: false | ||
4 | - | ||
5 | -node_js: | ||
6 | - - 0.10 | ||
7 | - | ||
8 | -env: | ||
9 | - global: | ||
10 | - - secure: XMNK8GVxkwKa6oLl7nJwgg/wmY1YDk5rrMd+UXz26EDCsMDbiy1P7GhN2fEiBSLaQ7YfEuvaDcmzQxTrT0YTHp1PDzb2o9J4tIDdEkqPcv1y8xMaYDfmsN0rBPdBwZEg9H5zUgi7OdUbrGswSYxsKCE3x8EOqK89104HyOo1LN4= | ||
11 | - - secure: BU5BPRx6H4O3WJ509YPixjUxg+hDF3z2BVJX6NiGmKWweqvCEYFfiiHLwDEgp/ynRcF9vGVi1V4Ly1jq7f8NIajbDZ5q443XchZFYFg78K/EwD5mK6LYt16zb7+Jn0KbzwHeGRGzc9AvcEYlW6i634cSCm4n3BnqtF5PpogSzdw= | ||
12 | - | ||
13 | -script: | ||
14 | - - grunt ci | ||
15 | - | ||
16 | -notifications: | ||
17 | - email: false | ||
18 | - irc: | ||
19 | - channels: | ||
20 | - - "chat.freenode.net#select2" | ||
21 | - on_success: change | ||
22 | - on_failure: always |
web/assets/vendor/smooth-scroll/.bower.json
@@ -1,15 +0,0 @@ | @@ -1,15 +0,0 @@ | ||
1 | -{ | ||
2 | - "name": "smooth-scroll", | ||
3 | - "homepage": "https://github.com/cferdinandi/smooth-scroll", | ||
4 | - "version": "9.1.4", | ||
5 | - "_release": "9.1.4", | ||
6 | - "_resolution": { | ||
7 | - "type": "version", | ||
8 | - "tag": "v9.1.4", | ||
9 | - "commit": "d22c49f83c83c809f6806d6a5824f6191e801eea" | ||
10 | - }, | ||
11 | - "_source": "https://github.com/cferdinandi/smooth-scroll.git", | ||
12 | - "_target": "^9.1.4", | ||
13 | - "_originalSource": "https://github.com/cferdinandi/smooth-scroll.git", | ||
14 | - "_direct": true | ||
15 | -} | ||
16 | \ No newline at end of file | 0 | \ No newline at end of file |