src/Domain/Entity/ExpedienteCabecera.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity;
  3. use App\Domain\Interfaces\MetadataInterface;
  4. use App\Shared\Domain\ApplicationCore\Interfaces\EntityInterface;
  5. use DateTimeInterface;
  6. use Doctrine\DBAL\Types\Types;
  7. use Symfony\Component\Uid\Uuid;
  8. class ExpedienteCabecera implements EntityInterfaceMetadataInterface
  9. {
  10.     private ?Uuid $id null;
  11.     private ?string $key null;
  12.     private ?string $nombre null;
  13.     private ?string $descripcion null;
  14.     private ?string $schema null;
  15.     private ?string $form null;
  16.     private ?string $css null;
  17.     private ?string $js null;
  18.     private ?string $translations null;
  19.     private ?string $translationDomain null;
  20.     private ?DateTimeInterface $createdAt null;
  21.     private ?DateTimeInterface $updatedAt null;
  22.     private ?DateTimeInterface $deletedAt null;
  23.     private ?Expediente $expediente null;
  24.     private ?MetadataExpedienteCabecera $metadata null;
  25.     public function getKey(): ?string
  26.     {
  27.         return $this->key;
  28.     }
  29.     public function setKey(?string $key): static
  30.     {
  31.         $this->key $key;
  32.         return $this;
  33.     }
  34.     public function getNombre(): ?string
  35.     {
  36.         return $this->nombre;
  37.     }
  38.     public function setNombre(?string $nombre): static
  39.     {
  40.         $this->nombre $nombre;
  41.         return $this;
  42.     }
  43.     public function getDescripcion(): ?string
  44.     {
  45.         return $this->descripcion;
  46.     }
  47.     public function setDescripcion(?string $descripcion): static
  48.     {
  49.         $this->descripcion $descripcion;
  50.         return $this;
  51.     }
  52.     public function getSchema(): ?string
  53.     {
  54.         return $this->schema;
  55.     }
  56.     public function setSchema(?string $schema): static
  57.     {
  58.         $this->schema $schema;
  59.         return $this;
  60.     }
  61.     public function getForm(): ?string
  62.     {
  63.         return $this->form;
  64.     }
  65.     public function setForm(?string $form): static
  66.     {
  67.         $this->form $form;
  68.         return $this;
  69.     }
  70.     public function getCss(): ?string
  71.     {
  72.         return $this->css;
  73.     }
  74.     public function setCss(?string $css): static
  75.     {
  76.         $this->css $css;
  77.         return $this;
  78.     }
  79.     public function getJs(): ?string
  80.     {
  81.         return $this->js;
  82.     }
  83.     public function setJs(?string $js): static
  84.     {
  85.         $this->js $js;
  86.         return $this;
  87.     }
  88.     public function getTranslations(): ?string
  89.     {
  90.         return $this->translations;
  91.     }
  92.     public function setTranslations(?string $translations): static
  93.     {
  94.         $this->translations $translations;
  95.         return $this;
  96.     }
  97.     public function getTranslationDomain(): ?string
  98.     {
  99.         return $this->translationDomain;
  100.     }
  101.     public function setTranslationDomain(?string $translationDomain): static
  102.     {
  103.         $this->translationDomain $translationDomain;
  104.         return $this;
  105.     }
  106.     public function getCreatedAt(): ?\DateTimeInterface
  107.     {
  108.         return $this->createdAt;
  109.     }
  110.     public function setCreatedAt(\DateTimeInterface $createdAt): static
  111.     {
  112.         $this->createdAt $createdAt;
  113.         return $this;
  114.     }
  115.     public function getUpdatedAt(): ?\DateTimeInterface
  116.     {
  117.         return $this->updatedAt;
  118.     }
  119.     public function setUpdatedAt(\DateTimeInterface $updatedAt): static
  120.     {
  121.         $this->updatedAt $updatedAt;
  122.         return $this;
  123.     }
  124.     public function getDeletedAt(): ?\DateTimeInterface
  125.     {
  126.         return $this->deletedAt;
  127.     }
  128.     public function setDeletedAt(?\DateTimeInterface $deletedAt): static
  129.     {
  130.         $this->deletedAt $deletedAt;
  131.         return $this;
  132.     }
  133.     public function getId(): ?Uuid
  134.     {
  135.         return $this->id;
  136.     }
  137.     public function getExpediente(): ?Expediente
  138.     {
  139.         return $this->expediente;
  140.     }
  141.     public function setExpediente(?Expediente $expediente): static
  142.     {
  143.         // unset the owning side of the relation if necessary
  144.         if ($expediente === null && $this->expediente !== null) {
  145.             $this->expediente->setExpedienteCabecera(null);
  146.         }
  147.         // set the owning side of the relation if necessary
  148.         if ($expediente !== null && $expediente->getExpedienteCabecera() !== $this) {
  149.             $expediente->setExpedienteCabecera($this);
  150.         }
  151.         $this->expediente $expediente;
  152.         return $this;
  153.     }
  154.     public function getMetadata(): ?MetadataExpedienteCabecera
  155.     {
  156.         return $this->metadata;
  157.     }
  158.     public function setMetadata(?MetadataInterface $metadata): static
  159.     {
  160.         $this->metadata $metadata;
  161.         return $this;
  162.     }
  163. }