BlackDTO.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?php
  2. namespace App\Generated\V1\DTOs;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\DTOs\DTO;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class BlackDTO extends DTO
  7. {
  8. use ValueHelper;
  9. protected $msy;
  10. protected $fpdx;
  11. protected $black;
  12. protected $chat;
  13. protected $night;
  14. protected $home;
  15. protected $account;
  16. /**
  17. * @return string|null
  18. */
  19. public function getMsy()
  20. {
  21. return $this->msy;
  22. }
  23. /**
  24. * @return string|null
  25. */
  26. public function getFpdx()
  27. {
  28. return $this->fpdx;
  29. }
  30. /**
  31. * @return string|null
  32. */
  33. public function getBlack()
  34. {
  35. return $this->black;
  36. }
  37. /**
  38. * @return string|null
  39. */
  40. public function getChat()
  41. {
  42. return $this->chat;
  43. }
  44. /**
  45. * @return string|null
  46. */
  47. public function getNight()
  48. {
  49. return $this->night;
  50. }
  51. /**
  52. * @return string|null
  53. */
  54. public function getHome()
  55. {
  56. return $this->home;
  57. }
  58. /**
  59. * @return string|null
  60. */
  61. public function getAccount()
  62. {
  63. return $this->account;
  64. }
  65. public function setMsy($msy)
  66. {
  67. $this->msy = $msy;
  68. }
  69. public function setFpdx($fpdx)
  70. {
  71. $this->fpdx = $fpdx;
  72. }
  73. public function setBlack($black)
  74. {
  75. $this->black = $black;
  76. }
  77. public function setChat($chat)
  78. {
  79. $this->chat = $chat;
  80. }
  81. public function setNight($night)
  82. {
  83. $this->night = $night;
  84. }
  85. public function setHome($home)
  86. {
  87. $this->home = $home;
  88. }
  89. public function setAccount($account)
  90. {
  91. $this->account = $account;
  92. }
  93. public function getAttributeMap()
  94. {
  95. return [
  96. ['msy', 'msy', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  97. ['fpdx', 'fpdx', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  98. ['black', 'black', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  99. ['chat', 'chat', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  100. ['night', 'night', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  101. ['home', 'home', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  102. ['account', 'account', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null],
  103. ];
  104. }
  105. }