Skip to content

Instantly share code, notes, and snippets.

@event15
Created May 16, 2016 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save event15/d79900af46fef424d5cb66f860bcece2 to your computer and use it in GitHub Desktop.
Save event15/d79900af46fef424d5cb66f860bcece2 to your computer and use it in GitHub Desktop.
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
class Transport
{
private $id;
private $user;
private $startCity;
private $endCity;
private $cargo;
private $distance;
private $weight;
private $damage;
private $fuel;
private $fueled;
private $country;
private $score;
private $transportId;
private $screenshot;
private $status;
private $startDate;
private $endDate;
public function getId()
{
return $this->id;
}
public function setUser($user)
{
$this->user = $user;
return $this;
}
public function getUser()
{
return $this->user;
}
public function setStartCity($startCity)
{
$this->startCity = $startCity;
return $this;
}
public function getStartCity()
{
return $this->startCity;
}
public function setEndCity($endCity)
{
$this->endCity = $endCity;
return $this;
}
public function getEndCity()
{
return $this->endCity;
}
public function setCargo($cargo)
{
$this->cargo = $cargo;
return $this;
}
public function getCargo()
{
return $this->cargo;
}
public function setDistance($distance)
{
$this->distance = $distance;
return $this;
}
public function getDistance()
{
return $this->distance;
}
public function setWeight($weight)
{
$this->weight = $weight;
return $this;
}
public function getWeight()
{
return $this->weight;
}
public function setDamage($damage)
{
$this->damage = $damage;
return $this;
}
public function getDamage()
{
return $this->damage;
}
public function setFuel($fuel)
{
$this->fuel = $fuel;
return $this;
}
public function getFuel()
{
return $this->fuel;
}
public function setFueled($fueled)
{
$this->fueled = $fueled;
return $this;
}
public function getFueled()
{
return $this->fueled;
}
public function setCountry($country)
{
$this->country = $country;
return $this;
}
public function getCountry()
{
return $this->country;
}
public function setScore($score)
{
$this->score = $score;
return $this;
}
public function getScore()
{
return $this->score;
}
public function setTransportId($transportId)
{
$this->transportId = $transportId;
return $this;
}
public function getTransportId()
{
return $this->transportId;
}
public function setScreenshot($screenshot)
{
$this->screenshot = $screenshot;
return $this;
}
public function getScreenshot()
{
return $this->screenshot;
}
public function setStatus($status)
{
$this->status = $status;
return $this;
}
public function getStatus()
{
return $this->status;
}
public function setStartDate($startDate)
{
$this->startDate = $startDate;
return $this;
}
public function getStartDate()
{
return $this->startDate;
}
public function setEndDate(\dateTime $endDate)
{
$this->endDate = $endDate;
return $this;
}
public function getEndDate()
{
return $this->endDate;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment