src/Entity/Rapport.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RapportRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassRapportRepository::class)]
  6. class Rapport
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'integer')]
  13.     private $inscription;
  14.     #[ORM\Column(type'integer')]
  15.     private $stage;
  16.     #[ORM\Column(type'float'nullabletrue)]
  17.     private $note;
  18.     #[ORM\Column(type'text'nullabletrue)]
  19.     private $observation;
  20.     #[ORM\Column(type'datetime')]
  21.     private $dateCreated;
  22.     #[ORM\Column(type'datetime')]
  23.     private $dateUpdated;
  24.     #[ORM\Column(type'string'length255)]
  25.     private $type;
  26.     #[ORM\Column(type'string'length255)]
  27.     private $url;
  28.     #[ORM\ManyToOne(targetEntityUser::class, inversedBy'rapports')]
  29.     private $prof;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getInscription(): ?int
  35.     {
  36.         return $this->inscription;
  37.     }
  38.     public function setInscription(int $inscription): self
  39.     {
  40.         $this->inscription $inscription;
  41.         return $this;
  42.     }
  43.     public function getStage(): ?int
  44.     {
  45.         return $this->stage;
  46.     }
  47.     public function setStage(int $stage): self
  48.     {
  49.         $this->stage $stage;
  50.         return $this;
  51.     }
  52.     public function getNote(): ?float
  53.     {
  54.         return $this->note;
  55.     }
  56.     public function setNote(?float $note): self
  57.     {
  58.         $this->note $note;
  59.         return $this;
  60.     }
  61.     public function getObservation(): ?string
  62.     {
  63.         return $this->observation;
  64.     }
  65.     public function setObservation(?string $observation): self
  66.     {
  67.         $this->observation $observation;
  68.         return $this;
  69.     }
  70.     public function getDateCreated(): ?\DateTimeInterface
  71.     {
  72.         return $this->dateCreated;
  73.     }
  74.     public function setDateCreated(\DateTimeInterface $dateCreated): self
  75.     {
  76.         $this->dateCreated $dateCreated;
  77.         return $this;
  78.     }
  79.     public function getDateUpdated(): ?\DateTimeInterface
  80.     {
  81.         return $this->dateUpdated;
  82.     }
  83.     public function setDateUpdated(\DateTimeInterface $dateUpdated): self
  84.     {
  85.         $this->dateUpdated $dateUpdated;
  86.         return $this;
  87.     }
  88.     public function getType(): ?string
  89.     {
  90.         return $this->type;
  91.     }
  92.     public function setType(string $type): self
  93.     {
  94.         $this->type $type;
  95.         return $this;
  96.     }
  97.     public function getUrl(): ?string
  98.     {
  99.         return $this->url;
  100.     }
  101.     public function setUrl(string $url): self
  102.     {
  103.         $this->url $url;
  104.         return $this;
  105.     }
  106.     public function getProf(): ?User
  107.     {
  108.         return $this->prof;
  109.     }
  110.     public function setProf(?User $prof): self
  111.     {
  112.         $this->prof $prof;
  113.         return $this;
  114.     }
  115. }