ReqShop.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: common.proto
  4. namespace Common_pack;
  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>common_pack.ReqShop</code>
  12. */
  13. class ReqShop extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * Generated from protobuf field <code>int32 shopType = 1;</code>
  17. */
  18. protected $shopType = 0;
  19. /**
  20. * Constructor.
  21. *
  22. * @param array $data {
  23. * Optional. Data for populating the Message object.
  24. *
  25. * @type int $shopType
  26. * }
  27. */
  28. public function __construct($data = NULL) {
  29. \GPBMetadata\Common::initOnce();
  30. parent::__construct($data);
  31. }
  32. /**
  33. * Generated from protobuf field <code>int32 shopType = 1;</code>
  34. * @return int
  35. */
  36. public function getShopType()
  37. {
  38. return $this->shopType;
  39. }
  40. /**
  41. * Generated from protobuf field <code>int32 shopType = 1;</code>
  42. * @param int $var
  43. * @return $this
  44. */
  45. public function setShopType($var)
  46. {
  47. GPBUtil::checkInt32($var);
  48. $this->shopType = $var;
  49. return $this;
  50. }
  51. }