TrayectoTramoModalidad.php~
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* TrayectoTramoModalidad
*
* @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"})})
* @ORM\Entity
*/
class TrayectoTramoModalidad
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del trayecto_tramo_modalidad"})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
* @ORM\SequenceGenerator(sequenceName="trayecto_tramo_modalidad_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var \AppBundle\Entity\Trayecto
*
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Trayecto")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="id_trayecto", referencedColumnName="id", nullable=false)
* })
*/
private $idTrayecto;
/**
* @var \AppBundle\Entity\Tramo
*
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Tramo")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="id_tramo", referencedColumnName="id", nullable=false)
* })
*/
private $idTramo;
/**
* @var \AppBundle\Entity\Modalidad
*
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Modalidad")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="id_modalidad", referencedColumnName="id", nullable=false)
* })
*/
private $idModalidad;
}