src/Entity/ConsumptionExport.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\App\ConsumptionExportRepository")
  6.  */
  7. class ConsumptionExport
  8. {
  9.     /**
  10.      * @ORM\Id
  11.      * @ORM\GeneratedValue
  12.      * @ORM\Column(type="integer")
  13.      *
  14.      * @var int
  15.      */
  16.     protected $id;
  17.     /**
  18.      * @ORM\Column(type="decimal", precision=18, scale=0, nullable=false)
  19.      *
  20.      * @var int
  21.      */
  22.     protected $customerNumber;
  23.     /**
  24.      * @ORM\Column(type="string", unique=true)
  25.      *
  26.      * @var string
  27.      */
  28.     protected $identifier;
  29.     /**
  30.      * @ORM\Column(type="string")
  31.      *
  32.      * @var string
  33.      */
  34.     protected $fileName;
  35.     /**
  36.      * @ORM\Column(type="datetime")
  37.      *
  38.      * @var \DateTime
  39.      */
  40.     protected $createdAt;
  41.     /**
  42.      * @ORM\Column(type="datetime")
  43.      *
  44.      * @var \DateTime
  45.      */
  46.     protected $startDate;
  47.     /**
  48.      * @ORM\Column(type="datetime")
  49.      *
  50.      * @var \DateTime
  51.      */
  52.     protected $endDate;
  53.     /**
  54.      * @ORM\Column(type="boolean")
  55.      *
  56.      * @var bool
  57.      */
  58.     protected $exportMonthly;
  59.     /**
  60.      * @ORM\Column(type="boolean")
  61.      *
  62.      * @var bool
  63.      */
  64.     protected $exportWeekly;
  65.     /**
  66.      * @ORM\Column(type="boolean")
  67.      *
  68.      * @var bool
  69.      */
  70.     protected $exportDaily;
  71.     /**
  72.      * @ORM\Column(type="boolean")
  73.      *
  74.      * @var bool
  75.      */
  76.     protected $exportHourly;
  77.     /**
  78.      * @ORM\Column(type="string")
  79.      *
  80.      * @var string
  81.      */
  82.     protected $posteIds;
  83.     public function getId(): int
  84.     {
  85.         return $this->id;
  86.     }
  87.     public function getCustomerNumber(): int
  88.     {
  89.         return $this->customerNumber;
  90.     }
  91.     public function setCustomerNumber(int $customerNumber): self
  92.     {
  93.         $this->customerNumber $customerNumber;
  94.         return $this;
  95.     }
  96.     public function getIdentifier(): string
  97.     {
  98.         return $this->identifier;
  99.     }
  100.     public function setIdentifier(string $identifier): self
  101.     {
  102.         $this->identifier $identifier;
  103.         return $this;
  104.     }
  105.     public function getFileName(): string
  106.     {
  107.         return $this->fileName;
  108.     }
  109.     public function setFileName(string $fileName): self
  110.     {
  111.         $this->fileName $fileName;
  112.         return $this;
  113.     }
  114.     public function getCreatedAt(): \DateTime
  115.     {
  116.         return $this->createdAt;
  117.     }
  118.     public function setCreatedAt(\DateTime $createdAt): self
  119.     {
  120.         $this->createdAt $createdAt;
  121.         return $this;
  122.     }
  123.     public function getStartDate(): \DateTime
  124.     {
  125.         return $this->startDate;
  126.     }
  127.     public function setStartDate(\DateTime $startDate): self
  128.     {
  129.         $this->startDate $startDate;
  130.         return $this;
  131.     }
  132.     public function getEndDate(): \DateTime
  133.     {
  134.         return $this->endDate;
  135.     }
  136.     public function setEndDate(\DateTime $endDate): self
  137.     {
  138.         $this->endDate $endDate;
  139.         return $this;
  140.     }
  141.     public function isExportMonthly(): bool
  142.     {
  143.         return $this->exportMonthly;
  144.     }
  145.     public function setExportMonthly(bool $exportMonthly): self
  146.     {
  147.         $this->exportMonthly $exportMonthly;
  148.         return $this;
  149.     }
  150.     public function isExportWeekly(): bool
  151.     {
  152.         return $this->exportWeekly;
  153.     }
  154.     public function setExportWeekly(bool $exportWeekly): self
  155.     {
  156.         $this->exportWeekly $exportWeekly;
  157.         return $this;
  158.     }
  159.     public function isExportDaily(): bool
  160.     {
  161.         return $this->exportDaily;
  162.     }
  163.     public function setExportDaily(bool $exportDaily): self
  164.     {
  165.         $this->exportDaily $exportDaily;
  166.         return $this;
  167.     }
  168.     public function isExportHourly(): bool
  169.     {
  170.         return $this->exportHourly;
  171.     }
  172.     public function setExportHourly(bool $exportHourly): self
  173.     {
  174.         $this->exportHourly $exportHourly;
  175.         return $this;
  176.     }
  177.     public function getPosteIds(): string
  178.     {
  179.         return $this->posteIds;
  180.     }
  181.     public function setPosteIds(string $posteIds): self
  182.     {
  183.         $this->posteIds $posteIds;
  184.         return $this;
  185.     }
  186. }