src/Entity/JurNormaEnvio.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\JurNormaEnvioRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassJurNormaEnvioRepository::class)]
  7. class JurNormaEnvio
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::TEXT)]
  14.     private ?string $destinatario null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  16.     private ?\DateTimeInterface $fecha null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $estado null;
  19.     #[ORM\Column(length20)]
  20.     private ?string $createUser null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  22.     private ?\DateTimeInterface $createAt null;
  23.     #[ORM\Column(length20)]
  24.     private ?string $updateUser null;
  25.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  26.     private ?\DateTimeInterface $updateAt null;
  27.     #[ORM\ManyToOne(inversedBy'normaEnvio')]
  28.     private ?JurNorma $norma null;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getDestinatario(): ?string
  34.     {
  35.         return $this->destinatario;
  36.     }
  37.     public function setDestinatario(string $destinatario): static
  38.     {
  39.         $this->destinatario $destinatario;
  40.         return $this;
  41.     }
  42.     public function getFecha(): ?\DateTimeInterface
  43.     {
  44.         return $this->fecha;
  45.     }
  46.     public function setFecha(\DateTimeInterface $fecha): static
  47.     {
  48.         $this->fecha $fecha;
  49.         return $this;
  50.     }
  51.     public function getEstado(): ?string
  52.     {
  53.         return $this->estado;
  54.     }
  55.     public function setEstado(string $estado): static
  56.     {
  57.         $this->estado $estado;
  58.         return $this;
  59.     }
  60.     public function getCreateUser(): ?string
  61.     {
  62.         return $this->createUser;
  63.     }
  64.     public function setCreateUser(string $createUser): static
  65.     {
  66.         $this->createUser $createUser;
  67.         return $this;
  68.     }
  69.     public function getCreateAt(): ?\DateTimeInterface
  70.     {
  71.         return $this->createAt;
  72.     }
  73.     public function setCreateAt(\DateTimeInterface $createAt): static
  74.     {
  75.         $this->createAt $createAt;
  76.         return $this;
  77.     }
  78.     public function getUpdateUser(): ?string
  79.     {
  80.         return $this->updateUser;
  81.     }
  82.     public function setUpdateUser(string $updateUser): static
  83.     {
  84.         $this->updateUser $updateUser;
  85.         return $this;
  86.     }
  87.     public function getUpdateAt(): ?\DateTimeInterface
  88.     {
  89.         return $this->updateAt;
  90.     }
  91.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  92.     {
  93.         $this->updateAt $updateAt;
  94.         return $this;
  95.     }
  96.     public function getNorma(): ?JurNorma
  97.     {
  98.         return $this->norma;
  99.     }
  100.     public function setNorma(?JurNorma $norma): static
  101.     {
  102.         $this->norma $norma;
  103.         return $this;
  104.     }
  105. }