Add delivery address to job order entity
This commit is contained in:
parent
496c633ead
commit
a2311d7f03
1 changed files with 17 additions and 0 deletions
|
|
@ -125,6 +125,12 @@ class JobOrder
|
|||
*/
|
||||
protected $agent_notes;
|
||||
|
||||
// delivery address
|
||||
/**
|
||||
* @ORM\Column(type="text", nullable=true)
|
||||
*/
|
||||
protected $delivery_address;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->date_create = new DateTime();
|
||||
|
|
@ -303,4 +309,15 @@ class JobOrder
|
|||
{
|
||||
return $this->agent_notes;
|
||||
}
|
||||
|
||||
public function setDeliveryAddress($delivery_address)
|
||||
{
|
||||
$this->delivery_address = $delivery_address;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDeliveryAddress()
|
||||
{
|
||||
return $this->delivery_address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue