Add getters and setters to joborder
This commit is contained in:
parent
834ecddbb7
commit
f144efb439
1 changed files with 138 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
use CrEOF\Spatial\PHP\Types\Geometry\Point;
|
||||
use DateTime;
|
||||
|
||||
/**
|
||||
|
|
@ -108,4 +109,141 @@ class JobOrder
|
|||
$this->flag_advance = false;
|
||||
$this->source = 'mobile';
|
||||
}
|
||||
|
||||
public function getID()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function setDateCreate($date_create)
|
||||
{
|
||||
$this->date_create = $date_create;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateCreate()
|
||||
{
|
||||
return $this->date_create;
|
||||
}
|
||||
|
||||
public function setDateSchedule($date_schedule)
|
||||
{
|
||||
$this->date_schedule = $date_schedule;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateSchedule()
|
||||
{
|
||||
return $this->date_schedule;
|
||||
}
|
||||
|
||||
public function setDateFulfill($date_fulfill)
|
||||
{
|
||||
$this->date_fulfill = $date_fulfill;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateFulfill()
|
||||
{
|
||||
return $this->date_fulfill;
|
||||
}
|
||||
|
||||
public function setCoordinates(Point $point)
|
||||
{
|
||||
$this->coordinates = $point;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCoordinates()
|
||||
{
|
||||
return $this->coordinates;
|
||||
}
|
||||
|
||||
public function setAdvanceOrder($flag_advance)
|
||||
{
|
||||
$this->flag_advance = $flag_advance;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isAdvanceOrder()
|
||||
{
|
||||
return $this->flag_advance;
|
||||
}
|
||||
|
||||
public function setCreatedBy(User $created_by)
|
||||
{
|
||||
$this->created_by = $created_by;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCreatedBy()
|
||||
{
|
||||
return $this->created_by;
|
||||
}
|
||||
|
||||
public function setServiceType($service_type)
|
||||
{
|
||||
$this->service_type = $service_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getServiceType()
|
||||
{
|
||||
return $this->service_type;
|
||||
}
|
||||
|
||||
public function setCustomer(Customer $customer)
|
||||
{
|
||||
$this->customer = $customer;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCustomer()
|
||||
{
|
||||
return $this->customer;
|
||||
}
|
||||
|
||||
public function setCustomerVehicle(CustomerVehicle $cus_vehicle)
|
||||
{
|
||||
$this->cus_vehicle = $cus_vehicle;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCustomerVehicle()
|
||||
{
|
||||
return $this->cus_vehicle;
|
||||
}
|
||||
|
||||
public function setOutlet(Outlet $outlet)
|
||||
{
|
||||
$this->outlet = $outlet;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getOutlet()
|
||||
{
|
||||
return $this->outlet;
|
||||
}
|
||||
|
||||
public function setRider(Rider $rider)
|
||||
{
|
||||
$this->rider = $rider;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getRider()
|
||||
{
|
||||
return $this->rider;
|
||||
}
|
||||
|
||||
public function setSource($source)
|
||||
{
|
||||
$this->source = $source;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue