<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\Notice;
use App\Entity\Skoda;
/**
* @ORM\Table(name="es_loc")
* @ORM\Entity()
* @ORM\HasLifecycleCallbacks()
*/
class Loc {
/**
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* Many Locs have one (the same) Notice
* @ORM\ManyToOne(targetEntity="Notice", inversedBy="locs")
* @ORM\JoinColumn(name="notice_id", referencedColumnName="id")
*/
private $notice;
/**
* Many locs have one (the same) Skoda
* @ORM\ManyToOne(targetEntity="Skoda", inversedBy="locs")
* @ORM\JoinColumn(name="skoda_id", referencedColumnName="id")
*/
private $skoda;
/**
* @ORM\Column(name="stat", type="string", length=255, nullable=true)
*/
protected $stat;
/**
* @ORM\Column(name="kraj", type="string", length=255, nullable=true)
*/
protected $kraj;
/**
* @ORM\Column(name="okres", type="string", length=255, nullable=true)
*/
protected $okres;
/**
* @ORM\Column(name="zuj", type="string", length=255, nullable=true)
*/
protected $zuj;
/**
* @ORM\Column(name="lokalita", type="string", length=255, nullable=true)
*/
protected $lokalita;
/**
* @param notice $notice
* @return Notice
*/
public function setNotice(Notice $notice = null) {
$this->notice = $notice;
return $this;
}
/**
* @return Notice
*/
public function getNotice() {
return $this->notice;
}
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set stat
*
* @param string $stat
*
* @return Loc
*/
public function setStat($stat)
{
$this->stat = $stat;
return $this;
}
/**
* Get stat
*
* @return string
*/
public function getStat()
{
return $this->stat;
}
/**
* Set kraj
*
* @param string $kraj
*
* @return Loc
*/
public function setKraj($kraj)
{
$this->kraj = $kraj;
return $this;
}
/**
* Get kraj
*
* @return string
*/
public function getKraj()
{
return $this->kraj;
}
/**
* Set okres
*
* @param string $okres
*
* @return Loc
*/
public function setOkres($okres)
{
$this->okres = $okres;
return $this;
}
/**
* Get okres
*
* @return string
*/
public function getOkres()
{
return $this->okres;
}
/**
* Set zuj
*
* @param string $zuj
*
* @return Loc
*/
public function setZuj($zuj)
{
$this->zuj = $zuj;
return $this;
}
/**
* Get zuj
*
* @return string
*/
public function getZuj()
{
return $this->zuj;
}
/**
* Set lokalita
*
* @param string $lokalita
*
* @return Loc
*/
public function setLokalita($lokalita)
{
$this->lokalita = $lokalita;
return $this;
}
/**
* Get lokalita
*
* @return string
*/
public function getLokalita()
{
return $this->lokalita;
}
/**
* Set skoda
*
* @param \App\Entity\Skoda $skoda
*
* @return Loc
*/
public function setSkoda(\App\Entity\Skoda $skoda = null)
{
$this->skoda = $skoda;
return $this;
}
/**
* Get skoda
*
* @return \App\Entity\Skoda
*/
public function getSkoda()
{
return $this->skoda;
}
}