<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use App\Entity\NotificationInLicensorBell;
/**
* Timezone
* @ORM\Table(name="timezone")
* @ORM\Entity(repositoryClass="App\Repository\TimezoneRepository")
*/
class Timezone {
/**
* @var integer
* @ORM\Column(name="tm_id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var \App\Entity\State
* @ORM\ManyToOne(targetEntity="App\Entity\State")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="tm_state", referencedColumnName="st_id", nullable=true)
* })
*/
private $state;
/**
* @var \App\Entity\Country
* @ORM\ManyToOne(targetEntity="App\Entity\Country")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="tm_country", referencedColumnName="co_id")
* })
*/
private $country;
/**
* Hora media de Greenwich
* @var string
* @ORM\Column(name="tm_gmt", type="string", length=10, nullable=false)
*/
private $gmt;
/**
* @var string
* @ORM\Column(name="tm_name", type="string", nullable=false)
*/
private $name;
/**
* Timezone abbreviation
* @var string
* @ORM\Column(name="tm_name_abb", type="string", nullable=false)
*/
private $nameAbb;
/**
* Timezone location
* @var string
* @ORM\Column(name="tm_location", type="string", nullable=false)
*/
private $location;
/**
* Timezone DST (Daylight saving time)
* @var boolean
* @ORM\Column(name="tm_is_dst", type="boolean", nullable=false, options={"default":"0"})
*/
private $isDst;
/**
* Timezone latitude
* @var string
* @ORM\Column(name="tm_latitude", type="decimal", precision=16, scale=10, nullable=false)
*/
private $latitude;
/**
* Timezone longitude
* @var string
* @ORM\Column(name="tm_longitude", type="decimal", precision=16, scale=10, nullable=false)
*/
private $longitude;
/**
* @var \DateTime
* @ORM\Column(name="tm_date", type="datetime", nullable=false)
*/
private $date;
/**
* @var \DateTime
* @ORM\Column(name="tm_date_update", type="datetime", nullable=true)
*/
private $dateUpdate;
/**
* Se ejecuto el comando FixTimezoneInformationCommand
* @var boolean
* @ORM\Column(name="tm_is_fix_info", type="boolean", nullable=false, options={"default":"0"})
*/
private $isFixInfo = 0;
/**
* fecha de ejecucion comando FixTimezoneInformationCommand
* @var \DateTime
* @ORM\Column(name="tm_date_fixed_info", type="datetime", nullable=true)
*/
private $dateFixedInfo;
public function getId(){
return $this->id;
}
public function getState()
{
return $this->state;
}
public function setState($state)
{
$this->state = $state;
return $this;
}
public function getCountry()
{
return $this->country;
}
public function setCountry($country)
{
$this->country = $country;
return $this;
}
public function getGmt()
{
return $this->gmt;
}
public function setGmt($gmt)
{
$this->gmt = $gmt;
return $this;
}
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
return $this;
}
public function getNameAbb()
{
return $this->nameAbb;
}
public function setNameAbb($nameAbb)
{
$this->nameAbb = $nameAbb;
return $this;
}
public function getLocation()
{
return $this->location;
}
public function setLocation($location)
{
$this->location = $location;
return $this;
}
public function getIsDst()
{
return $this->isDst;
}
public function setIsDst($isDst)
{
$this->isDst = $isDst;
return $this;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLatitude($latitude)
{
$this->latitude = $latitude;
return $this;
}
public function getLongitude()
{
return $this->longitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
return $this;
}
public function getDate()
{
return $this->date;
}
public function setDate($date)
{
$this->date = $date;
return $this;
}
public function getDateUpdate()
{
return $this->dateUpdate;
}
public function setDateUpdate($dateUpdate)
{
$this->dateUpdate = $dateUpdate;
return $this;
}
public function getIsFixInfo()
{
return $this->isFixInfo;
}
public function setIsFixInfo($isFixInfo)
{
$this->isFixInfo = $isFixInfo;
return $this;
}
public function getDateFixedInfo()
{
return $this->dateFixedInfo;
}
public function setDateFixedInfo($dateFixedInfo)
{
$this->dateFixedInfo = $dateFixedInfo;
return $this;
}
}