src/Entity/CompanySettings.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * CompanySettings
  7.  *
  8.  * @ORM\Table(name="company_settings", indexes={@ORM\Index(name="company_id", columns={"company_id"})})
  9.  * @ORM\Entity(repositoryClass="App\Repository\CompanySettingsRepository")
  10.  */
  11. class CompanySettings
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="system_language", type="string", length=10, nullable=false)
  25.      */
  26.     private $systemLanguage;
  27.     /**
  28.      * @var string|null
  29.      *
  30.      * @ORM\Column(name="datetime_format", type="string", length=255, nullable=true)
  31.      */
  32.     private $datetimeFormat;
  33.     /**
  34.      * @var string|null
  35.      *
  36.      * @ORM\Column(name="timezone", type="string", length=255, nullable=true)
  37.      */
  38.     private $timezone;
  39.     /**
  40.      * @var \DateTime|null
  41.      *
  42.      * @ORM\Column(name="missed_audit_cron_time", type="time", nullable=true)
  43.      */
  44.     private $missedAuditCronTime;
  45.     /**
  46.      * @var \DateTime|null
  47.      *
  48.      * @ORM\Column(name="missed_audit_last_cron_date", type="datetime", nullable=true)
  49.      */
  50.     private $missedAuditLastCronDate;
  51.     /**
  52.      * @var \DateTime|null
  53.      *
  54.      * @ORM\Column(name="auto_schedule_operator_cron_time", type="time", nullable=true)
  55.      */
  56.     private $autoScheduleOperatorCronTime;
  57.     /**
  58.      * @var \DateTime|null
  59.      *
  60.      * @ORM\Column(name="auto_schedule_operator_last_crone_date", type="datetime", nullable=true)
  61.      */
  62.     private $autoScheduleOperatorLastCroneDate;
  63.     /**
  64.      * @var int
  65.      *
  66.      * @ORM\Column(name="junk_file_expire", type="integer", nullable=false, options={"default"="30"})
  67.      */
  68.     private $junkFileExpire 30;
  69.     /**
  70.      * @var \Company
  71.      *
  72.      * @ORM\ManyToOne(targetEntity="Company")
  73.      * @ORM\JoinColumns({
  74.      *   @ORM\JoinColumn(name="company_id", referencedColumnName="id")
  75.      * })
  76.      */
  77.     private $company;
  78.     public function getId(): ?int
  79.     {
  80.         return $this->id;
  81.     }
  82.     public function getSystemLanguage(): ?string
  83.     {
  84.         return $this->systemLanguage;
  85.     }
  86.     public function setSystemLanguage(string $systemLanguage): self
  87.     {
  88.         $this->systemLanguage $systemLanguage;
  89.         return $this;
  90.     }
  91.     public function getDatetimeFormat(): ?string
  92.     {
  93.         return $this->datetimeFormat;
  94.     }
  95.     public function setDatetimeFormat(?string $datetimeFormat): self
  96.     {
  97.         $this->datetimeFormat $datetimeFormat;
  98.         return $this;
  99.     }
  100.     public function getTimezone(): ?string
  101.     {
  102.         return $this->timezone;
  103.     }
  104.     public function setTimezone(?string $timezone): self
  105.     {
  106.         $this->timezone $timezone;
  107.         return $this;
  108.     }
  109.     public function getMissedAuditCronTime(): ?\DateTimeInterface
  110.     {
  111.         return $this->missedAuditCronTime;
  112.     }
  113.     public function setMissedAuditCronTime(?\DateTimeInterface $missedAuditCronTime): self
  114.     {
  115.         $this->missedAuditCronTime $missedAuditCronTime;
  116.         return $this;
  117.     }
  118.     public function getMissedAuditLastCronDate(): ?\DateTimeInterface
  119.     {
  120.         return $this->missedAuditLastCronDate;
  121.     }
  122.     public function setMissedAuditLastCronDate(?\DateTimeInterface $missedAuditLastCronDate): self
  123.     {
  124.         $this->missedAuditLastCronDate $missedAuditLastCronDate;
  125.         return $this;
  126.     }
  127.     public function getAutoScheduleOperatorCronTime(): ?\DateTimeInterface
  128.     {
  129.         return $this->autoScheduleOperatorCronTime;
  130.     }
  131.     public function setAutoScheduleOperatorCronTime(?\DateTimeInterface $autoScheduleOperatorCronTime): self
  132.     {
  133.         $this->autoScheduleOperatorCronTime $autoScheduleOperatorCronTime;
  134.         return $this;
  135.     }
  136.     public function getAutoScheduleOperatorLastCroneDate(): ?\DateTimeInterface
  137.     {
  138.         return $this->autoScheduleOperatorLastCroneDate;
  139.     }
  140.     public function setAutoScheduleOperatorLastCroneDate(?\DateTimeInterface $autoScheduleOperatorLastCroneDate): self
  141.     {
  142.         $this->autoScheduleOperatorLastCroneDate $autoScheduleOperatorLastCroneDate;
  143.         return $this;
  144.     }
  145.     public function getJunkFileExpire(): ?int
  146.     {
  147.         return $this->junkFileExpire;
  148.     }
  149.     public function setJunkFileExpire(int $junkFileExpire): self
  150.     {
  151.         $this->junkFileExpire $junkFileExpire;
  152.         return $this;
  153.     }
  154.     public function getCompany(): ?Company
  155.     {
  156.         return $this->company;
  157.     }
  158.     public function setCompany(?Company $company): self
  159.     {
  160.         $this->company $company;
  161.         return $this;
  162.     }
  163. }