src/Entity/DocDemandeClient.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DocDemandeClientRepository;
  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. #[ORM\Entity(repositoryClassDocDemandeClientRepository::class)]
  9. class DocDemandeClient
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $title null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $description null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?bool $interne null;
  21.     #[ORM\Column(nullabletrue)]
  22.     private ?bool $externe null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  24.     private ?\DateTimeInterface $createdAt null;
  25.     #[ORM\Column(nullabletrue)]
  26.     private ?int $createdBy null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $fileName null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $originalFileName null;
  31.     #[ORM\Column(nullabletrue)]
  32.     private ?bool $deleted null;
  33.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  34.     private ?\DateTimeInterface $deletedAt null;
  35.     #[ORM\Column(nullabletrue)]
  36.     private ?int $deletedBy null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $type null;
  39.     #[ORM\Column(nullabletrue)]
  40.     private ?int $etat null;
  41.     #[ORM\ManyToOne(inversedBy'docDemandeClient')]
  42.     private ?DemandeService $demandeService null;
  43.     public function __construct()
  44.     {
  45.         $this->docDemandeClient = new ArrayCollection();
  46.     }
  47.     public function getId(): ?int
  48.     {
  49.         return $this->id;
  50.     }
  51.     public function getTitle(): ?string
  52.     {
  53.         return $this->title;
  54.     }
  55.     public function setTitle(?string $title): self
  56.     {
  57.         $this->title $title;
  58.         return $this;
  59.     }
  60.     public function getDescription(): ?string
  61.     {
  62.         return $this->description;
  63.     }
  64.     public function setDescription(?string $description): self
  65.     {
  66.         $this->description $description;
  67.         return $this;
  68.     }
  69.     public function isInterne(): ?bool
  70.     {
  71.         return $this->interne;
  72.     }
  73.     public function setInterne(?bool $interne): self
  74.     {
  75.         $this->interne $interne;
  76.         return $this;
  77.     }
  78.     public function isExterne(): ?bool
  79.     {
  80.         return $this->externe;
  81.     }
  82.     public function setExterne(?bool $externe): self
  83.     {
  84.         $this->externe $externe;
  85.         return $this;
  86.     }
  87.     public function getCreatedAt(): ?\DateTimeInterface
  88.     {
  89.         return $this->createdAt;
  90.     }
  91.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  92.     {
  93.         $this->createdAt $createdAt;
  94.         return $this;
  95.     }
  96.     public function getCreatedBy(): ?int
  97.     {
  98.         return $this->createdBy;
  99.     }
  100.     public function setCreatedBy(?int $createdBy): self
  101.     {
  102.         $this->createdBy $createdBy;
  103.         return $this;
  104.     }
  105.     public function getFileName(): ?string
  106.     {
  107.         return $this->fileName;
  108.     }
  109.     public function setFileName(?string $fileName): self
  110.     {
  111.         $this->fileName $fileName;
  112.         return $this;
  113.     }
  114.     public function getOriginalFileName(): ?string
  115.     {
  116.         return $this->originalFileName;
  117.     }
  118.     public function setOriginalFileName(?string $originalFileName): self
  119.     {
  120.         $this->originalFileName $originalFileName;
  121.         return $this;
  122.     }
  123.     public function isDeleted(): ?bool
  124.     {
  125.         return $this->deleted;
  126.     }
  127.     public function setDeleted(?bool $deleted): self
  128.     {
  129.         $this->deleted $deleted;
  130.         return $this;
  131.     }
  132.     public function getDeletedAt(): ?\DateTimeInterface
  133.     {
  134.         return $this->deletedAt;
  135.     }
  136.     public function setDeletedAt(?\DateTimeInterface $deletedAt): self
  137.     {
  138.         $this->deletedAt $deletedAt;
  139.         return $this;
  140.     }
  141.     public function getDeletedBy(): ?int
  142.     {
  143.         return $this->deletedBy;
  144.     }
  145.     public function setDeletedBy(?int $deletedBy): self
  146.     {
  147.         $this->deletedBy $deletedBy;
  148.         return $this;
  149.     }
  150.     public function getType(): ?string
  151.     {
  152.         return $this->type;
  153.     }
  154.     public function setType(?string $type): self
  155.     {
  156.         $this->type $type;
  157.         return $this;
  158.     }
  159.     public function getEtat(): ?int
  160.     {
  161.         return $this->etat;
  162.     }
  163.     public function setEtat(?int $etat): self
  164.     {
  165.         $this->etat $etat;
  166.         return $this;
  167.     }
  168.     public function getDemandeService(): ?DemandeService
  169.     {
  170.         return $this->demandeService;
  171.     }
  172.     public function setDemandeService(?DemandeService $demandeService): self
  173.     {
  174.         $this->demandeService $demandeService;
  175.         return $this;
  176.     }
  177. }