<?php
namespace App\Entity\FO;
use App\Repository\FO\FoDocumentRepository;
use Doctrine\ORM\Mapping as ORM;
use DateTime;
/**
* @ORM\Table("fo__document")
* @ORM\Entity(repositoryClass=FoDocumentRepository::class)
*/
class FoDocument
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\FO\Societe", cascade={"persist"})
*/
private $societe;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $url;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $date;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $dossier;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $lien;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $statut;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $mobile;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $position;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $dateDebut;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $dateFin;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $articles;
public function __construct()
{
$this->date = new Datetime();
}
public function getId(): ?int
{
return $this->id;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getDossier(): ?string
{
return $this->dossier;
}
public function setDossier(?string $dossier): self
{
$this->dossier = $dossier;
return $this;
}
public function getSociete(): ?Societe
{
return $this->societe;
}
public function setSociete(?Societe $societe): self
{
$this->societe = $societe;
return $this;
}
public function getLien(): ?string
{
return $this->lien;
}
public function setLien(?string $lien): self
{
$this->lien = $lien;
return $this;
}
public function isStatut(): ?bool
{
return $this->statut;
}
public function setStatut(?bool $statut): self
{
$this->statut = $statut;
return $this;
}
public function isMobile(): ?bool
{
return $this->mobile;
}
public function setMobile(?bool $mobile): self
{
$this->mobile = $mobile;
return $this;
}
public function getPosition(): ?int
{
return $this->position;
}
public function setPosition(?int $position): self
{
$this->position = $position;
return $this;
}
public function getDateDebut(): ?\DateTimeInterface
{
return $this->dateDebut;
}
public function setDateDebut(?\DateTimeInterface $dateDebut): self
{
$this->dateDebut = $dateDebut;
return $this;
}
public function getDateFin(): ?\DateTimeInterface
{
return $this->dateFin;
}
public function setDateFin(?\DateTimeInterface $dateFin): self
{
$this->dateFin = $dateFin;
return $this;
}
public function getArticles(): ?string
{
return $this->articles;
}
public function setArticles(?string $articles): self
{
$this->articles = $articles;
return $this;
}
}