ClickUserHomeMessage.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. namespace App\Generated\V1\Messages\ReportLog;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class ClickUserHomeMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $intoAt;
  10. protected $leaveAt;
  11. protected $clickUid;
  12. protected $homeUid;
  13. protected $scene;
  14. /**
  15. * 进入时间戳
  16. * @return int
  17. */
  18. public function getIntoAt()
  19. {
  20. return $this->intoAt;
  21. }
  22. /**
  23. * 离开时间戳
  24. * @return int
  25. */
  26. public function getLeaveAt()
  27. {
  28. return $this->leaveAt;
  29. }
  30. /**
  31. * 访问用户
  32. * @return int
  33. */
  34. public function getClickUid()
  35. {
  36. return $this->clickUid;
  37. }
  38. /**
  39. * 被访问用户
  40. * @return int
  41. */
  42. public function getHomeUid()
  43. {
  44. return $this->homeUid;
  45. }
  46. /**
  47. * 场景
  48. * @return int
  49. */
  50. public function getScene()
  51. {
  52. return $this->scene;
  53. }
  54. public function requestRules()
  55. {
  56. return [
  57. ['intoAt', 'into_at', 'bail|integer', Constants::INTEGER, null],
  58. ['leaveAt', 'leave_at', 'bail|integer', Constants::INTEGER, null],
  59. ['clickUid', 'click_uid', 'bail|integer', Constants::INTEGER, null],
  60. ['homeUid', 'home_uid', 'bail|integer', Constants::INTEGER, null],
  61. ['scene', 'scene', 'bail|integer', Constants::INTEGER, null],
  62. ];
  63. }
  64. public function responseRules()
  65. {
  66. return [
  67. ];
  68. }
  69. public function setResponse()
  70. {
  71. }
  72. }