Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

RoutesDbo.php 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 9/30/16
  6. * Time: 11:16 PM
  7. */
  8. namespace App\Dbo;
  9. use Luticate\Utils\Dbo\LuDbo;
  10. class RoutesDbo extends LuDbo
  11. {
  12. /**
  13. * @var $_id string
  14. */
  15. protected $_id;
  16. /**
  17. * @var $_name string
  18. */
  19. protected $_name;
  20. /**
  21. * @var $_bgColor string
  22. */
  23. protected $_bgColor;
  24. /**
  25. * @var $_fgColor string
  26. */
  27. protected $_fgColor;
  28. /**
  29. * @return string
  30. */
  31. public function getId(): string
  32. {
  33. return $this->_id;
  34. }
  35. /**
  36. * @param string $id
  37. */
  38. public function setId(string $id)
  39. {
  40. $this->_id = $id;
  41. }
  42. /**
  43. * @return string
  44. */
  45. public function getName(): string
  46. {
  47. return $this->_name;
  48. }
  49. /**
  50. * @param string $name
  51. */
  52. public function setName(string $name)
  53. {
  54. $this->_name = $name;
  55. }
  56. /**
  57. * @return string
  58. */
  59. public function getBgColor(): string
  60. {
  61. return $this->_bgColor;
  62. }
  63. /**
  64. * @param string $bgColor
  65. */
  66. public function setBgColor(string $bgColor)
  67. {
  68. $this->_bgColor = $bgColor;
  69. }
  70. /**
  71. * @return string
  72. */
  73. public function getFgColor(): string
  74. {
  75. return $this->_fgColor;
  76. }
  77. /**
  78. * @param string $fgColor
  79. */
  80. public function setFgColor(string $fgColor)
  81. {
  82. $this->_fgColor = $fgColor;
  83. }
  84. }