diff --git a/src/Entity/SAPBattery.php b/src/Entity/SAPBattery.php new file mode 100644 index 00000000..4a482b43 --- /dev/null +++ b/src/Entity/SAPBattery.php @@ -0,0 +1,74 @@ +id = $id; + return $this; + } + + public function getID() + { + return $this->id; + } + + public function setBrand($brand) + { + $this->brand = $brand; + return $this; + } + + public function getBrand() + { + return $this->brand; + } + + public function setSize($size) + { + $this->size = $size; + return $this; + } + + public function getSize() + { + return $this->size; + } +} diff --git a/src/Entity/SAPBatteryBrand.php b/src/Entity/SAPBatteryBrand.php new file mode 100644 index 00000000..bd7c6a6b --- /dev/null +++ b/src/Entity/SAPBatteryBrand.php @@ -0,0 +1,73 @@ +batteries = new ArrayCollection(); + } + + public function getID() + { + return $this->id; + } + + public function setName($name) + { + $this->name = $name; + return $this; + } + + public function getName() + { + return $this->name; + } + + public function addBattery(Battery $battery) + { + $this->batteries->add($battery); + return $this; + } + + public function clearBatteries() + { + $this->batteries->clear(); + return $this; + } + + public function getBatteries() + { + return $this->batteries; + } +} diff --git a/src/Entity/SAPBatterySize.php b/src/Entity/SAPBatterySize.php new file mode 100644 index 00000000..1f38ca96 --- /dev/null +++ b/src/Entity/SAPBatterySize.php @@ -0,0 +1,73 @@ +batteries = new ArrayCollection(); + } + + public function getID() + { + return $this->id; + } + + public function setName($name) + { + $this->name = $name; + return $this; + } + + public function getName() + { + return $this->name; + } + + public function addBattery(Battery $battery) + { + $this->batteries->add($battery); + return $this; + } + + public function clearBatteries() + { + $this->batteries->clear(); + return $this; + } + + public function getBatteries() + { + return $this->batteries; + } +}