src/Entity/Login/LoginStatistics.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Login;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. /**
  6.  * LoginStatistics
  7.  *
  8.  * @ORM\Table(name="public.loginstatistics")
  9.  * @ORM\Entity
  10.  */
  11. class LoginStatistics
  12. {
  13.     /**
  14.      * @var integer
  15.      * @ORM\Column(name="id", type="integer", nullable=false, options={"default"="nextval('loginstatistics_id_seq'::regclass)"})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  18.      * @ORM\SequenceGenerator(sequenceName="loginstatistics_id_seq", allocationSize=1, initialValue=1)
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="loan_details", type="text")
  25.      */
  26.     private $loanDetails;
  27.     /**
  28.      * @var integer
  29.      *
  30.      * @ORM\Column(name="total_employees", type="integer")
  31.      */
  32.     private $totalEmployees;
  33.     /**
  34.      * @var integer
  35.      *
  36.      * @ORM\Column(name="total_closures", type="integer")
  37.      */
  38.     private $totalClosures;
  39.     /**
  40.      * @var integer
  41.      *
  42.      * @ORM\Column(name="total_admission", type="integer")
  43.      */
  44.     private $totalAdmission;
  45.     /**
  46.      * @var \DateTime
  47.      *
  48.      * @ORM\Column(name="entered_date", type="datetime")
  49.      */
  50.     private $enteredDate;
  51.     
  52.     
  53.     /**
  54.      * @var integer
  55.      *
  56.      * @ORM\Column(name="total_offices", type="integer",nullable=true)
  57.      */
  58.     private $totalOffices;
  59.     
  60.     /**
  61.      * @var string
  62.      *
  63.      * @ORM\Column(name="depart_emp_count", type="text",nullable=true)
  64.      */
  65.     private $departEmpCount;
  66.     public function getId(): ?int
  67.     {
  68.         return $this->id;
  69.     }
  70.     public function getLoanDetails(): ?string
  71.     {
  72.         return $this->loanDetails;
  73.     }
  74.     public function setLoanDetails(string $loanDetails): self
  75.     {
  76.         $this->loanDetails $loanDetails;
  77.         return $this;
  78.     }
  79.     public function getTotalEmployees(): ?int
  80.     {
  81.         return $this->totalEmployees;
  82.     }
  83.     public function setTotalEmployees(int $totalEmployees): self
  84.     {
  85.         $this->totalEmployees $totalEmployees;
  86.         return $this;
  87.     }
  88.     public function getTotalClosures(): ?int
  89.     {
  90.         return $this->totalClosures;
  91.     }
  92.     public function setTotalClosures(int $totalClosures): self
  93.     {
  94.         $this->totalClosures $totalClosures;
  95.         return $this;
  96.     }
  97.     public function getTotalAdmission(): ?int
  98.     {
  99.         return $this->totalAdmission;
  100.     }
  101.     public function setTotalAdmission(int $totalAdmission): self
  102.     {
  103.         $this->totalAdmission $totalAdmission;
  104.         return $this;
  105.     }
  106.     public function getEnteredDate(): ?\DateTimeInterface
  107.     {
  108.         return $this->enteredDate;
  109.     }
  110.     public function setEnteredDate(\DateTimeInterface $enteredDate): self
  111.     {
  112.         $this->enteredDate $enteredDate;
  113.         return $this;
  114.     }
  115.     public function getTotalOffices(): ?int
  116.     {
  117.         return $this->totalOffices;
  118.     }
  119.     public function setTotalOffices(?int $totalOffices): self
  120.     {
  121.         $this->totalOffices $totalOffices;
  122.         return $this;
  123.     }
  124.     public function getDepartEmpCount(): ?string
  125.     {
  126.         return $this->departEmpCount;
  127.     }
  128.     public function setDepartEmpCount(?string $departEmpCount): self
  129.     {
  130.         $this->departEmpCount $departEmpCount;
  131.         return $this;
  132.     }
  133. }