Add branch_code to Warranty. #597

This commit is contained in:
Korina Cordero 2021-07-22 05:49:08 +00:00
parent 9ff7fc6ec0
commit f2046625d8

View file

@ -237,6 +237,11 @@ class Warranty
*/ */
protected $create_source; protected $create_source;
/**
* @ORM\Column(type="string", length=80, nullable=true)
*/
protected $dealer_branch_code;
public function __construct() public function __construct()
{ {
$this->date_create = new DateTime(); $this->date_create = new DateTime();
@ -676,4 +681,14 @@ class Warranty
return $this->create_source; return $this->create_source;
} }
public function setDealerBranchCode($dealer_branch_code)
{
$this->dealer_branch_code = $dealer_branch_code;
return $this;
}
public function getDealerBranchCode()
{
return $this->dealer_branch_code;
}
} }