RefuseFriendApplyMessage.php 704 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace App\Generated\V1_1\Messages\Friend;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class RefuseFriendApplyMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $contactUid;
  10. /**
  11. * 联系人
  12. * @return int
  13. */
  14. public function getContactUid()
  15. {
  16. return $this->contactUid;
  17. }
  18. public function requestRules()
  19. {
  20. return [
  21. ['contactUid', 'contact_uid', 'bail|integer', Constants::INTEGER, null],
  22. ];
  23. }
  24. public function responseRules()
  25. {
  26. return [
  27. ];
  28. }
  29. public function setResponse()
  30. {
  31. }
  32. }