src/Entity/Fielpet/View/MedicamentoscustomView.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Fielpet\View;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * Medicamentoscustom
  7. *
  8. * @ORM\Entity
  9. */
  10. class Medicamentoscustom
  11. {
  12. /**
  13. * @var int
  14. *
  15. * @ORM\Column(name="id", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="SEQUENCE")
  18. * @ORM\SequenceGenerator(sequenceName="MedicamentosCustom_id_seq", allocationSize=1, initialValue=1)
  19. */
  20. private $id;
  21. /**
  22. * @var string
  23. *
  24. * @ORM\Column(name="nombre_comercial", type="string", length=255, nullable=false)
  25. */
  26. private $nombreComercial;
  27. /**
  28. * @var \DateTime
  29. *
  30. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  31. */
  32. private $createdat;
  33. /**
  34. * @var \DateTime
  35. *
  36. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  37. */
  38. private $updatedat;
  39. public function getId(): ?int
  40. {
  41. return $this->id;
  42. }
  43. public function getNombreComercial(): ?string
  44. {
  45. return $this->nombreComercial;
  46. }
  47. public function setNombreComercial(string $nombreComercial): self
  48. {
  49. $this->nombreComercial = $nombreComercial;
  50. return $this;
  51. }
  52. public function getCreatedat(): ?\DateTimeInterface
  53. {
  54. return $this->createdat;
  55. }
  56. public function setCreatedat(\DateTimeInterface $createdat): self
  57. {
  58. $this->createdat = $createdat;
  59. return $this;
  60. }
  61. public function getUpdatedat(): ?\DateTimeInterface
  62. {
  63. return $this->updatedat;
  64. }
  65. public function setUpdatedat(\DateTimeInterface $updatedat): self
  66. {
  67. $this->updatedat = $updatedat;
  68. return $this;
  69. }
  70. }