RecommendPairApplyContactDTO.php 595 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace App\Generated\V1_1\DTOs;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\DTOs\DTO;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class RecommendPairApplyContactDTO extends DTO
  7. {
  8. use ValueHelper;
  9. protected $uid;
  10. /**
  11. * 用户id
  12. * @return int
  13. */
  14. public function getUid()
  15. {
  16. return $this->uid;
  17. }
  18. public function setUid($uid)
  19. {
  20. $this->uid = $uid;
  21. }
  22. public function getAttributeMap()
  23. {
  24. return [
  25. ['uid', 'uid', 'bail|integer', Constants::INTEGER, null],
  26. ];
  27. }
  28. }