RequestPublicResetPassword.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: proto/game.proto
  4. namespace Uraus\Kku\Request;
  5. use Google\Protobuf\Internal\GPBType;
  6. use Google\Protobuf\Internal\RepeatedField;
  7. use Google\Protobuf\Internal\GPBUtil;
  8. /**
  9. * 找回密码
  10. *
  11. * Generated from protobuf message <code>uraus.kku.Request.RequestPublicResetPassword</code>
  12. */
  13. class RequestPublicResetPassword extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * 手机号码
  17. *
  18. * Generated from protobuf field <code>string mobile = 1;</code>
  19. */
  20. protected $mobile = '';
  21. /**
  22. * 验证码
  23. *
  24. * Generated from protobuf field <code>string code = 2;</code>
  25. */
  26. protected $code = '';
  27. /**
  28. * 身份证号码
  29. *
  30. * Generated from protobuf field <code>string card_id = 3;</code>
  31. */
  32. protected $card_id = '';
  33. /**
  34. * Constructor.
  35. *
  36. * @param array $data {
  37. * Optional. Data for populating the Message object.
  38. *
  39. * @type string $mobile
  40. * 手机号码
  41. * @type string $code
  42. * 验证码
  43. * @type string $card_id
  44. * 身份证号码
  45. * }
  46. */
  47. public function __construct($data = NULL) {
  48. \GPBMetadata\Proto\Game::initOnce();
  49. parent::__construct($data);
  50. }
  51. /**
  52. * 手机号码
  53. *
  54. * Generated from protobuf field <code>string mobile = 1;</code>
  55. * @return string
  56. */
  57. public function getMobile()
  58. {
  59. return $this->mobile;
  60. }
  61. /**
  62. * 手机号码
  63. *
  64. * Generated from protobuf field <code>string mobile = 1;</code>
  65. * @param string $var
  66. * @return $this
  67. */
  68. public function setMobile($var)
  69. {
  70. GPBUtil::checkString($var, True);
  71. $this->mobile = $var;
  72. return $this;
  73. }
  74. /**
  75. * 验证码
  76. *
  77. * Generated from protobuf field <code>string code = 2;</code>
  78. * @return string
  79. */
  80. public function getCode()
  81. {
  82. return $this->code;
  83. }
  84. /**
  85. * 验证码
  86. *
  87. * Generated from protobuf field <code>string code = 2;</code>
  88. * @param string $var
  89. * @return $this
  90. */
  91. public function setCode($var)
  92. {
  93. GPBUtil::checkString($var, True);
  94. $this->code = $var;
  95. return $this;
  96. }
  97. /**
  98. * 身份证号码
  99. *
  100. * Generated from protobuf field <code>string card_id = 3;</code>
  101. * @return string
  102. */
  103. public function getCardId()
  104. {
  105. return $this->card_id;
  106. }
  107. /**
  108. * 身份证号码
  109. *
  110. * Generated from protobuf field <code>string card_id = 3;</code>
  111. * @param string $var
  112. * @return $this
  113. */
  114. public function setCardId($var)
  115. {
  116. GPBUtil::checkString($var, True);
  117. $this->card_id = $var;
  118. return $this;
  119. }
  120. }
  121. // Adding a class alias for backwards compatibility with the previous class name.
  122. class_alias(RequestPublicResetPassword::class, \Uraus\Kku\Request_RequestPublicResetPassword::class);