Add warranty class to job order

This commit is contained in:
Ramon Gutierrez 2018-02-01 00:44:29 +08:00
parent 4a1ae3f539
commit 0654895dab

View file

@ -86,6 +86,12 @@ class JobOrder
*/ */
protected $service_type; protected $service_type;
// warranty class
/**
* @ORM\Column(type="string", length=25)
*/
protected $warranty_class;
// customer that requested job order // customer that requested job order
/** /**
* @ORM\ManyToOne(targetEntity="Customer", inversedBy="job_orders") * @ORM\ManyToOne(targetEntity="Customer", inversedBy="job_orders")
@ -260,6 +266,17 @@ class JobOrder
return $this->service_type; return $this->service_type;
} }
public function setWarrantyClass($warranty_class)
{
$this->warranty_class = $warranty_class;
return $this;
}
public function getWarrantyClass()
{
return $this->warranty_class;
}
public function setCustomer(Customer $customer) public function setCustomer(Customer $customer)
{ {
$this->customer = $customer; $this->customer = $customer;