src/Entity/Export/Export_champs_exportables.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Export;
  3. use App\Entity\Utilisateur\TypeUtilisateur;
  4. use App\Entity\Utilisateur\Utilisateur;
  5. use DateTime;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * Export_champs_exportables
  9.  *
  10.  * @ORM\Table()
  11.  * @ORM\Entity(repositoryClass="App\Repository\Export\Export_champs_exportablesRepository")
  12.  */
  13. class Export_champs_exportables
  14. {
  15.     /**
  16.      * @ORM\Column(name="id", type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @ORM\Column(name="name", type="string", length=255)
  23.      */
  24.     private $name;
  25.     /**
  26.      * @ORM\Column(name="dateCreation", type="datetime")
  27.      */
  28.     private $dateCreation;
  29.     /**
  30.      * @ORM\Column(name="dateMaj", type="datetime", nullable=true)
  31.      */
  32.     private $dateMaj;
  33.     /**
  34.      * @ORM\Column(name="dateSupp", type="datetime", nullable=true)
  35.      */
  36.     private $dateSupp;
  37.     /**
  38.      * @ORM\Column(name="variable", type="string", length=255, nullable=true)
  39.      */
  40.     private $variable;
  41.     
  42.     /**
  43.      * @ORM\ManyToOne(targetEntity="App\Entity\Utilisateur\TypeUtilisateur", inversedBy="champsExportables")
  44.      * @ORM\JoinColumn(nullable=true)
  45.      */
  46.     private $typeUtilisateur;
  47.     
  48.     /**
  49.      * @ORM\ManyToOne(targetEntity="App\Entity\Utilisateur\Utilisateur", inversedBy="champsExportables")
  50.      * @ORM\JoinColumn(nullable=true)
  51.      */
  52.     private $utilisateur;
  53.     
  54.     /**
  55.      * @ORM\ManyToOne(targetEntity="App\Entity\Export\Export_Entity_exportable", inversedBy="champsExportables")
  56.      * @ORM\JoinColumn(nullable=true)
  57.      */
  58.     private $entityExportable;
  59.     
  60.     /**
  61.      * @ORM\ManyToOne(targetEntity="App\Entity\Export\Export", inversedBy="champsAexporter")
  62.      * @ORM\JoinColumn(nullable=true)
  63.      */
  64.     private $export;
  65.     public function __construct(){
  66.         $this->dateCreation = new DateTime();
  67.     }
  68.     public function getId(): int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function setName(string $name): Export_champs_exportables
  73.     {
  74.         $this->name $name;
  75.         return $this;
  76.     }
  77.     public function getName(): string
  78.     {
  79.         return $this->name;
  80.     }
  81.     public function setDateCreation(DateTime $dateCreation): Export_champs_exportables
  82.     {
  83.         $this->dateCreation $dateCreation;
  84.         return $this;
  85.     }
  86.     public function getDateCreation(): DateTime
  87.     {
  88.         return $this->dateCreation;
  89.     }
  90.     public function setDateMaj(?DateTime $dateMaj): Export_champs_exportables
  91.     {
  92.         $this->dateMaj $dateMaj;
  93.         return $this;
  94.     }
  95.     public function getDateMaj(): ?DateTime
  96.     {
  97.         return $this->dateMaj;
  98.     }
  99.     public function setDateSupp(?DateTime $dateSupp): Export_champs_exportables
  100.     {
  101.         $this->dateSupp $dateSupp;
  102.         return $this;
  103.     }
  104.     public function getDateSupp(): ?DateTime
  105.     {
  106.         return $this->dateSupp;
  107.     }
  108.     public function setMethod(string $method): Export_champs_exportables
  109.     {
  110.         $this->method $method;
  111.         return $this;
  112.     }
  113.     public function getMethod(): string
  114.     {
  115.         return $this->method;
  116.     }
  117.     public function setVariable(?string $variable): Export_champs_exportables
  118.     {
  119.         $this->variable $variable;
  120.         return $this;
  121.     }
  122.     public function getVariable(): ?string
  123.     {
  124.         return $this->variable;
  125.     }
  126.     public function setTypeUtilisateur(?TypeUtilisateur $typeUtilisateur): Export_champs_exportables
  127.     {
  128.         $this->typeUtilisateur $typeUtilisateur;
  129.         return $this;
  130.     }
  131.     public function getTypeUtilisateur(): ?TypeUtilisateur
  132.     {
  133.         return $this->typeUtilisateur;
  134.     }
  135.     public function setUtilisateur(?Utilisateur $utilisateur): Export_champs_exportables
  136.     {
  137.         $this->utilisateur $utilisateur;
  138.         return $this;
  139.     }
  140.     public function getUtilisateur(): ?Utilisateur
  141.     {
  142.         return $this->utilisateur;
  143.     }
  144.     public function setEntityExportable(?Export_Entity_exportable $entityExportable): Export_champs_exportables
  145.     {
  146.         $this->entityExportable $entityExportable;
  147.         return $this;
  148.     }
  149.     public function getEntityExportable(): ?Export_Entity_exportable
  150.     {
  151.         return $this->entityExportable;
  152.     }
  153.     public function setExport(?Export $export): Export_champs_exportables
  154.     {
  155.         $this->export $export;
  156.         return $this;
  157.     }
  158.     public function getExport(): ?Export
  159.     {
  160.         return $this->export;
  161.     }
  162. }