<?php
namespace App\Entity;
use App\Repository\InseminateurRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: InseminateurRepository::class)]
class Inseminateur
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column()]
private ?int $id = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $codIns = null;
#[ORM\ManyToOne(inversedBy: 'inseminateurs')]
private ?User $user = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $nprInsAr = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $nprInsFr = null;
#[ORM\Column(length: 1, nullable: true)]
private ?string $typeIns = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $identIns = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $adresse = null;
#[ORM\Column(length: 30, nullable: true)]
private ?string $numTel = null;
#[ORM\Column(nullable: true)]
private ?int $numFax = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $createdAt = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $updatedAt = null;
#[ORM\ManyToOne(inversedBy: 'inseminateurs')]
private ?DicCircuit $dicCircuit = null;
#[ORM\ManyToOne(inversedBy: 'inseminateurs')]
private ?DicGouvernorat $dicGouvernorat = null;
public function getId(): ?int
{
return $this->id;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
public function getNprInsAr(): ?string
{
return $this->nprInsAr;
}
public function setNprInsAr(?string $nprInsAr): self
{
$this->nprInsAr = $nprInsAr;
return $this;
}
public function getNprInsFr(): ?string
{
return $this->nprInsFr;
}
public function setNprInsFr(?string $nprInsFr): self
{
$this->nprInsFr = $nprInsFr;
return $this;
}
public function getTypeIns(): ?string
{
return $this->typeIns;
}
public function setTypeIns(?string $typeIns): self
{
$this->typeIns = $typeIns;
return $this;
}
public function getIdentIns(): ?string
{
return $this->identIns;
}
public function setIdentIns(?string $identIns): self
{
$this->identIns = $identIns;
return $this;
}
public function getAdresse(): ?string
{
return $this->adresse;
}
public function setAdresse(?string $adresse): self
{
$this->adresse = $adresse;
return $this;
}
public function getNumTel(): ?string
{
return $this->numTel;
}
public function setNumTel(?string $numTel): self
{
$this->numTel = $numTel;
return $this;
}
public function getNumFax(): ?int
{
return $this->numFax;
}
public function setNumFax(?int $numFax): self
{
$this->numFax = $numFax;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeInterface $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getDicCircuit(): ?DicCircuit
{
return $this->dicCircuit;
}
public function setDicCircuit(?DicCircuit $dicCircuit): self
{
$this->dicCircuit = $dicCircuit;
return $this;
}
public function getDicGouvernorat(): ?DicGouvernorat
{
return $this->dicGouvernorat;
}
public function setDicGouvernorat(?DicGouvernorat $dicGouvernorat): self
{
$this->dicGouvernorat = $dicGouvernorat;
return $this;
}
public function getCodIns(): ?string
{
return $this->codIns;
}
public function setCodIns(?string $codIns): self
{
$this->codIns = $codIns;
return $this;
}
}