<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\TimsStationRepository")
* @ORM\Table(name="tims_station")
*/
class TimsStation {
/**
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string")
*/
private $type;
/**
* @var Station
*
* @ORM\ManyToOne(targetEntity="App\Entity\Station")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="station", referencedColumnName="id")
* })
*/
private Station $station;
/**
* @ORM\Column(type="string")
*/
private $client;
/**
* @ORM\Column(type="string")
*/
private $supplierCode;
/**
* @ORM\Column(type="datetime")
*/
private $createdAt;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getType()
{
return $this->type;
}
/**
* @param mixed $type
*/
public function setType($type): void
{
$this->type = $type;
}
/**
* @return Station
*/
public function getStation(): Station
{
return $this->station;
}
/**
* @param Station $station
*/
public function setStation(Station $station): void
{
$this->station = $station;
}
/**
* @return mixed
*/
public function getClient()
{
return $this->client;
}
/**
* @param mixed $client
*/
public function setClient($client): void
{
$this->client = $client;
}
/**
* @return mixed
*/
public function getSupplierCode()
{
return $this->supplierCode;
}
/**
* @param mixed $supplierCode
*/
public function setSupplierCode($supplierCode): void
{
$this->supplierCode = $supplierCode;
}
/**
* @return mixed
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* @param mixed $createdAt
*/
public function setCreatedAt($createdAt): void
{
$this->createdAt = $createdAt;
}
}