From f2046625d88b81abaab12f9b3dd2378da7c0d048 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 22 Jul 2021 05:49:08 +0000 Subject: [PATCH] Add branch_code to Warranty. #597 --- src/Entity/Warranty.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Entity/Warranty.php b/src/Entity/Warranty.php index 5d45e806..06c18590 100644 --- a/src/Entity/Warranty.php +++ b/src/Entity/Warranty.php @@ -237,6 +237,11 @@ class Warranty */ protected $create_source; + /** + * @ORM\Column(type="string", length=80, nullable=true) + */ + protected $dealer_branch_code; + public function __construct() { $this->date_create = new DateTime(); @@ -676,4 +681,14 @@ class Warranty 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; + } }