src/Entity/PeriodesPublicationPrestataire.php line 13

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. /**
  3.  * @author Mehrez Labidi
  4.  */
  5.     
  6. namespace App\Entity;
  7. use Doctrine\ORM\Mapping as ORM;
  8. use App\Repository\PeriodesPublicationPrestataireRepository;
  9. /**
  10.  * @ORM\Entity(repositoryClass=PeriodesPublicationPrestataireRepository::class) 
  11.  * @ORM\Table(name="fusacq_dbo.periodes_publication_prestataire")
  12.  */
  13. class  PeriodesPublicationPrestataire  {    
  14.     
  15.     /**    
  16.      * @var int @ORM\Id    
  17.      * @ORM\Column(type="integer",name="id_periode_publication" )    
  18.      * @ORM\GeneratedValue(strategy="AUTO")    
  19.      */    
  20.     protected $id_periode_publication;    
  21.     /**
  22.      *@var string @ORM\Column(type="integer", nullable=true, name="id_service_prestataire"  )
  23.      */
  24.     protected $id_service_prestataire;    
  25.     
  26.     /**    
  27.      *@var string @ORM\Column(type="string",length=45, nullable=true, name="date_debut"  )    
  28.      */    
  29.     protected $date_debut;    
  30.     
  31.     /**    
  32.      *@var string @ORM\Column(type="string",length=45, nullable=true, name="date_fin"  )    
  33.      */    
  34.     protected $date_fin;    
  35.     /**
  36.      *@var string @ORM\Column(type="integer", nullable=true, name="cout_mensuel"  )
  37.      */
  38.     protected $cout_mensuel;    
  39.     
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     
  45.     public function getIdPeriodePublication(): ?int
  46.     {
  47.         return $this->id_periode_publication;
  48.     }
  49.     
  50.     public function setIdPeriodePublication(int $id_periode_publication): self
  51.     {
  52.         $this->id_periode_publication $id_periode_publication;
  53.         
  54.         return $this;
  55.     }
  56.     
  57.     public function getIdServicePrestataire(): ?int
  58.     {
  59.         return $this->id_service_prestataire;
  60.     }
  61.     
  62.     public function setIdServicePrestataire(?int $id_service_prestataire): self
  63.     {
  64.         $this->id_service_prestataire $id_service_prestataire;
  65.         
  66.         return $this;
  67.     }
  68.     
  69.     public function getDateDebut(): ?string
  70.     {
  71.         return $this->date_debut;
  72.     }
  73.     
  74.     public function setDateDebut(?string $date_debut): self
  75.     {
  76.         $this->date_debut $date_debut;
  77.         
  78.         return $this;
  79.     }
  80.     
  81.     public function getDateFin(): ?string
  82.     {
  83.         return $this->date_fin;
  84.     }
  85.     
  86.     public function setDateFin(?string $date_fin): self
  87.     {
  88.         $this->date_fin $date_fin;
  89.         
  90.         return $this;
  91.     }
  92.     
  93.     public function getCoutMensuel(): ?int
  94.     {
  95.         return $this->cout_mensuel;
  96.     }
  97.     
  98.     public function setCoutMensuel(?int $cout_mensuel): self
  99.     {
  100.         $this->cout_mensuel $cout_mensuel;
  101.         
  102.         return $this;
  103.     }
  104.     
  105.     public function _get($property)    
  106.     {    
  107.         return $this->$property;    
  108.     }
  109.     public function _set($property$value)    
  110.     {    
  111.         $this->$property $value;    
  112.     }
  113. }