123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: event.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type EventListRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- HouseholdUid int64 `protobuf:"varint,5,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EventListRequest) Reset() { *m = EventListRequest{} }
- func (m *EventListRequest) String() string { return proto.CompactTextString(m) }
- func (*EventListRequest) ProtoMessage() {}
- func (*EventListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d17a9d3f0ddf27e, []int{0}
- }
- func (m *EventListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EventListRequest.Unmarshal(m, b)
- }
- func (m *EventListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EventListRequest.Marshal(b, m, deterministic)
- }
- func (m *EventListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventListRequest.Merge(m, src)
- }
- func (m *EventListRequest) XXX_Size() int {
- return xxx_messageInfo_EventListRequest.Size(m)
- }
- func (m *EventListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_EventListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_EventListRequest proto.InternalMessageInfo
- func (m *EventListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *EventListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *EventListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *EventListRequest) GetHouseholdUid() int64 {
- if m != nil {
- return m.HouseholdUid
- }
- return 0
- }
- type EventItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 标题
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
- // 内容
- Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
- // 活动开始时间
- Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start"`
- // 活动结束时间
- End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end"`
- // 报名截止时间
- SignUpEnd int64 `protobuf:"varint,6,opt,name=sign_up_end,json=signUpEnd,proto3" json:"sign_up_end"`
- // 人数限制
- PeopleLimit int64 `protobuf:"varint,7,opt,name=people_limit,json=peopleLimit,proto3" json:"people_limit"`
- // 报名费用
- Fee int64 `protobuf:"varint,8,opt,name=fee,proto3" json:"fee"`
- // 活动地址
- Addr string `protobuf:"bytes,9,opt,name=addr,proto3" json:"addr"`
- // 已报名人数
- PeopleCount int64 `protobuf:"varint,10,opt,name=people_count,json=peopleCount,proto3" json:"people_count"`
- // 1 报名进行中 2 报名已截止
- Status int32 `protobuf:"varint,11,opt,name=status,proto3" json:"status"`
- CreatedAt string `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- // 图片
- Pic []string `protobuf:"bytes,13,rep,name=pic,proto3" json:"pic"`
- // 物业端不管该字段,小程序查询时该字段有效 是否报名
- Sign bool `protobuf:"varint,14,opt,name=sign,proto3" json:"sign"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EventItem) Reset() { *m = EventItem{} }
- func (m *EventItem) String() string { return proto.CompactTextString(m) }
- func (*EventItem) ProtoMessage() {}
- func (*EventItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d17a9d3f0ddf27e, []int{1}
- }
- func (m *EventItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EventItem.Unmarshal(m, b)
- }
- func (m *EventItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EventItem.Marshal(b, m, deterministic)
- }
- func (m *EventItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventItem.Merge(m, src)
- }
- func (m *EventItem) XXX_Size() int {
- return xxx_messageInfo_EventItem.Size(m)
- }
- func (m *EventItem) XXX_DiscardUnknown() {
- xxx_messageInfo_EventItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_EventItem proto.InternalMessageInfo
- func (m *EventItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *EventItem) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *EventItem) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *EventItem) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *EventItem) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *EventItem) GetSignUpEnd() int64 {
- if m != nil {
- return m.SignUpEnd
- }
- return 0
- }
- func (m *EventItem) GetPeopleLimit() int64 {
- if m != nil {
- return m.PeopleLimit
- }
- return 0
- }
- func (m *EventItem) GetFee() int64 {
- if m != nil {
- return m.Fee
- }
- return 0
- }
- func (m *EventItem) GetAddr() string {
- if m != nil {
- return m.Addr
- }
- return ""
- }
- func (m *EventItem) GetPeopleCount() int64 {
- if m != nil {
- return m.PeopleCount
- }
- return 0
- }
- func (m *EventItem) GetStatus() int32 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *EventItem) GetCreatedAt() string {
- if m != nil {
- return m.CreatedAt
- }
- return ""
- }
- func (m *EventItem) GetPic() []string {
- if m != nil {
- return m.Pic
- }
- return nil
- }
- func (m *EventItem) GetSign() bool {
- if m != nil {
- return m.Sign
- }
- return false
- }
- type EventListReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*EventItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EventListReply) Reset() { *m = EventListReply{} }
- func (m *EventListReply) String() string { return proto.CompactTextString(m) }
- func (*EventListReply) ProtoMessage() {}
- func (*EventListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d17a9d3f0ddf27e, []int{2}
- }
- func (m *EventListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EventListReply.Unmarshal(m, b)
- }
- func (m *EventListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EventListReply.Marshal(b, m, deterministic)
- }
- func (m *EventListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventListReply.Merge(m, src)
- }
- func (m *EventListReply) XXX_Size() int {
- return xxx_messageInfo_EventListReply.Size(m)
- }
- func (m *EventListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_EventListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_EventListReply proto.InternalMessageInfo
- func (m *EventListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *EventListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *EventListReply) GetList() []*EventItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type EventSignAddRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- EventId int64 `protobuf:"varint,2,opt,name=event_id,json=eventId,proto3" json:"event_id"`
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
- Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count"`
- Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment"`
- HouseholdUid int64 `protobuf:"varint,7,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EventSignAddRequest) Reset() { *m = EventSignAddRequest{} }
- func (m *EventSignAddRequest) String() string { return proto.CompactTextString(m) }
- func (*EventSignAddRequest) ProtoMessage() {}
- func (*EventSignAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d17a9d3f0ddf27e, []int{3}
- }
- func (m *EventSignAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EventSignAddRequest.Unmarshal(m, b)
- }
- func (m *EventSignAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EventSignAddRequest.Marshal(b, m, deterministic)
- }
- func (m *EventSignAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventSignAddRequest.Merge(m, src)
- }
- func (m *EventSignAddRequest) XXX_Size() int {
- return xxx_messageInfo_EventSignAddRequest.Size(m)
- }
- func (m *EventSignAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_EventSignAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_EventSignAddRequest proto.InternalMessageInfo
- func (m *EventSignAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *EventSignAddRequest) GetEventId() int64 {
- if m != nil {
- return m.EventId
- }
- return 0
- }
- func (m *EventSignAddRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *EventSignAddRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *EventSignAddRequest) GetCount() int64 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- func (m *EventSignAddRequest) GetComment() string {
- if m != nil {
- return m.Comment
- }
- return ""
- }
- func (m *EventSignAddRequest) GetHouseholdUid() int64 {
- if m != nil {
- return m.HouseholdUid
- }
- return 0
- }
- type EventSignAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *EventSignAddReply) Reset() { *m = EventSignAddReply{} }
- func (m *EventSignAddReply) String() string { return proto.CompactTextString(m) }
- func (*EventSignAddReply) ProtoMessage() {}
- func (*EventSignAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d17a9d3f0ddf27e, []int{4}
- }
- func (m *EventSignAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EventSignAddReply.Unmarshal(m, b)
- }
- func (m *EventSignAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EventSignAddReply.Marshal(b, m, deterministic)
- }
- func (m *EventSignAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventSignAddReply.Merge(m, src)
- }
- func (m *EventSignAddReply) XXX_Size() int {
- return xxx_messageInfo_EventSignAddReply.Size(m)
- }
- func (m *EventSignAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_EventSignAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_EventSignAddReply proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*EventListRequest)(nil), "pb_v1.EventListRequest")
- proto.RegisterType((*EventItem)(nil), "pb_v1.EventItem")
- proto.RegisterType((*EventListReply)(nil), "pb_v1.EventListReply")
- proto.RegisterType((*EventSignAddRequest)(nil), "pb_v1.EventSignAddRequest")
- proto.RegisterType((*EventSignAddReply)(nil), "pb_v1.EventSignAddReply")
- }
- func init() {
- proto.RegisterFile("event.proto", fileDescriptor_2d17a9d3f0ddf27e)
- }
- var fileDescriptor_2d17a9d3f0ddf27e = []byte{
- // 494 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0x13, 0x31,
- 0x10, 0xd6, 0x26, 0xcd, 0xcf, 0x4e, 0xd2, 0x28, 0xb8, 0x08, 0x19, 0x21, 0x50, 0x08, 0x1c, 0x72,
- 0x69, 0xaa, 0xc2, 0x13, 0x14, 0xd4, 0x43, 0xa4, 0x9e, 0xb6, 0xea, 0x85, 0xcb, 0xe2, 0xc4, 0xd3,
- 0xc4, 0xd2, 0xc6, 0x36, 0xbb, 0xde, 0xa0, 0xf4, 0xce, 0xdb, 0xf1, 0x08, 0x3c, 0x0c, 0x9a, 0x71,
- 0xb2, 0x0a, 0x82, 0x03, 0xa7, 0x9d, 0xef, 0x9b, 0xf1, 0x8c, 0x3d, 0xdf, 0xb7, 0x30, 0xc0, 0x1d,
- 0xda, 0x30, 0xf7, 0xa5, 0x0b, 0x4e, 0x74, 0xfc, 0x32, 0xdf, 0x5d, 0x4f, 0x7f, 0x24, 0x30, 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