src/Entity/Uvemargementfield.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UvemargementfieldRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=UvemargementfieldRepository::class)
  7.  */
  8. class Uvemargementfield
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=250)
  18.      */
  19.     private $uv;
  20.     /**
  21.      * @ORM\Column(type="string", length=3, nullable=true)
  22.      */
  23.     private $nbrheure;
  24.     /**
  25.      * @ORM\Column(type="integer", nullable=true)
  26.      */
  27.     private $ligne;
  28.     
  29.     /**
  30.      * @ORM\ManyToOne(targetEntity=Uvemargement::class, inversedBy="uvemargementfield",cascade={"persist"})
  31.      * @ORM\JoinColumn(nullable=false)
  32.      */
  33.     private $uvemargement;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getUv(): ?string
  39.     {
  40.         return $this->uv;
  41.     }
  42.     public function setUv(string $uv): self
  43.     {
  44.         $this->uv $uv;
  45.         return $this;
  46.     }
  47.     public function getNbrheure(): ?string
  48.     {
  49.         return $this->nbrheure;
  50.     }
  51.     public function setNbrheure(?string $nbrheure): self
  52.     {
  53.         $this->nbrheure $nbrheure;
  54.         return $this;
  55.     }
  56.     public function getUvemargement(): ?Uvemargement
  57.     {
  58.         return $this->uvemargement;
  59.     }
  60.     public function setUvemargement(?Uvemargement $uvemargement): self
  61.     {
  62.         $this->uvemargement $uvemargement;
  63.         return $this;
  64.     }
  65.     public function getLigne(): ?int
  66.     {
  67.         return $this->ligne;
  68.     }
  69.     public function setLigne(?int $nbrheure): self
  70.     {
  71.         $this->ligne $nbrheure;
  72.         return $this;
  73.     }
  74. }