src/Entity/FielpetPol/InformeVetform.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\Entity\FielpetPol;
  3. use App\Entity\Traits\LoggableTrait;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. use Gedmo\Mapping\Annotation as Gedmo;
  9. /**
  10. * InformeVetform
  11. *
  12. * @ORM\Table(name="informe_vetform")
  13. * @ORM\Entity
  14. * @ORM\Entity(repositoryClass="App\Repository\FielpetPol\InformeVetformRepository")
  15. */
  16. class InformeVetform
  17. {
  18. /**
  19. * LoggableTrait add add_user_ add_date, edit_user, edit_date
  20. */
  21. use LoggableTrait;
  22. /**
  23. * @var integer
  24. *
  25. * @ORM\Column(name="id", type="integer", nullable=false)
  26. * @ORM\Id
  27. * @ORM\GeneratedValue(strategy="IDENTITY")
  28. */
  29. private $id;
  30. /**
  31. * @var Policy
  32. *
  33. * @ORM\ManyToOne(targetEntity="Policy", inversedBy="informes", cascade={"persist"})
  34. * @ORM\JoinColumns({
  35. * @ORM\JoinColumn(name="fk_policy", referencedColumnName="id")
  36. * })
  37. */
  38. private $fkPolicy;
  39. /**
  40. * @var string
  41. *
  42. * @ORM\Column(name="vetform_id", type="string", length=255, nullable=true)
  43. */
  44. private $vetformId;
  45. /**
  46. * @var string
  47. *
  48. * @ORM\Column(name="informe", type="string", length=255, nullable=true)
  49. */
  50. private $informe;
  51. /**
  52. * @return int
  53. */
  54. public function getId(): int
  55. {
  56. return $this->id;
  57. }
  58. /**
  59. * @param int $id
  60. */
  61. public function setId(int $id): void
  62. {
  63. $this->id = $id;
  64. }
  65. /**
  66. * @return Policy
  67. */
  68. public function getFkPolicy(): Policy
  69. {
  70. return $this->fkPolicy;
  71. }
  72. /**
  73. * @param Policy $fkPolicy
  74. */
  75. public function setFkPolicy(Policy $fkPolicy): void
  76. {
  77. $this->fkPolicy = $fkPolicy;
  78. }
  79. /**
  80. * @return string
  81. */
  82. public function getVetformId(): string
  83. {
  84. return $this->vetformId;
  85. }
  86. /**
  87. * @param string $vetformId
  88. */
  89. public function setVetformId(string $vetformId): void
  90. {
  91. $this->vetformId = $vetformId;
  92. }
  93. /**
  94. * @return string
  95. */
  96. public function getInforme(): string
  97. {
  98. return $this->informe;
  99. }
  100. /**
  101. * @param string $informe
  102. */
  103. public function setInforme(string $informe): void
  104. {
  105. $this->informe = $informe;
  106. }
  107. }