event.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: event.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type EventListRequest struct {
  20. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  21. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  22. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  23. HouseholdUid int64 `protobuf:"varint,5,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  24. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  25. XXX_unrecognized []byte `json:"-"`
  26. XXX_sizecache int32 `json:"-"`
  27. }
  28. func (m *EventListRequest) Reset() { *m = EventListRequest{} }
  29. func (m *EventListRequest) String() string { return proto.CompactTextString(m) }
  30. func (*EventListRequest) ProtoMessage() {}
  31. func (*EventListRequest) Descriptor() ([]byte, []int) {
  32. return fileDescriptor_2d17a9d3f0ddf27e, []int{0}
  33. }
  34. func (m *EventListRequest) XXX_Unmarshal(b []byte) error {
  35. return xxx_messageInfo_EventListRequest.Unmarshal(m, b)
  36. }
  37. func (m *EventListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  38. return xxx_messageInfo_EventListRequest.Marshal(b, m, deterministic)
  39. }
  40. func (m *EventListRequest) XXX_Merge(src proto.Message) {
  41. xxx_messageInfo_EventListRequest.Merge(m, src)
  42. }
  43. func (m *EventListRequest) XXX_Size() int {
  44. return xxx_messageInfo_EventListRequest.Size(m)
  45. }
  46. func (m *EventListRequest) XXX_DiscardUnknown() {
  47. xxx_messageInfo_EventListRequest.DiscardUnknown(m)
  48. }
  49. var xxx_messageInfo_EventListRequest proto.InternalMessageInfo
  50. func (m *EventListRequest) GetGardenId() int64 {
  51. if m != nil {
  52. return m.GardenId
  53. }
  54. return 0
  55. }
  56. func (m *EventListRequest) GetPage() int64 {
  57. if m != nil {
  58. return m.Page
  59. }
  60. return 0
  61. }
  62. func (m *EventListRequest) GetPageSize() int64 {
  63. if m != nil {
  64. return m.PageSize
  65. }
  66. return 0
  67. }
  68. func (m *EventListRequest) GetHouseholdUid() int64 {
  69. if m != nil {
  70. return m.HouseholdUid
  71. }
  72. return 0
  73. }
  74. type EventItem struct {
  75. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  76. // 标题
  77. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  78. // 内容
  79. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
  80. // 活动开始时间
  81. Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start"`
  82. // 活动结束时间
  83. End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end"`
  84. // 报名截止时间
  85. SignUpEnd int64 `protobuf:"varint,6,opt,name=sign_up_end,json=signUpEnd,proto3" json:"sign_up_end"`
  86. // 人数限制
  87. PeopleLimit int64 `protobuf:"varint,7,opt,name=people_limit,json=peopleLimit,proto3" json:"people_limit"`
  88. // 报名费用
  89. Fee int64 `protobuf:"varint,8,opt,name=fee,proto3" json:"fee"`
  90. // 活动地址
  91. Addr string `protobuf:"bytes,9,opt,name=addr,proto3" json:"addr"`
  92. // 已报名人数
  93. PeopleCount int64 `protobuf:"varint,10,opt,name=people_count,json=peopleCount,proto3" json:"people_count"`
  94. // 1 报名进行中 2 报名已截止
  95. Status int32 `protobuf:"varint,11,opt,name=status,proto3" json:"status"`
  96. CreatedAt string `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  97. // 图片
  98. Pic []string `protobuf:"bytes,13,rep,name=pic,proto3" json:"pic"`
  99. // 物业端不管该字段,小程序查询时该字段有效 是否报名
  100. Sign bool `protobuf:"varint,14,opt,name=sign,proto3" json:"sign"`
  101. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  102. XXX_unrecognized []byte `json:"-"`
  103. XXX_sizecache int32 `json:"-"`
  104. }
  105. func (m *EventItem) Reset() { *m = EventItem{} }
  106. func (m *EventItem) String() string { return proto.CompactTextString(m) }
  107. func (*EventItem) ProtoMessage() {}
  108. func (*EventItem) Descriptor() ([]byte, []int) {
  109. return fileDescriptor_2d17a9d3f0ddf27e, []int{1}
  110. }
  111. func (m *EventItem) XXX_Unmarshal(b []byte) error {
  112. return xxx_messageInfo_EventItem.Unmarshal(m, b)
  113. }
  114. func (m *EventItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  115. return xxx_messageInfo_EventItem.Marshal(b, m, deterministic)
  116. }
  117. func (m *EventItem) XXX_Merge(src proto.Message) {
  118. xxx_messageInfo_EventItem.Merge(m, src)
  119. }
  120. func (m *EventItem) XXX_Size() int {
  121. return xxx_messageInfo_EventItem.Size(m)
  122. }
  123. func (m *EventItem) XXX_DiscardUnknown() {
  124. xxx_messageInfo_EventItem.DiscardUnknown(m)
  125. }
  126. var xxx_messageInfo_EventItem proto.InternalMessageInfo
  127. func (m *EventItem) GetId() int64 {
  128. if m != nil {
  129. return m.Id
  130. }
  131. return 0
  132. }
  133. func (m *EventItem) GetTitle() string {
  134. if m != nil {
  135. return m.Title
  136. }
  137. return ""
  138. }
  139. func (m *EventItem) GetContent() string {
  140. if m != nil {
  141. return m.Content
  142. }
  143. return ""
  144. }
  145. func (m *EventItem) GetStart() int64 {
  146. if m != nil {
  147. return m.Start
  148. }
  149. return 0
  150. }
  151. func (m *EventItem) GetEnd() int64 {
  152. if m != nil {
  153. return m.End
  154. }
  155. return 0
  156. }
  157. func (m *EventItem) GetSignUpEnd() int64 {
  158. if m != nil {
  159. return m.SignUpEnd
  160. }
  161. return 0
  162. }
  163. func (m *EventItem) GetPeopleLimit() int64 {
  164. if m != nil {
  165. return m.PeopleLimit
  166. }
  167. return 0
  168. }
  169. func (m *EventItem) GetFee() int64 {
  170. if m != nil {
  171. return m.Fee
  172. }
  173. return 0
  174. }
  175. func (m *EventItem) GetAddr() string {
  176. if m != nil {
  177. return m.Addr
  178. }
  179. return ""
  180. }
  181. func (m *EventItem) GetPeopleCount() int64 {
  182. if m != nil {
  183. return m.PeopleCount
  184. }
  185. return 0
  186. }
  187. func (m *EventItem) GetStatus() int32 {
  188. if m != nil {
  189. return m.Status
  190. }
  191. return 0
  192. }
  193. func (m *EventItem) GetCreatedAt() string {
  194. if m != nil {
  195. return m.CreatedAt
  196. }
  197. return ""
  198. }
  199. func (m *EventItem) GetPic() []string {
  200. if m != nil {
  201. return m.Pic
  202. }
  203. return nil
  204. }
  205. func (m *EventItem) GetSign() bool {
  206. if m != nil {
  207. return m.Sign
  208. }
  209. return false
  210. }
  211. type EventListReply struct {
  212. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  213. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  214. List []*EventItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  215. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  216. XXX_unrecognized []byte `json:"-"`
  217. XXX_sizecache int32 `json:"-"`
  218. }
  219. func (m *EventListReply) Reset() { *m = EventListReply{} }
  220. func (m *EventListReply) String() string { return proto.CompactTextString(m) }
  221. func (*EventListReply) ProtoMessage() {}
  222. func (*EventListReply) Descriptor() ([]byte, []int) {
  223. return fileDescriptor_2d17a9d3f0ddf27e, []int{2}
  224. }
  225. func (m *EventListReply) XXX_Unmarshal(b []byte) error {
  226. return xxx_messageInfo_EventListReply.Unmarshal(m, b)
  227. }
  228. func (m *EventListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  229. return xxx_messageInfo_EventListReply.Marshal(b, m, deterministic)
  230. }
  231. func (m *EventListReply) XXX_Merge(src proto.Message) {
  232. xxx_messageInfo_EventListReply.Merge(m, src)
  233. }
  234. func (m *EventListReply) XXX_Size() int {
  235. return xxx_messageInfo_EventListReply.Size(m)
  236. }
  237. func (m *EventListReply) XXX_DiscardUnknown() {
  238. xxx_messageInfo_EventListReply.DiscardUnknown(m)
  239. }
  240. var xxx_messageInfo_EventListReply proto.InternalMessageInfo
  241. func (m *EventListReply) GetPage() int64 {
  242. if m != nil {
  243. return m.Page
  244. }
  245. return 0
  246. }
  247. func (m *EventListReply) GetTotal() int64 {
  248. if m != nil {
  249. return m.Total
  250. }
  251. return 0
  252. }
  253. func (m *EventListReply) GetList() []*EventItem {
  254. if m != nil {
  255. return m.List
  256. }
  257. return nil
  258. }
  259. type EventSignAddRequest struct {
  260. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  261. EventId int64 `protobuf:"varint,2,opt,name=event_id,json=eventId,proto3" json:"event_id"`
  262. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
  263. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
  264. Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count"`
  265. Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment"`
  266. HouseholdUid int64 `protobuf:"varint,7,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  267. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  268. XXX_unrecognized []byte `json:"-"`
  269. XXX_sizecache int32 `json:"-"`
  270. }
  271. func (m *EventSignAddRequest) Reset() { *m = EventSignAddRequest{} }
  272. func (m *EventSignAddRequest) String() string { return proto.CompactTextString(m) }
  273. func (*EventSignAddRequest) ProtoMessage() {}
  274. func (*EventSignAddRequest) Descriptor() ([]byte, []int) {
  275. return fileDescriptor_2d17a9d3f0ddf27e, []int{3}
  276. }
  277. func (m *EventSignAddRequest) XXX_Unmarshal(b []byte) error {
  278. return xxx_messageInfo_EventSignAddRequest.Unmarshal(m, b)
  279. }
  280. func (m *EventSignAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  281. return xxx_messageInfo_EventSignAddRequest.Marshal(b, m, deterministic)
  282. }
  283. func (m *EventSignAddRequest) XXX_Merge(src proto.Message) {
  284. xxx_messageInfo_EventSignAddRequest.Merge(m, src)
  285. }
  286. func (m *EventSignAddRequest) XXX_Size() int {
  287. return xxx_messageInfo_EventSignAddRequest.Size(m)
  288. }
  289. func (m *EventSignAddRequest) XXX_DiscardUnknown() {
  290. xxx_messageInfo_EventSignAddRequest.DiscardUnknown(m)
  291. }
  292. var xxx_messageInfo_EventSignAddRequest proto.InternalMessageInfo
  293. func (m *EventSignAddRequest) GetGardenId() int64 {
  294. if m != nil {
  295. return m.GardenId
  296. }
  297. return 0
  298. }
  299. func (m *EventSignAddRequest) GetEventId() int64 {
  300. if m != nil {
  301. return m.EventId
  302. }
  303. return 0
  304. }
  305. func (m *EventSignAddRequest) GetPhone() string {
  306. if m != nil {
  307. return m.Phone
  308. }
  309. return ""
  310. }
  311. func (m *EventSignAddRequest) GetName() string {
  312. if m != nil {
  313. return m.Name
  314. }
  315. return ""
  316. }
  317. func (m *EventSignAddRequest) GetCount() int64 {
  318. if m != nil {
  319. return m.Count
  320. }
  321. return 0
  322. }
  323. func (m *EventSignAddRequest) GetComment() string {
  324. if m != nil {
  325. return m.Comment
  326. }
  327. return ""
  328. }
  329. func (m *EventSignAddRequest) GetHouseholdUid() int64 {
  330. if m != nil {
  331. return m.HouseholdUid
  332. }
  333. return 0
  334. }
  335. type EventSignAddReply struct {
  336. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  337. XXX_unrecognized []byte `json:"-"`
  338. XXX_sizecache int32 `json:"-"`
  339. }
  340. func (m *EventSignAddReply) Reset() { *m = EventSignAddReply{} }
  341. func (m *EventSignAddReply) String() string { return proto.CompactTextString(m) }
  342. func (*EventSignAddReply) ProtoMessage() {}
  343. func (*EventSignAddReply) Descriptor() ([]byte, []int) {
  344. return fileDescriptor_2d17a9d3f0ddf27e, []int{4}
  345. }
  346. func (m *EventSignAddReply) XXX_Unmarshal(b []byte) error {
  347. return xxx_messageInfo_EventSignAddReply.Unmarshal(m, b)
  348. }
  349. func (m *EventSignAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  350. return xxx_messageInfo_EventSignAddReply.Marshal(b, m, deterministic)
  351. }
  352. func (m *EventSignAddReply) XXX_Merge(src proto.Message) {
  353. xxx_messageInfo_EventSignAddReply.Merge(m, src)
  354. }
  355. func (m *EventSignAddReply) XXX_Size() int {
  356. return xxx_messageInfo_EventSignAddReply.Size(m)
  357. }
  358. func (m *EventSignAddReply) XXX_DiscardUnknown() {
  359. xxx_messageInfo_EventSignAddReply.DiscardUnknown(m)
  360. }
  361. var xxx_messageInfo_EventSignAddReply proto.InternalMessageInfo
  362. func init() {
  363. proto.RegisterType((*EventListRequest)(nil), "pb_v1.EventListRequest")
  364. proto.RegisterType((*EventItem)(nil), "pb_v1.EventItem")
  365. proto.RegisterType((*EventListReply)(nil), "pb_v1.EventListReply")
  366. proto.RegisterType((*EventSignAddRequest)(nil), "pb_v1.EventSignAddRequest")
  367. proto.RegisterType((*EventSignAddReply)(nil), "pb_v1.EventSignAddReply")
  368. }
  369. func init() {
  370. proto.RegisterFile("event.proto", fileDescriptor_2d17a9d3f0ddf27e)
  371. }
  372. var fileDescriptor_2d17a9d3f0ddf27e = []byte{
  373. // 494 bytes of a gzipped FileDescriptorProto
  374. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0x13, 0x31,
  375. 0x10, 0xd6, 0x26, 0xcd, 0xcf, 0x4e, 0xd2, 0x28, 0xb8, 0x08, 0x19, 0x21, 0x50, 0x08, 0x1c, 0x72,
  376. 0x69, 0xaa, 0xc2, 0x13, 0x14, 0xd4, 0x43, 0xa4, 0x9e, 0xb6, 0xea, 0x85, 0xcb, 0xe2, 0xc4, 0xd3,
  377. 0xc4, 0xd2, 0xc6, 0x36, 0xbb, 0xde, 0xa0, 0xf4, 0xce, 0xdb, 0xf1, 0x08, 0x3c, 0x0c, 0x9a, 0x71,
  378. 0xb2, 0x0a, 0x82, 0x03, 0xa7, 0x9d, 0xef, 0x9b, 0xf1, 0x8c, 0x3d, 0xdf, 0xb7, 0x30, 0xc0, 0x1d,
  379. 0xda, 0x30, 0xf7, 0xa5, 0x0b, 0x4e, 0x74, 0xfc, 0x32, 0xdf, 0x5d, 0x4f, 0x7f, 0x24, 0x30, 0xbe,
  380. 0x25, 0xfa, 0xce, 0x54, 0x21, 0xc3, 0x6f, 0x35, 0x56, 0x41, 0xbc, 0x82, 0x74, 0xad, 0x4a, 0x8d,
  381. 0x36, 0x37, 0x5a, 0x26, 0x93, 0x64, 0xd6, 0xce, 0xfa, 0x91, 0x58, 0x68, 0x21, 0xe0, 0xcc, 0xab,
  382. 0x35, 0xca, 0x16, 0xf3, 0x1c, 0xd3, 0x01, 0xfa, 0xe6, 0x95, 0x79, 0x42, 0xd9, 0x8e, 0x07, 0x88,
  383. 0xb8, 0x37, 0x4f, 0x28, 0xde, 0xc1, 0xf9, 0xc6, 0xd5, 0x15, 0x6e, 0x5c, 0xa1, 0xf3, 0xda, 0x68,
  384. 0xd9, 0xe1, 0x82, 0x61, 0x43, 0x3e, 0x18, 0x3d, 0xfd, 0xd5, 0x82, 0x94, 0xef, 0xb1, 0x08, 0xb8,
  385. 0x15, 0x23, 0x68, 0x35, 0x93, 0x5b, 0x46, 0x8b, 0xe7, 0xd0, 0x09, 0x26, 0x14, 0x71, 0x68, 0x9a,
  386. 0x45, 0x20, 0x24, 0xf4, 0x56, 0xce, 0x06, 0xb4, 0x81, 0x67, 0xa6, 0xd9, 0x11, 0x52, 0x7d, 0x15,
  387. 0x54, 0x19, 0xe4, 0x19, 0xb7, 0x88, 0x40, 0x8c, 0xa1, 0x8d, 0xf6, 0x38, 0x9e, 0x42, 0xf1, 0x06,
  388. 0x06, 0x95, 0x59, 0xdb, 0xbc, 0xf6, 0x39, 0x65, 0xba, 0x9c, 0x49, 0x89, 0x7a, 0xf0, 0xb7, 0x56,
  389. 0x8b, 0xb7, 0x30, 0xf4, 0xe8, 0x7c, 0x81, 0x79, 0x61, 0xb6, 0x26, 0xc8, 0x1e, 0x17, 0x0c, 0x22,
  390. 0x77, 0x47, 0x14, 0x35, 0x7d, 0x44, 0x94, 0xfd, 0xd8, 0xf4, 0x11, 0x91, 0x16, 0xa4, 0xb4, 0x2e,
  391. 0x65, 0xca, 0x77, 0xe2, 0xf8, 0xa4, 0xd1, 0xca, 0xd5, 0x36, 0x48, 0x38, 0x6d, 0xf4, 0x99, 0x28,
  392. 0xf1, 0x02, 0xba, 0x55, 0x50, 0xa1, 0xae, 0xe4, 0x60, 0x92, 0xcc, 0x3a, 0xd9, 0x01, 0x89, 0xd7,
  393. 0x00, 0xab, 0x12, 0x55, 0x40, 0x9d, 0xab, 0x20, 0x87, 0xdc, 0x34, 0x3d, 0x30, 0x37, 0x3c, 0xdf,
  394. 0x9b, 0x95, 0x3c, 0x9f, 0xb4, 0x67, 0x69, 0x46, 0x21, 0xcd, 0xa7, 0x17, 0xc8, 0xd1, 0x24, 0x99,
  395. 0xf5, 0x33, 0x8e, 0xa7, 0x5f, 0x61, 0x74, 0xa2, 0xb2, 0x2f, 0xf6, 0x8d, 0x8c, 0xc9, 0x89, 0x8c,
  396. 0xb4, 0x66, 0x17, 0x54, 0x71, 0xd0, 0x36, 0x02, 0xf1, 0x1e, 0xce, 0x0a, 0x53, 0xd1, 0x8e, 0xdb,
  397. 0xb3, 0xc1, 0x87, 0xf1, 0x9c, 0x8d, 0x33, 0x6f, 0xc4, 0xca, 0x38, 0x3b, 0xfd, 0x99, 0xc0, 0x05,
  398. 0x73, 0xf7, 0x66, 0x6d, 0x6f, 0xb4, 0xfe, 0x2f, 0x2f, 0xbd, 0x84, 0x3e, 0x7b, 0x92, 0x72, 0x71,
  399. 0x66, 0x8f, 0xf1, 0x82, 0x25, 0xf7, 0x1b, 0x67, 0xf1, 0x20, 0x6d, 0x04, 0x74, 0x6b, 0xab, 0xb6,
  400. 0xc8, 0xba, 0xa6, 0x19, 0xc7, 0x54, 0x19, 0x97, 0x1a, 0x85, 0x8d, 0x20, 0x9a, 0x63, 0xbb, 0x25,
  401. 0x73, 0x74, 0x8f, 0xe6, 0x60, 0xf8, 0xb7, 0x1f, 0x7b, 0xff, 0xf0, 0xe3, 0x05, 0x3c, 0xfb, 0xf3,
  402. 0x35, 0xbe, 0xd8, 0x7f, 0x9a, 0x7e, 0x99, 0xf8, 0xd2, 0x79, 0x2c, 0xc3, 0xfe, 0xb2, 0xa9, 0xbe,
  403. 0x5c, 0xab, 0x80, 0xdf, 0xd5, 0xfe, 0xca, 0x2f, 0xaf, 0x76, 0xd7, 0xcb, 0x2e, 0xff, 0x5e, 0x1f,
  404. 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x16, 0x78, 0x2b, 0x67, 0x6d, 0x03, 0x00, 0x00,
  405. }