Add reference job order to job order entity #24
This commit is contained in:
parent
172e09c2ef
commit
b1e1612a4b
1 changed files with 7 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ class JobOrder
|
|||
|
||||
// reason for cancel
|
||||
/**
|
||||
* @ORM\Column(type="string", length=200)
|
||||
* @ORM\Column(type="string", length=200, nullable=true)
|
||||
*/
|
||||
protected $cancel_reason;
|
||||
|
||||
|
|
@ -200,6 +200,12 @@ class JobOrder
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
public function setDateCreate(DateTime $date_create)
|
||||
{
|
||||
$this->date_create = $date_create;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateCreate()
|
||||
{
|
||||
return $this->date_create;
|
||||
|
|
|
|||
Loading…
Reference in a new issue