<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* CompanySettings
*
* @ORM\Table(name="company_settings", indexes={@ORM\Index(name="company_id", columns={"company_id"})})
* @ORM\Entity(repositoryClass="App\Repository\CompanySettingsRepository")
*/
class CompanySettings
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="system_language", type="string", length=10, nullable=false)
*/
private $systemLanguage;
/**
* @var string|null
*
* @ORM\Column(name="datetime_format", type="string", length=255, nullable=true)
*/
private $datetimeFormat;
/**
* @var string|null
*
* @ORM\Column(name="timezone", type="string", length=255, nullable=true)
*/
private $timezone;
/**
* @var \DateTime|null
*
* @ORM\Column(name="missed_audit_cron_time", type="time", nullable=true)
*/
private $missedAuditCronTime;
/**
* @var \DateTime|null
*
* @ORM\Column(name="missed_audit_last_cron_date", type="datetime", nullable=true)
*/
private $missedAuditLastCronDate;
/**
* @var \DateTime|null
*
* @ORM\Column(name="auto_schedule_operator_cron_time", type="time", nullable=true)
*/
private $autoScheduleOperatorCronTime;
/**
* @var \DateTime|null
*
* @ORM\Column(name="auto_schedule_operator_last_crone_date", type="datetime", nullable=true)
*/
private $autoScheduleOperatorLastCroneDate;
/**
* @var int
*
* @ORM\Column(name="junk_file_expire", type="integer", nullable=false, options={"default"="30"})
*/
private $junkFileExpire = 30;
/**
* @var \Company
*
* @ORM\ManyToOne(targetEntity="Company")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="company_id", referencedColumnName="id")
* })
*/
private $company;
public function getId(): ?int
{
return $this->id;
}
public function getSystemLanguage(): ?string
{
return $this->systemLanguage;
}
public function setSystemLanguage(string $systemLanguage): self
{
$this->systemLanguage = $systemLanguage;
return $this;
}
public function getDatetimeFormat(): ?string
{
return $this->datetimeFormat;
}
public function setDatetimeFormat(?string $datetimeFormat): self
{
$this->datetimeFormat = $datetimeFormat;
return $this;
}
public function getTimezone(): ?string
{
return $this->timezone;
}
public function setTimezone(?string $timezone): self
{
$this->timezone = $timezone;
return $this;
}
public function getMissedAuditCronTime(): ?\DateTimeInterface
{
return $this->missedAuditCronTime;
}
public function setMissedAuditCronTime(?\DateTimeInterface $missedAuditCronTime): self
{
$this->missedAuditCronTime = $missedAuditCronTime;
return $this;
}
public function getMissedAuditLastCronDate(): ?\DateTimeInterface
{
return $this->missedAuditLastCronDate;
}
public function setMissedAuditLastCronDate(?\DateTimeInterface $missedAuditLastCronDate): self
{
$this->missedAuditLastCronDate = $missedAuditLastCronDate;
return $this;
}
public function getAutoScheduleOperatorCronTime(): ?\DateTimeInterface
{
return $this->autoScheduleOperatorCronTime;
}
public function setAutoScheduleOperatorCronTime(?\DateTimeInterface $autoScheduleOperatorCronTime): self
{
$this->autoScheduleOperatorCronTime = $autoScheduleOperatorCronTime;
return $this;
}
public function getAutoScheduleOperatorLastCroneDate(): ?\DateTimeInterface
{
return $this->autoScheduleOperatorLastCroneDate;
}
public function setAutoScheduleOperatorLastCroneDate(?\DateTimeInterface $autoScheduleOperatorLastCroneDate): self
{
$this->autoScheduleOperatorLastCroneDate = $autoScheduleOperatorLastCroneDate;
return $this;
}
public function getJunkFileExpire(): ?int
{
return $this->junkFileExpire;
}
public function setJunkFileExpire(int $junkFileExpire): self
{
$this->junkFileExpire = $junkFileExpire;
return $this;
}
public function getCompany(): ?Company
{
return $this->company;
}
public function setCompany(?Company $company): self
{
$this->company = $company;
return $this;
}
}