<?php
namespace Uniski\ResourceBundle\Entity\ValueObject;
use Doctrine\ORM\Mapping as ORM;
/**
* SkiStation
* @ORM\Embeddable
*/
class SkiStation
{
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $maxHeight;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $minHeight;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $kms;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $slopes;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $greens;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $blues;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $reds;
/**
* @var string
* @ORM\Column(type="smallint", nullable=true)
*/
private $blacks;
/**
* @var string
* @ORM\Column(type="text", nullable=true)
*/
private $facilities;
/**
* @var string
* @ORM\Column(type="text", nullable=true)
*/
private $services;
/**
* @var string
* @ORM\Column(type="text", nullable=true)
*/
private $forecast;
/**
* @return string
*/
public function getMaxHeight()
{
return $this->maxHeight;
}
/**
* @param string $maxHeight
*
* @return self
*/
public function setMaxHeight($maxHeight)
{
$this->maxHeight = $maxHeight;
return $this;
}
/**
* @return string
*/
public function getMinHeight()
{
return $this->minHeight;
}
/**
* @param string $minHeight
*
* @return self
*/
public function setMinHeight($minHeight)
{
$this->minHeight = $minHeight;
return $this;
}
/**
* @return string
*/
public function getKms()
{
return $this->kms;
}
/**
* @param string $kms
*
* @return self
*/
public function setKms($kms)
{
$this->kms = $kms;
return $this;
}
/**
* @return string
*/
public function getSlopes()
{
return $this->slopes;
}
/**
* @param string $slopes
*
* @return self
*/
public function setSlopes($slopes)
{
$this->slopes = $slopes;
return $this;
}
/**
* @return string
*/
public function getGreens()
{
return $this->greens;
}
/**
* @param string $greens
*
* @return self
*/
public function setGreens($greens)
{
$this->greens = $greens;
return $this;
}
/**
* @return string
*/
public function getBlues()
{
return $this->blues;
}
/**
* @param string $blues
*
* @return self
*/
public function setBlues($blues)
{
$this->blues = $blues;
return $this;
}
/**
* @return string
*/
public function getReds()
{
return $this->reds;
}
/**
* @param string $reds
*
* @return self
*/
public function setReds($reds)
{
$this->reds = $reds;
return $this;
}
/**
* @return string
*/
public function getBlacks()
{
return $this->blacks;
}
/**
* @param string $blacks
*
* @return self
*/
public function setBlacks($blacks)
{
$this->blacks = $blacks;
return $this;
}
/**
* @return string
*/
public function getFacilities()
{
return $this->facilities;
}
/**
* @param string $facilities
*
* @return self
*/
public function setFacilities($facilities)
{
$this->facilities = $facilities;
return $this;
}
/**
* @return string
*/
public function getServices()
{
return $this->services;
}
/**
* @param string $services
*
* @return self
*/
public function setServices($services)
{
$this->services = $services;
return $this;
}
/**
* @return string
*/
public function getForecast()
{
return $this->forecast;
}
/**
* @param string $forecast
*
* @return self
*/
public function setForecast($forecast)
{
$this->forecast = $forecast;
return $this;
}
/**
* It tells if the object has info to be shown
* @return boolean true is this object has info to be shown
*/
public function hasInfo()
{
if ($this->maxHeight ||
$this->minHeight ||
$this->kms ||
$this->facilities ||
$this->services) return true;
return false;
}
}