<?php declare(strict_types=1);
/**
* @author Mehrez Labidi
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\PeriodesPublicationPrestataireRepository;
/**
* @ORM\Entity(repositoryClass=PeriodesPublicationPrestataireRepository::class)
* @ORM\Table(name="fusacq_dbo.periodes_publication_prestataire")
*/
class PeriodesPublicationPrestataire {
/**
* @var int @ORM\Id
* @ORM\Column(type="integer",name="id_periode_publication" )
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id_periode_publication;
/**
*@var string @ORM\Column(type="integer", nullable=true, name="id_service_prestataire" )
*/
protected $id_service_prestataire;
/**
*@var string @ORM\Column(type="string",length=45, nullable=true, name="date_debut" )
*/
protected $date_debut;
/**
*@var string @ORM\Column(type="string",length=45, nullable=true, name="date_fin" )
*/
protected $date_fin;
/**
*@var string @ORM\Column(type="integer", nullable=true, name="cout_mensuel" )
*/
protected $cout_mensuel;
public function getId(): ?int
{
return $this->id;
}
public function getIdPeriodePublication(): ?int
{
return $this->id_periode_publication;
}
public function setIdPeriodePublication(int $id_periode_publication): self
{
$this->id_periode_publication = $id_periode_publication;
return $this;
}
public function getIdServicePrestataire(): ?int
{
return $this->id_service_prestataire;
}
public function setIdServicePrestataire(?int $id_service_prestataire): self
{
$this->id_service_prestataire = $id_service_prestataire;
return $this;
}
public function getDateDebut(): ?string
{
return $this->date_debut;
}
public function setDateDebut(?string $date_debut): self
{
$this->date_debut = $date_debut;
return $this;
}
public function getDateFin(): ?string
{
return $this->date_fin;
}
public function setDateFin(?string $date_fin): self
{
$this->date_fin = $date_fin;
return $this;
}
public function getCoutMensuel(): ?int
{
return $this->cout_mensuel;
}
public function setCoutMensuel(?int $cout_mensuel): self
{
$this->cout_mensuel = $cout_mensuel;
return $this;
}
public function _get($property)
{
return $this->$property;
}
public function _set($property, $value)
{
$this->$property = $value;
}
}