src/Entity/Visa/VisaProjets.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Visa;
  3. use App\Entity\User\User;
  4. use App\Repository\Visa\VisaProjetsRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassVisaProjetsRepository::class)]
  7. class VisaProjets
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column(type'integer')]
  12.     private $id;
  13.     #[ORM\Column(type'string'length255)]
  14.     private $nomDuProjet;
  15.         #[ORM\Column(type'string'length255nullabletrue)]
  16.     private $code;
  17.     
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private $villeDuProjet;
  20.     #[ORM\ManyToOne(targetEntityUser::class)]
  21.     private $idUser;
  22.     #[ORM\ManyToOne(targetEntityVisaExigences::class, inversedBy'projet')]
  23.     private $visaExigences;
  24.     #[ORM\Column(type'date'nullabletrue)]
  25.     private $dateCreation;
  26.     #[ORM\Column(type'string'length255nullabletrue)]
  27.     private $statutPaiement;
  28.     #[ORM\Column(type'date'nullabletrue)]
  29.     private $dateFinPaiement;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     
  35.     public function getCode(): ?string
  36.     {
  37.         return $this->code;
  38.     }
  39.     
  40.         public function setCode(string $code): self
  41.     {
  42.             $this->code $code;
  43.             
  44.         return $this;
  45.     }
  46.     public function getNomDuProjet(): ?string
  47.     {
  48.         return $this->nomDuProjet;
  49.     }
  50.     public function setNomDuProjet(string $nomDuProjet): self
  51.     {
  52.         $this->nomDuProjet $nomDuProjet;
  53.         return $this;
  54.     }
  55.     public function getVilleDuProjet(): ?string
  56.     {
  57.         return $this->villeDuProjet;
  58.     }
  59.     public function setVilleDuProjet(?string $villeDuProjet): self
  60.     {
  61.         $this->villeDuProjet $villeDuProjet;
  62.         return $this;
  63.     }
  64.     public function getIdUser(): ?User
  65.     {
  66.         return $this->idUser;
  67.     }
  68.     public function setIdUser(?User $idUser): self
  69.     {
  70.         $this->idUser $idUser;
  71.         return $this;
  72.     }
  73.     public function getVisaExigences(): ?VisaExigences
  74.     {
  75.         return $this->visaExigences;
  76.     }
  77.     public function setVisaExigences(?VisaExigences $visaExigences): self
  78.     {
  79.         $this->visaExigences $visaExigences;
  80.         return $this;
  81.     }
  82.     public function getDateCreation(): ?\DateTimeInterface
  83.     {
  84.         return $this->dateCreation;
  85.     }
  86.     public function setDateCreation(?\DateTimeInterface $dateCreation): self
  87.     {
  88.         $this->dateCreation $dateCreation;
  89.         return $this;
  90.     }
  91.     public function getStatutPaiement(): ?string
  92.     {
  93.         return $this->statutPaiement;
  94.     }
  95.     public function setStatutPaiement(?string $statutPaiement): self
  96.     {
  97.         $this->statutPaiement $statutPaiement;
  98.         return $this;
  99.     }
  100.     public function getDateFinPaiement(): ?\DateTimeInterface
  101.     {
  102.         return $this->dateFinPaiement;
  103.     }
  104.     public function setDateFinPaiement(?\DateTimeInterface $dateFinPaiement): self
  105.     {
  106.         $this->dateFinPaiement $dateFinPaiement;
  107.         return $this;
  108.     }
  109. }