<?php
namespace App\Entity;
use App\Repository\UvemargementfieldRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=UvemargementfieldRepository::class)
*/
class Uvemargementfield
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=250)
*/
private $uv;
/**
* @ORM\Column(type="string", length=3, nullable=true)
*/
private $nbrheure;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $ligne;
/**
* @ORM\ManyToOne(targetEntity=Uvemargement::class, inversedBy="uvemargementfield",cascade={"persist"})
* @ORM\JoinColumn(nullable=false)
*/
private $uvemargement;
public function getId(): ?int
{
return $this->id;
}
public function getUv(): ?string
{
return $this->uv;
}
public function setUv(string $uv): self
{
$this->uv = $uv;
return $this;
}
public function getNbrheure(): ?string
{
return $this->nbrheure;
}
public function setNbrheure(?string $nbrheure): self
{
$this->nbrheure = $nbrheure;
return $this;
}
public function getUvemargement(): ?Uvemargement
{
return $this->uvemargement;
}
public function setUvemargement(?Uvemargement $uvemargement): self
{
$this->uvemargement = $uvemargement;
return $this;
}
public function getLigne(): ?int
{
return $this->ligne;
}
public function setLigne(?int $nbrheure): self
{
$this->ligne = $nbrheure;
return $this;
}
}