123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?php
- /**
- * Created by PhpStorm.
- * User: robin
- * Date: 9/30/16
- * Time: 9:46 PM
- */
-
- namespace App\Dbo;
-
-
- use Luticate\Utils\Dbo\LuDbo;
-
- class StopsDbo extends LuDbo
- {
- /**
- * @var $_name string
- */
- protected $_name;
-
- /**
- * @var $_id string
- */
- protected $_id;
-
- /**
- * @var $_posX float
- */
- protected $_posX;
-
- /**
- * @var $_posY float
- */
- protected $_posY;
-
- /**
- * @var $_routes string[]
- */
- protected $_routes;
-
- /**
- * @return string
- */
- public function getName(): string
- {
- return $this->_name;
- }
-
- /**
- * @param string $name
- */
- public function setName(string $name)
- {
- $this->_name = $name;
- }
-
- /**
- * @return string
- */
- public function getId(): string
- {
- return $this->_id;
- }
-
- /**
- * @param string $id
- */
- public function setId(string $id)
- {
- $this->_id = $id;
- }
-
- /**
- * @return float
- */
- public function getPosX(): float
- {
- return $this->_posX;
- }
-
- /**
- * @param float $posX
- */
- public function setPosX(float $posX)
- {
- $this->_posX = $posX;
- }
-
- /**
- * @return float
- */
- public function getPosY(): float
- {
- return $this->_posY;
- }
-
- /**
- * @param float $posY
- */
- public function setPosY(float $posY)
- {
- $this->_posY = $posY;
- }
-
- /**
- * @return \string[]
- */
- public function getRoutes(): array
- {
- return $this->_routes;
- }
-
- /**
- * @param \string[] $routes
- */
- public function setRoutes(array $routes)
- {
- $this->_routes = $routes;
- }
-
- }
|