src/Entity/FO/FoDocument.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\FO;
  3. use App\Repository\FO\FoDocumentRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use DateTime;
  6. /**
  7.  * @ORM\Table("fo__document")
  8.  * @ORM\Entity(repositoryClass=FoDocumentRepository::class)
  9.  */
  10. class FoDocument
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     
  19.     /**
  20.      * @ORM\ManyToOne(targetEntity="App\Entity\FO\Societe", cascade={"persist"})
  21.      */
  22.     private $societe;
  23.     /**
  24.      * @ORM\Column(type="string", length=255, nullable=true)
  25.      */
  26.     private $url;
  27.     /**
  28.      * @ORM\Column(type="datetime", nullable=true)
  29.      */
  30.     private $date;
  31.     /**
  32.      * @ORM\Column(type="string", length=255, nullable=true)
  33.      */
  34.     private $dossier;
  35.     /**
  36.      * @ORM\Column(type="text", nullable=true)
  37.      */
  38.     private $lien;
  39.     /**
  40.      * @ORM\Column(type="boolean", nullable=true)
  41.      */
  42.     private $statut;
  43.     /**
  44.      * @ORM\Column(type="boolean", nullable=true)
  45.      */
  46.     private $mobile;
  47.     /**
  48.      * @ORM\Column(type="integer", nullable=true)
  49.      */
  50.     private $position;
  51.     /**
  52.      * @ORM\Column(type="datetime", nullable=true)
  53.      */
  54.     private $dateDebut;
  55.     /**
  56.      * @ORM\Column(type="datetime", nullable=true)
  57.      */
  58.     private $dateFin;
  59.     /**
  60.      * @ORM\Column(type="text", nullable=true)
  61.      */
  62.     private $articles;
  63.     public function __construct()
  64.     {
  65.         $this->date = new Datetime();
  66.     }
  67.     public function getId(): ?int
  68.     {
  69.         return $this->id;
  70.     }
  71.     public function getUrl(): ?string
  72.     {
  73.         return $this->url;
  74.     }
  75.     public function setUrl(?string $url): self
  76.     {
  77.         $this->url $url;
  78.         return $this;
  79.     }
  80.     public function getDate(): ?\DateTimeInterface
  81.     {
  82.         return $this->date;
  83.     }
  84.     public function setDate(?\DateTimeInterface $date): self
  85.     {
  86.         $this->date $date;
  87.         return $this;
  88.     }
  89.     public function getDossier(): ?string
  90.     {
  91.         return $this->dossier;
  92.     }
  93.     public function setDossier(?string $dossier): self
  94.     {
  95.         $this->dossier $dossier;
  96.         return $this;
  97.     }
  98.     public function getSociete(): ?Societe
  99.     {
  100.         return $this->societe;
  101.     }
  102.     public function setSociete(?Societe $societe): self
  103.     {
  104.         $this->societe $societe;
  105.         return $this;
  106.     }
  107.     public function getLien(): ?string
  108.     {
  109.         return $this->lien;
  110.     }
  111.     public function setLien(?string $lien): self
  112.     {
  113.         $this->lien $lien;
  114.         return $this;
  115.     }
  116.     public function isStatut(): ?bool
  117.     {
  118.         return $this->statut;
  119.     }
  120.     public function setStatut(?bool $statut): self
  121.     {
  122.         $this->statut $statut;
  123.         return $this;
  124.     }
  125.     public function isMobile(): ?bool
  126.     {
  127.         return $this->mobile;
  128.     }
  129.     public function setMobile(?bool $mobile): self
  130.     {
  131.         $this->mobile $mobile;
  132.         return $this;
  133.     }
  134.     public function getPosition(): ?int
  135.     {
  136.         return $this->position;
  137.     }
  138.     public function setPosition(?int $position): self
  139.     {
  140.         $this->position $position;
  141.         return $this;
  142.     }
  143.     public function getDateDebut(): ?\DateTimeInterface
  144.     {
  145.         return $this->dateDebut;
  146.     }
  147.     public function setDateDebut(?\DateTimeInterface $dateDebut): self
  148.     {
  149.         $this->dateDebut $dateDebut;
  150.         return $this;
  151.     }
  152.     public function getDateFin(): ?\DateTimeInterface
  153.     {
  154.         return $this->dateFin;
  155.     }
  156.     public function setDateFin(?\DateTimeInterface $dateFin): self
  157.     {
  158.         $this->dateFin $dateFin;
  159.         return $this;
  160.     }
  161.     public function getArticles(): ?string
  162.     {
  163.         return $this->articles;
  164.     }
  165.     public function setArticles(?string $articles): self
  166.     {
  167.         $this->articles $articles;
  168.         return $this;
  169.     }
  170. }