src/Entity/SuiviConsoAlertHistory.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repositor\App\SuiviConsoAlertHistoryRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SuiviConsoAlertHistoryRepository::class)
  7.  */
  8. class SuiviConsoAlertHistory
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=50)
  18.      */
  19.     private $customerNumber;
  20.     /**
  21.      * @ORM\Column(type="string", length=50)
  22.      */
  23.     private $postNumber;
  24.     /**
  25.      * @ORM\Column(type="float")
  26.      */
  27.     private $threshold;
  28.     /**
  29.      * @ORM\Column(type="string", length=5)
  30.      */
  31.     private $periodicity;
  32.     /**
  33.      * @ORM\Column(type="datetime")
  34.      */
  35.     private $concernedPeriod;
  36.     /**
  37.      * @ORM\Column(type="datetime")
  38.      */
  39.     private $sentAt;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getCustomerNumber(): ?string
  45.     {
  46.         return $this->customerNumber;
  47.     }
  48.     public function setCustomerNumber(string $customerNumber): self
  49.     {
  50.         $this->customerNumber $customerNumber;
  51.         return $this;
  52.     }
  53.     public function getPostNumber(): ?string
  54.     {
  55.         return $this->postNumber;
  56.     }
  57.     public function setPostNumber(string $postNumber): self
  58.     {
  59.         $this->postNumber $postNumber;
  60.         return $this;
  61.     }
  62.     public function getThreshold(): ?float
  63.     {
  64.         return $this->threshold;
  65.     }
  66.     public function setThreshold(float $threshold): self
  67.     {
  68.         $this->threshold $threshold;
  69.         return $this;
  70.     }
  71.     public function getPeriodicity(): ?string
  72.     {
  73.         return $this->periodicity;
  74.     }
  75.     public function setPeriodicity(string $periodicity): self
  76.     {
  77.         $this->periodicity $periodicity;
  78.         return $this;
  79.     }
  80.     public function getConcernedPeriod(): ?\DateTimeInterface
  81.     {
  82.         return $this->concernedPeriod;
  83.     }
  84.     public function setConcernedPeriod(\DateTimeInterface $concernedPeriod): self
  85.     {
  86.         $this->concernedPeriod $concernedPeriod;
  87.         return $this;
  88.     }
  89.     public function getSentAt(): ?\DateTimeInterface
  90.     {
  91.         return $this->sentAt;
  92.     }
  93.     public function setSentAt(\DateTimeInterface $sentAt): self
  94.     {
  95.         $this->sentAt $sentAt;
  96.         return $this;
  97.     }
  98. }