Add warranty class to job order
This commit is contained in:
parent
4a1ae3f539
commit
0654895dab
1 changed files with 17 additions and 0 deletions
|
|
@ -86,6 +86,12 @@ class JobOrder
|
|||
*/
|
||||
protected $service_type;
|
||||
|
||||
// warranty class
|
||||
/**
|
||||
* @ORM\Column(type="string", length=25)
|
||||
*/
|
||||
protected $warranty_class;
|
||||
|
||||
// customer that requested job order
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Customer", inversedBy="job_orders")
|
||||
|
|
@ -260,6 +266,17 @@ class JobOrder
|
|||
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)
|
||||
{
|
||||
$this->customer = $customer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue