EntAdmin.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: api/EntAdmin.proto
  5. namespace Proto\Api;
  6. use Google\Protobuf\Internal\GPBType;
  7. use Google\Protobuf\Internal\RepeatedField;
  8. use Google\Protobuf\Internal\GPBUtil;
  9. /**
  10. * 门店实体
  11. *
  12. * Generated from protobuf message <code>proto.api.EntAdmin</code>
  13. */
  14. class EntAdmin extends \Google\Protobuf\Internal\Message
  15. {
  16. /**
  17. * 门店基本信息
  18. *
  19. * Generated from protobuf field <code>.proto.api.AdminBaseInfo base_info = 1;</code>
  20. */
  21. protected $base_info = null;
  22. /**
  23. * Constructor.
  24. *
  25. * @param array $data {
  26. * Optional. Data for populating the Message object.
  27. *
  28. * @type \Proto\Api\AdminBaseInfo $base_info
  29. * 门店基本信息
  30. * }
  31. */
  32. public function __construct($data = NULL) {
  33. \GPBMetadata\Api\EntAdmin::initOnce();
  34. parent::__construct($data);
  35. }
  36. /**
  37. * 门店基本信息
  38. *
  39. * Generated from protobuf field <code>.proto.api.AdminBaseInfo base_info = 1;</code>
  40. * @return \Proto\Api\AdminBaseInfo|null
  41. */
  42. public function getBaseInfo()
  43. {
  44. return $this->base_info;
  45. }
  46. public function hasBaseInfo()
  47. {
  48. return isset($this->base_info);
  49. }
  50. public function clearBaseInfo()
  51. {
  52. unset($this->base_info);
  53. }
  54. /**
  55. * 门店基本信息
  56. *
  57. * Generated from protobuf field <code>.proto.api.AdminBaseInfo base_info = 1;</code>
  58. * @param \Proto\Api\AdminBaseInfo $var
  59. * @return $this
  60. */
  61. public function setBaseInfo($var)
  62. {
  63. GPBUtil::checkMessage($var, \Proto\Api\AdminBaseInfo::class);
  64. $this->base_info = $var;
  65. return $this;
  66. }
  67. }