diff --git a/api/members/members.pb.go b/api/members/members.pb.go index 7eb86b7..f7d25af 100644 --- a/api/members/members.pb.go +++ b/api/members/members.pb.go @@ -945,6 +945,162 @@ func (x *EditManagementResp) GetMsg() string { return "" } +type DisplayManagementReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisplayManagementReq) Reset() { + *x = DisplayManagementReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayManagementReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayManagementReq) ProtoMessage() {} + +func (x *DisplayManagementReq) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayManagementReq.ProtoReflect.Descriptor instead. +func (*DisplayManagementReq) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{13} +} + +type DisplayManagementResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Item []*DisplayManagementItem `protobuf:"bytes,1,rep,name=item,proto3" json:"item"` +} + +func (x *DisplayManagementResp) Reset() { + *x = DisplayManagementResp{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayManagementResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayManagementResp) ProtoMessage() {} + +func (x *DisplayManagementResp) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayManagementResp.ProtoReflect.Descriptor instead. +func (*DisplayManagementResp) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{14} +} + +func (x *DisplayManagementResp) GetItem() []*DisplayManagementItem { + if x != nil { + return x.Item + } + return nil +} + +type DisplayManagementItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` + Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image"` + Brief string `protobuf:"bytes,3,opt,name=brief,proto3" json:"brief"` + Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"` +} + +func (x *DisplayManagementItem) Reset() { + *x = DisplayManagementItem{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayManagementItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayManagementItem) ProtoMessage() {} + +func (x *DisplayManagementItem) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayManagementItem.ProtoReflect.Descriptor instead. +func (*DisplayManagementItem) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{15} +} + +func (x *DisplayManagementItem) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DisplayManagementItem) GetImage() string { + if x != nil { + return x.Image + } + return "" +} + +func (x *DisplayManagementItem) GetBrief() string { + if x != nil { + return x.Brief + } + return "" +} + +func (x *DisplayManagementItem) GetIntroduction() string { + if x != nil { + return x.Introduction + } + return "" +} + // ==================================董事会信息管理====================================== type BoardOfDirectors struct { state protoimpl.MessageState @@ -961,7 +1117,7 @@ type BoardOfDirectors struct { func (x *BoardOfDirectors) Reset() { *x = BoardOfDirectors{} if protoimpl.UnsafeEnabled { - mi := &file_api_members_members_proto_msgTypes[13] + mi := &file_api_members_members_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -974,7 +1130,7 @@ func (x *BoardOfDirectors) String() string { func (*BoardOfDirectors) ProtoMessage() {} func (x *BoardOfDirectors) ProtoReflect() protoreflect.Message { - mi := &file_api_members_members_proto_msgTypes[13] + mi := &file_api_members_members_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -987,7 +1143,7 @@ func (x *BoardOfDirectors) ProtoReflect() protoreflect.Message { // Deprecated: Use BoardOfDirectors.ProtoReflect.Descriptor instead. func (*BoardOfDirectors) Descriptor() ([]byte, []int) { - return file_api_members_members_proto_rawDescGZIP(), []int{13} + return file_api_members_members_proto_rawDescGZIP(), []int{16} } func (x *BoardOfDirectors) GetName() string { @@ -1043,7 +1199,7 @@ type EditBoardOfDirectorsReq struct { func (x *EditBoardOfDirectorsReq) Reset() { *x = EditBoardOfDirectorsReq{} if protoimpl.UnsafeEnabled { - mi := &file_api_members_members_proto_msgTypes[14] + mi := &file_api_members_members_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1056,7 +1212,7 @@ func (x *EditBoardOfDirectorsReq) String() string { func (*EditBoardOfDirectorsReq) ProtoMessage() {} func (x *EditBoardOfDirectorsReq) ProtoReflect() protoreflect.Message { - mi := &file_api_members_members_proto_msgTypes[14] + mi := &file_api_members_members_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1069,7 +1225,7 @@ func (x *EditBoardOfDirectorsReq) ProtoReflect() protoreflect.Message { // Deprecated: Use EditBoardOfDirectorsReq.ProtoReflect.Descriptor instead. func (*EditBoardOfDirectorsReq) Descriptor() ([]byte, []int) { - return file_api_members_members_proto_rawDescGZIP(), []int{14} + return file_api_members_members_proto_rawDescGZIP(), []int{17} } func (x *EditBoardOfDirectorsReq) GetUuid() string { @@ -1139,7 +1295,7 @@ type EditBoardOfDirectorsResp struct { func (x *EditBoardOfDirectorsResp) Reset() { *x = EditBoardOfDirectorsResp{} if protoimpl.UnsafeEnabled { - mi := &file_api_members_members_proto_msgTypes[15] + mi := &file_api_members_members_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1152,7 +1308,7 @@ func (x *EditBoardOfDirectorsResp) String() string { func (*EditBoardOfDirectorsResp) ProtoMessage() {} func (x *EditBoardOfDirectorsResp) ProtoReflect() protoreflect.Message { - mi := &file_api_members_members_proto_msgTypes[15] + mi := &file_api_members_members_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1165,7 +1321,7 @@ func (x *EditBoardOfDirectorsResp) ProtoReflect() protoreflect.Message { // Deprecated: Use EditBoardOfDirectorsResp.ProtoReflect.Descriptor instead. func (*EditBoardOfDirectorsResp) Descriptor() ([]byte, []int) { - return file_api_members_members_proto_rawDescGZIP(), []int{15} + return file_api_members_members_proto_rawDescGZIP(), []int{18} } func (x *EditBoardOfDirectorsResp) GetMsg() string { @@ -1175,6 +1331,154 @@ func (x *EditBoardOfDirectorsResp) GetMsg() string { return "" } +type DisplayBoardOfDirectorsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisplayBoardOfDirectorsReq) Reset() { + *x = DisplayBoardOfDirectorsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayBoardOfDirectorsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayBoardOfDirectorsReq) ProtoMessage() {} + +func (x *DisplayBoardOfDirectorsReq) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayBoardOfDirectorsReq.ProtoReflect.Descriptor instead. +func (*DisplayBoardOfDirectorsReq) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{19} +} + +type DisplayBoardOfDirectorsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Item []*DisplayBoardOfDirectorItem `protobuf:"bytes,1,rep,name=item,proto3" json:"item"` +} + +func (x *DisplayBoardOfDirectorsResp) Reset() { + *x = DisplayBoardOfDirectorsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayBoardOfDirectorsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayBoardOfDirectorsResp) ProtoMessage() {} + +func (x *DisplayBoardOfDirectorsResp) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayBoardOfDirectorsResp.ProtoReflect.Descriptor instead. +func (*DisplayBoardOfDirectorsResp) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{20} +} + +func (x *DisplayBoardOfDirectorsResp) GetItem() []*DisplayBoardOfDirectorItem { + if x != nil { + return x.Item + } + return nil +} + +type DisplayBoardOfDirectorItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` + Brief string `protobuf:"bytes,2,opt,name=brief,proto3" json:"brief"` + Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction"` +} + +func (x *DisplayBoardOfDirectorItem) Reset() { + *x = DisplayBoardOfDirectorItem{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayBoardOfDirectorItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayBoardOfDirectorItem) ProtoMessage() {} + +func (x *DisplayBoardOfDirectorItem) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayBoardOfDirectorItem.ProtoReflect.Descriptor instead. +func (*DisplayBoardOfDirectorItem) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{21} +} + +func (x *DisplayBoardOfDirectorItem) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DisplayBoardOfDirectorItem) GetBrief() string { + if x != nil { + return x.Brief + } + return "" +} + +func (x *DisplayBoardOfDirectorItem) GetIntroduction() string { + if x != nil { + return x.Introduction + } + return "" +} + // ==================================委员会任命管理====================================== type CommitteeAppointments struct { state protoimpl.MessageState @@ -1192,7 +1496,7 @@ type CommitteeAppointments struct { func (x *CommitteeAppointments) Reset() { *x = CommitteeAppointments{} if protoimpl.UnsafeEnabled { - mi := &file_api_members_members_proto_msgTypes[16] + mi := &file_api_members_members_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1205,7 +1509,7 @@ func (x *CommitteeAppointments) String() string { func (*CommitteeAppointments) ProtoMessage() {} func (x *CommitteeAppointments) ProtoReflect() protoreflect.Message { - mi := &file_api_members_members_proto_msgTypes[16] + mi := &file_api_members_members_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1218,7 +1522,7 @@ func (x *CommitteeAppointments) ProtoReflect() protoreflect.Message { // Deprecated: Use CommitteeAppointments.ProtoReflect.Descriptor instead. func (*CommitteeAppointments) Descriptor() ([]byte, []int) { - return file_api_members_members_proto_rawDescGZIP(), []int{16} + return file_api_members_members_proto_rawDescGZIP(), []int{22} } func (x *CommitteeAppointments) GetName() string { @@ -1282,7 +1586,7 @@ type EditCommitteeAppointmentsReq struct { func (x *EditCommitteeAppointmentsReq) Reset() { *x = EditCommitteeAppointmentsReq{} if protoimpl.UnsafeEnabled { - mi := &file_api_members_members_proto_msgTypes[17] + mi := &file_api_members_members_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1295,7 +1599,7 @@ func (x *EditCommitteeAppointmentsReq) String() string { func (*EditCommitteeAppointmentsReq) ProtoMessage() {} func (x *EditCommitteeAppointmentsReq) ProtoReflect() protoreflect.Message { - mi := &file_api_members_members_proto_msgTypes[17] + mi := &file_api_members_members_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1308,7 +1612,7 @@ func (x *EditCommitteeAppointmentsReq) ProtoReflect() protoreflect.Message { // Deprecated: Use EditCommitteeAppointmentsReq.ProtoReflect.Descriptor instead. func (*EditCommitteeAppointmentsReq) Descriptor() ([]byte, []int) { - return file_api_members_members_proto_rawDescGZIP(), []int{17} + return file_api_members_members_proto_rawDescGZIP(), []int{23} } func (x *EditCommitteeAppointmentsReq) GetUuid() string { @@ -1385,7 +1689,7 @@ type EditCommitteeAppointmentsResp struct { func (x *EditCommitteeAppointmentsResp) Reset() { *x = EditCommitteeAppointmentsResp{} if protoimpl.UnsafeEnabled { - mi := &file_api_members_members_proto_msgTypes[18] + mi := &file_api_members_members_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1398,7 +1702,7 @@ func (x *EditCommitteeAppointmentsResp) String() string { func (*EditCommitteeAppointmentsResp) ProtoMessage() {} func (x *EditCommitteeAppointmentsResp) ProtoReflect() protoreflect.Message { - mi := &file_api_members_members_proto_msgTypes[18] + mi := &file_api_members_members_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1411,7 +1715,7 @@ func (x *EditCommitteeAppointmentsResp) ProtoReflect() protoreflect.Message { // Deprecated: Use EditCommitteeAppointmentsResp.ProtoReflect.Descriptor instead. func (*EditCommitteeAppointmentsResp) Descriptor() ([]byte, []int) { - return file_api_members_members_proto_rawDescGZIP(), []int{18} + return file_api_members_members_proto_rawDescGZIP(), []int{24} } func (x *EditCommitteeAppointmentsResp) GetMsg() string { @@ -1421,6 +1725,162 @@ func (x *EditCommitteeAppointmentsResp) GetMsg() string { return "" } +type DisplayCommitteeAppointmentsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisplayCommitteeAppointmentsReq) Reset() { + *x = DisplayCommitteeAppointmentsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayCommitteeAppointmentsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayCommitteeAppointmentsReq) ProtoMessage() {} + +func (x *DisplayCommitteeAppointmentsReq) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayCommitteeAppointmentsReq.ProtoReflect.Descriptor instead. +func (*DisplayCommitteeAppointmentsReq) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{25} +} + +type DisplayCommitteeAppointmentsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Item []*DisplayCommitteeAppointmentsItem `protobuf:"bytes,1,rep,name=item,proto3" json:"item"` +} + +func (x *DisplayCommitteeAppointmentsResp) Reset() { + *x = DisplayCommitteeAppointmentsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayCommitteeAppointmentsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayCommitteeAppointmentsResp) ProtoMessage() {} + +func (x *DisplayCommitteeAppointmentsResp) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayCommitteeAppointmentsResp.ProtoReflect.Descriptor instead. +func (*DisplayCommitteeAppointmentsResp) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{26} +} + +func (x *DisplayCommitteeAppointmentsResp) GetItem() []*DisplayCommitteeAppointmentsItem { + if x != nil { + return x.Item + } + return nil +} + +type DisplayCommitteeAppointmentsItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` + AuditCommittee int32 `protobuf:"varint,2,opt,name=auditCommittee,proto3" json:"auditCommittee"` + CompensationCommittee int32 `protobuf:"varint,3,opt,name=compensationCommittee,proto3" json:"compensationCommittee"` + NominatingCommittee int32 `protobuf:"varint,4,opt,name=nominatingCommittee,proto3" json:"nominatingCommittee"` +} + +func (x *DisplayCommitteeAppointmentsItem) Reset() { + *x = DisplayCommitteeAppointmentsItem{} + if protoimpl.UnsafeEnabled { + mi := &file_api_members_members_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayCommitteeAppointmentsItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayCommitteeAppointmentsItem) ProtoMessage() {} + +func (x *DisplayCommitteeAppointmentsItem) ProtoReflect() protoreflect.Message { + mi := &file_api_members_members_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayCommitteeAppointmentsItem.ProtoReflect.Descriptor instead. +func (*DisplayCommitteeAppointmentsItem) Descriptor() ([]byte, []int) { + return file_api_members_members_proto_rawDescGZIP(), []int{27} +} + +func (x *DisplayCommitteeAppointmentsItem) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DisplayCommitteeAppointmentsItem) GetAuditCommittee() int32 { + if x != nil { + return x.AuditCommittee + } + return 0 +} + +func (x *DisplayCommitteeAppointmentsItem) GetCompensationCommittee() int32 { + if x != nil { + return x.CompensationCommittee + } + return 0 +} + +func (x *DisplayCommitteeAppointmentsItem) GetNominatingCommittee() int32 { + if x != nil { + return x.NominatingCommittee + } + return 0 +} + var File_api_members_members_proto protoreflect.FileDescriptor var file_api_members_members_proto_rawDesc = []byte{ @@ -1531,109 +1991,177 @@ var file_api_members_members_proto_rawDesc = []byte{ 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x26, 0x0a, 0x12, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, - 0x96, 0x01, 0x0a, 0x10, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x6f, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x16, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x22, 0x4b, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x32, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, + 0x69, 0x74, 0x65, 0x6d, 0x22, 0x7b, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x22, 0x0a, + 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x96, 0x01, 0x0a, 0x10, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0xed, 0x01, 0x0a, 0x17, 0x45, + 0x64, 0x69, 0x74, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, + 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1a, + 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x18, 0x45, 0x64, + 0x69, 0x74, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x22, 0x56, 0x0a, 0x1b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x37, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x6a, + 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, + 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, + 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf1, 0x01, 0x0a, 0x15, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, - 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, - 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0xed, 0x01, 0x0a, 0x17, 0x45, 0x64, 0x69, - 0x74, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x69, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, - 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, - 0x0a, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x18, 0x45, 0x64, 0x69, 0x74, - 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xf1, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0e, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x74, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x6e, 0x6f, - 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0xc8, 0x02, 0x0a, 0x1c, 0x45, - 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x75, - 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x61, - 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x04, 0x20, + 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x70, + 0x65, 0x6e, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x30, + 0x0a, 0x13, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, 0x6d, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0xc8, + 0x02, 0x0a, 0x1c, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x12, + 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, + 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x26, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, + 0x6e, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x30, 0x0a, + 0x13, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, 0x6d, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, + 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x1d, 0x45, 0x64, 0x69, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, + 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x21, 0x0a, 0x1f, + 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x22, + 0x61, 0x0a, 0x20, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, + 0x65, 0x6d, 0x22, 0xc6, 0x01, 0x0a, 0x20, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, + 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, - 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x1d, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x32, 0xd4, 0x06, 0x0a, 0x07, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x15, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x41, + 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a, 0x0a, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x43, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x12, 0x18, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x47, 0x65, + 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x49, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, + 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x11, 0x44, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x1d, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1e, + 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, + 0x0a, 0x14, 0x45, 0x64, 0x69, 0x74, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x2e, 0x45, 0x64, 0x69, 0x74, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, + 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x64, 0x0a, 0x17, 0x44, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x6a, 0x0a, 0x19, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, + 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x32, 0xa5, 0x04, 0x0a, 0x07, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x12, 0x15, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x3d, 0x0a, 0x0a, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, - 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x43, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, - 0x18, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, - 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x0e, - 0x45, 0x64, 0x69, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, - 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5b, 0x0a, 0x14, 0x45, 0x64, 0x69, 0x74, 0x42, - 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, - 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x42, 0x6f, - 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x1a, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, - 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4f, 0x66, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x6a, 0x0a, 0x19, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, - 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, + 0x45, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x73, 0x0a, + 0x1c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x29, 0x2e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1648,53 +2176,71 @@ func file_api_members_members_proto_rawDescGZIP() []byte { return file_api_members_members_proto_rawDescData } -var file_api_members_members_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_api_members_members_proto_msgTypes = make([]protoimpl.MessageInfo, 28) var file_api_members_members_proto_goTypes = []interface{}{ - (*AddMemberReq)(nil), // 0: members.AddMemberReq - (*AddMemberResp)(nil), // 1: members.AddMemberResp - (*EditMemberReq)(nil), // 2: members.EditMemberReq - (*EditMemberResp)(nil), // 3: members.EditMemberResp - (*DeleteMemberReq)(nil), // 4: members.DeleteMemberReq - (*DeleteMemberResp)(nil), // 5: members.DeleteMemberResp - (*Filtrate)(nil), // 6: members.Filtrate - (*GetMemberListReq)(nil), // 7: members.GetMemberListReq - (*GetMemberListResp)(nil), // 8: members.GetMemberListResp - (*Member)(nil), // 9: members.Member - (*Management)(nil), // 10: members.Management - (*EditManagementReq)(nil), // 11: members.EditManagementReq - (*EditManagementResp)(nil), // 12: members.EditManagementResp - (*BoardOfDirectors)(nil), // 13: members.BoardOfDirectors - (*EditBoardOfDirectorsReq)(nil), // 14: members.EditBoardOfDirectorsReq - (*EditBoardOfDirectorsResp)(nil), // 15: members.EditBoardOfDirectorsResp - (*CommitteeAppointments)(nil), // 16: members.CommitteeAppointments - (*EditCommitteeAppointmentsReq)(nil), // 17: members.EditCommitteeAppointmentsReq - (*EditCommitteeAppointmentsResp)(nil), // 18: members.EditCommitteeAppointmentsResp + (*AddMemberReq)(nil), // 0: members.AddMemberReq + (*AddMemberResp)(nil), // 1: members.AddMemberResp + (*EditMemberReq)(nil), // 2: members.EditMemberReq + (*EditMemberResp)(nil), // 3: members.EditMemberResp + (*DeleteMemberReq)(nil), // 4: members.DeleteMemberReq + (*DeleteMemberResp)(nil), // 5: members.DeleteMemberResp + (*Filtrate)(nil), // 6: members.Filtrate + (*GetMemberListReq)(nil), // 7: members.GetMemberListReq + (*GetMemberListResp)(nil), // 8: members.GetMemberListResp + (*Member)(nil), // 9: members.Member + (*Management)(nil), // 10: members.Management + (*EditManagementReq)(nil), // 11: members.EditManagementReq + (*EditManagementResp)(nil), // 12: members.EditManagementResp + (*DisplayManagementReq)(nil), // 13: members.DisplayManagementReq + (*DisplayManagementResp)(nil), // 14: members.DisplayManagementResp + (*DisplayManagementItem)(nil), // 15: members.DisplayManagementItem + (*BoardOfDirectors)(nil), // 16: members.BoardOfDirectors + (*EditBoardOfDirectorsReq)(nil), // 17: members.EditBoardOfDirectorsReq + (*EditBoardOfDirectorsResp)(nil), // 18: members.EditBoardOfDirectorsResp + (*DisplayBoardOfDirectorsReq)(nil), // 19: members.DisplayBoardOfDirectorsReq + (*DisplayBoardOfDirectorsResp)(nil), // 20: members.DisplayBoardOfDirectorsResp + (*DisplayBoardOfDirectorItem)(nil), // 21: members.DisplayBoardOfDirectorItem + (*CommitteeAppointments)(nil), // 22: members.CommitteeAppointments + (*EditCommitteeAppointmentsReq)(nil), // 23: members.EditCommitteeAppointmentsReq + (*EditCommitteeAppointmentsResp)(nil), // 24: members.EditCommitteeAppointmentsResp + (*DisplayCommitteeAppointmentsReq)(nil), // 25: members.DisplayCommitteeAppointmentsReq + (*DisplayCommitteeAppointmentsResp)(nil), // 26: members.DisplayCommitteeAppointmentsResp + (*DisplayCommitteeAppointmentsItem)(nil), // 27: members.DisplayCommitteeAppointmentsItem } var file_api_members_members_proto_depIdxs = []int32{ 6, // 0: members.GetMemberListReq.filtrate:type_name -> members.Filtrate 9, // 1: members.GetMemberListResp.data:type_name -> members.Member 10, // 2: members.Member.management:type_name -> members.Management - 13, // 3: members.Member.boardOfDirectors:type_name -> members.BoardOfDirectors - 16, // 4: members.Member.committeeAppointments:type_name -> members.CommitteeAppointments - 0, // 5: members.Members.AddMember:input_type -> members.AddMemberReq - 2, // 6: members.Members.EditMember:input_type -> members.EditMemberReq - 4, // 7: members.Members.DeleteMember:input_type -> members.DeleteMemberReq - 7, // 8: members.Members.GetMemberList:input_type -> members.GetMemberListReq - 11, // 9: members.Members.EditManagement:input_type -> members.EditManagementReq - 14, // 10: members.Members.EditBoardOfDirectors:input_type -> members.EditBoardOfDirectorsReq - 17, // 11: members.Members.EditCommitteeAppointments:input_type -> members.EditCommitteeAppointmentsReq - 1, // 12: members.Members.AddMember:output_type -> members.AddMemberResp - 3, // 13: members.Members.EditMember:output_type -> members.EditMemberResp - 5, // 14: members.Members.DeleteMember:output_type -> members.DeleteMemberResp - 8, // 15: members.Members.GetMemberList:output_type -> members.GetMemberListResp - 12, // 16: members.Members.EditManagement:output_type -> members.EditManagementResp - 15, // 17: members.Members.EditBoardOfDirectors:output_type -> members.EditBoardOfDirectorsResp - 18, // 18: members.Members.EditCommitteeAppointments:output_type -> members.EditCommitteeAppointmentsResp - 12, // [12:19] is the sub-list for method output_type - 5, // [5:12] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 16, // 3: members.Member.boardOfDirectors:type_name -> members.BoardOfDirectors + 22, // 4: members.Member.committeeAppointments:type_name -> members.CommitteeAppointments + 15, // 5: members.DisplayManagementResp.item:type_name -> members.DisplayManagementItem + 21, // 6: members.DisplayBoardOfDirectorsResp.item:type_name -> members.DisplayBoardOfDirectorItem + 27, // 7: members.DisplayCommitteeAppointmentsResp.item:type_name -> members.DisplayCommitteeAppointmentsItem + 0, // 8: members.Members.AddMember:input_type -> members.AddMemberReq + 2, // 9: members.Members.EditMember:input_type -> members.EditMemberReq + 4, // 10: members.Members.DeleteMember:input_type -> members.DeleteMemberReq + 7, // 11: members.Members.GetMemberList:input_type -> members.GetMemberListReq + 11, // 12: members.Members.EditManagement:input_type -> members.EditManagementReq + 13, // 13: members.Members.DisplayManagement:input_type -> members.DisplayManagementReq + 17, // 14: members.Members.EditBoardOfDirectors:input_type -> members.EditBoardOfDirectorsReq + 19, // 15: members.Members.DisplayBoardOfDirectors:input_type -> members.DisplayBoardOfDirectorsReq + 23, // 16: members.Members.EditCommitteeAppointments:input_type -> members.EditCommitteeAppointmentsReq + 25, // 17: members.Members.DisplayCommitteeAppointments:input_type -> members.DisplayCommitteeAppointmentsReq + 1, // 18: members.Members.AddMember:output_type -> members.AddMemberResp + 3, // 19: members.Members.EditMember:output_type -> members.EditMemberResp + 5, // 20: members.Members.DeleteMember:output_type -> members.DeleteMemberResp + 8, // 21: members.Members.GetMemberList:output_type -> members.GetMemberListResp + 12, // 22: members.Members.EditManagement:output_type -> members.EditManagementResp + 14, // 23: members.Members.DisplayManagement:output_type -> members.DisplayManagementResp + 18, // 24: members.Members.EditBoardOfDirectors:output_type -> members.EditBoardOfDirectorsResp + 20, // 25: members.Members.DisplayBoardOfDirectors:output_type -> members.DisplayBoardOfDirectorsResp + 24, // 26: members.Members.EditCommitteeAppointments:output_type -> members.EditCommitteeAppointmentsResp + 26, // 27: members.Members.DisplayCommitteeAppointments:output_type -> members.DisplayCommitteeAppointmentsResp + 18, // [18:28] is the sub-list for method output_type + 8, // [8:18] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } func init() { file_api_members_members_proto_init() } @@ -1860,7 +2406,7 @@ func file_api_members_members_proto_init() { } } file_api_members_members_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoardOfDirectors); i { + switch v := v.(*DisplayManagementReq); i { case 0: return &v.state case 1: @@ -1872,7 +2418,7 @@ func file_api_members_members_proto_init() { } } file_api_members_members_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditBoardOfDirectorsReq); i { + switch v := v.(*DisplayManagementResp); i { case 0: return &v.state case 1: @@ -1884,7 +2430,7 @@ func file_api_members_members_proto_init() { } } file_api_members_members_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditBoardOfDirectorsResp); i { + switch v := v.(*DisplayManagementItem); i { case 0: return &v.state case 1: @@ -1896,7 +2442,7 @@ func file_api_members_members_proto_init() { } } file_api_members_members_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitteeAppointments); i { + switch v := v.(*BoardOfDirectors); i { case 0: return &v.state case 1: @@ -1908,7 +2454,7 @@ func file_api_members_members_proto_init() { } } file_api_members_members_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditCommitteeAppointmentsReq); i { + switch v := v.(*EditBoardOfDirectorsReq); i { case 0: return &v.state case 1: @@ -1920,6 +2466,78 @@ func file_api_members_members_proto_init() { } } file_api_members_members_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EditBoardOfDirectorsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayBoardOfDirectorsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayBoardOfDirectorsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayBoardOfDirectorItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitteeAppointments); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EditCommitteeAppointmentsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EditCommitteeAppointmentsResp); i { case 0: return &v.state @@ -1931,6 +2549,42 @@ func file_api_members_members_proto_init() { return nil } } + file_api_members_members_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayCommitteeAppointmentsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayCommitteeAppointmentsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_members_members_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayCommitteeAppointmentsItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1938,7 +2592,7 @@ func file_api_members_members_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_members_members_proto_rawDesc, NumEnums: 0, - NumMessages: 19, + NumMessages: 28, NumExtensions: 0, NumServices: 1, }, diff --git a/api/members/members.validator.pb.go b/api/members/members.validator.pb.go index 27af7c4..d271860 100644 --- a/api/members/members.validator.pb.go +++ b/api/members/members.validator.pb.go @@ -81,6 +81,22 @@ func (this *EditManagementReq) Validate() error { func (this *EditManagementResp) Validate() error { return nil } +func (this *DisplayManagementReq) Validate() error { + return nil +} +func (this *DisplayManagementResp) Validate() error { + for _, item := range this.Item { + if item != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Item", err) + } + } + } + return nil +} +func (this *DisplayManagementItem) Validate() error { + return nil +} func (this *BoardOfDirectors) Validate() error { return nil } @@ -90,6 +106,22 @@ func (this *EditBoardOfDirectorsReq) Validate() error { func (this *EditBoardOfDirectorsResp) Validate() error { return nil } +func (this *DisplayBoardOfDirectorsReq) Validate() error { + return nil +} +func (this *DisplayBoardOfDirectorsResp) Validate() error { + for _, item := range this.Item { + if item != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Item", err) + } + } + } + return nil +} +func (this *DisplayBoardOfDirectorItem) Validate() error { + return nil +} func (this *CommitteeAppointments) Validate() error { return nil } @@ -99,3 +131,19 @@ func (this *EditCommitteeAppointmentsReq) Validate() error { func (this *EditCommitteeAppointmentsResp) Validate() error { return nil } +func (this *DisplayCommitteeAppointmentsReq) Validate() error { + return nil +} +func (this *DisplayCommitteeAppointmentsResp) Validate() error { + for _, item := range this.Item { + if item != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Item", err) + } + } + } + return nil +} +func (this *DisplayCommitteeAppointmentsItem) Validate() error { + return nil +} diff --git a/api/members/members_triple.pb.go b/api/members/members_triple.pb.go index 476954a..63ab9fe 100644 --- a/api/members/members_triple.pb.go +++ b/api/members/members_triple.pb.go @@ -35,10 +35,13 @@ type MembersClient interface { GetMemberList(ctx context.Context, in *GetMemberListReq, opts ...grpc_go.CallOption) (*GetMemberListResp, common.ErrorWithAttachment) // ===================================成员信息管理======================================= EditManagement(ctx context.Context, in *EditManagementReq, opts ...grpc_go.CallOption) (*EditManagementResp, common.ErrorWithAttachment) + DisplayManagement(ctx context.Context, in *DisplayManagementReq, opts ...grpc_go.CallOption) (*DisplayManagementResp, common.ErrorWithAttachment) // ===================================董事会信息管理======================================= EditBoardOfDirectors(ctx context.Context, in *EditBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*EditBoardOfDirectorsResp, common.ErrorWithAttachment) + DisplayBoardOfDirectors(ctx context.Context, in *DisplayBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*DisplayBoardOfDirectorsResp, common.ErrorWithAttachment) // ==================================委员会任命管理====================================== EditCommitteeAppointments(ctx context.Context, in *EditCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*EditCommitteeAppointmentsResp, common.ErrorWithAttachment) + DisplayCommitteeAppointments(ctx context.Context, in *DisplayCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*DisplayCommitteeAppointmentsResp, common.ErrorWithAttachment) } type membersClient struct { @@ -46,13 +49,16 @@ type membersClient struct { } type MembersClientImpl struct { - AddMember func(ctx context.Context, in *AddMemberReq) (*AddMemberResp, error) - EditMember func(ctx context.Context, in *EditMemberReq) (*EditMemberResp, error) - DeleteMember func(ctx context.Context, in *DeleteMemberReq) (*DeleteMemberResp, error) - GetMemberList func(ctx context.Context, in *GetMemberListReq) (*GetMemberListResp, error) - EditManagement func(ctx context.Context, in *EditManagementReq) (*EditManagementResp, error) - EditBoardOfDirectors func(ctx context.Context, in *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) - EditCommitteeAppointments func(ctx context.Context, in *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) + AddMember func(ctx context.Context, in *AddMemberReq) (*AddMemberResp, error) + EditMember func(ctx context.Context, in *EditMemberReq) (*EditMemberResp, error) + DeleteMember func(ctx context.Context, in *DeleteMemberReq) (*DeleteMemberResp, error) + GetMemberList func(ctx context.Context, in *GetMemberListReq) (*GetMemberListResp, error) + EditManagement func(ctx context.Context, in *EditManagementReq) (*EditManagementResp, error) + DisplayManagement func(ctx context.Context, in *DisplayManagementReq) (*DisplayManagementResp, error) + EditBoardOfDirectors func(ctx context.Context, in *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) + DisplayBoardOfDirectors func(ctx context.Context, in *DisplayBoardOfDirectorsReq) (*DisplayBoardOfDirectorsResp, error) + EditCommitteeAppointments func(ctx context.Context, in *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) + DisplayCommitteeAppointments func(ctx context.Context, in *DisplayCommitteeAppointmentsReq) (*DisplayCommitteeAppointmentsResp, error) } func (c *MembersClientImpl) GetDubboStub(cc *triple.TripleConn) MembersClient { @@ -97,18 +103,36 @@ func (c *membersClient) EditManagement(ctx context.Context, in *EditManagementRe return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditManagement", in, out) } +func (c *membersClient) DisplayManagement(ctx context.Context, in *DisplayManagementReq, opts ...grpc_go.CallOption) (*DisplayManagementResp, common.ErrorWithAttachment) { + out := new(DisplayManagementResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayManagement", in, out) +} + func (c *membersClient) EditBoardOfDirectors(ctx context.Context, in *EditBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*EditBoardOfDirectorsResp, common.ErrorWithAttachment) { out := new(EditBoardOfDirectorsResp) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditBoardOfDirectors", in, out) } +func (c *membersClient) DisplayBoardOfDirectors(ctx context.Context, in *DisplayBoardOfDirectorsReq, opts ...grpc_go.CallOption) (*DisplayBoardOfDirectorsResp, common.ErrorWithAttachment) { + out := new(DisplayBoardOfDirectorsResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayBoardOfDirectors", in, out) +} + func (c *membersClient) EditCommitteeAppointments(ctx context.Context, in *EditCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*EditCommitteeAppointmentsResp, common.ErrorWithAttachment) { out := new(EditCommitteeAppointmentsResp) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/EditCommitteeAppointments", in, out) } +func (c *membersClient) DisplayCommitteeAppointments(ctx context.Context, in *DisplayCommitteeAppointmentsReq, opts ...grpc_go.CallOption) (*DisplayCommitteeAppointmentsResp, common.ErrorWithAttachment) { + out := new(DisplayCommitteeAppointmentsResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayCommitteeAppointments", in, out) +} + // MembersServer is the server API for Members service. // All implementations must embed UnimplementedMembersServer // for forward compatibility @@ -120,10 +144,13 @@ type MembersServer interface { GetMemberList(context.Context, *GetMemberListReq) (*GetMemberListResp, error) // ===================================成员信息管理======================================= EditManagement(context.Context, *EditManagementReq) (*EditManagementResp, error) + DisplayManagement(context.Context, *DisplayManagementReq) (*DisplayManagementResp, error) // ===================================董事会信息管理======================================= EditBoardOfDirectors(context.Context, *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) + DisplayBoardOfDirectors(context.Context, *DisplayBoardOfDirectorsReq) (*DisplayBoardOfDirectorsResp, error) // ==================================委员会任命管理====================================== EditCommitteeAppointments(context.Context, *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) + DisplayCommitteeAppointments(context.Context, *DisplayCommitteeAppointmentsReq) (*DisplayCommitteeAppointmentsResp, error) mustEmbedUnimplementedMembersServer() } @@ -147,12 +174,21 @@ func (UnimplementedMembersServer) GetMemberList(context.Context, *GetMemberListR func (UnimplementedMembersServer) EditManagement(context.Context, *EditManagementReq) (*EditManagementResp, error) { return nil, status.Errorf(codes.Unimplemented, "method EditManagement not implemented") } +func (UnimplementedMembersServer) DisplayManagement(context.Context, *DisplayManagementReq) (*DisplayManagementResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisplayManagement not implemented") +} func (UnimplementedMembersServer) EditBoardOfDirectors(context.Context, *EditBoardOfDirectorsReq) (*EditBoardOfDirectorsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method EditBoardOfDirectors not implemented") } +func (UnimplementedMembersServer) DisplayBoardOfDirectors(context.Context, *DisplayBoardOfDirectorsReq) (*DisplayBoardOfDirectorsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisplayBoardOfDirectors not implemented") +} func (UnimplementedMembersServer) EditCommitteeAppointments(context.Context, *EditCommitteeAppointmentsReq) (*EditCommitteeAppointmentsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method EditCommitteeAppointments not implemented") } +func (UnimplementedMembersServer) DisplayCommitteeAppointments(context.Context, *DisplayCommitteeAppointmentsReq) (*DisplayCommitteeAppointmentsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisplayCommitteeAppointments not implemented") +} func (s *UnimplementedMembersServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } @@ -326,6 +362,35 @@ func _Members_EditManagement_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _Members_DisplayManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(DisplayManagementReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("DisplayManagement", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + func _Members_EditBoardOfDirectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(EditBoardOfDirectorsReq) if err := dec(in); err != nil { @@ -355,6 +420,35 @@ func _Members_EditBoardOfDirectors_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Members_DisplayBoardOfDirectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(DisplayBoardOfDirectorsReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("DisplayBoardOfDirectors", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + func _Members_EditCommitteeAppointments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(EditCommitteeAppointmentsReq) if err := dec(in); err != nil { @@ -384,6 +478,35 @@ func _Members_EditCommitteeAppointments_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _Members_DisplayCommitteeAppointments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(DisplayCommitteeAppointmentsReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("DisplayCommitteeAppointments", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + // Members_ServiceDesc is the grpc_go.ServiceDesc for Members service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) @@ -411,14 +534,26 @@ var Members_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "EditManagement", Handler: _Members_EditManagement_Handler, }, + { + MethodName: "DisplayManagement", + Handler: _Members_DisplayManagement_Handler, + }, { MethodName: "EditBoardOfDirectors", Handler: _Members_EditBoardOfDirectors_Handler, }, + { + MethodName: "DisplayBoardOfDirectors", + Handler: _Members_DisplayBoardOfDirectors_Handler, + }, { MethodName: "EditCommitteeAppointments", Handler: _Members_EditCommitteeAppointments_Handler, }, + { + MethodName: "DisplayCommitteeAppointments", + Handler: _Members_DisplayCommitteeAppointments_Handler, + }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "api/members/members.proto", diff --git a/api/reports/reports.pb.go b/api/reports/reports.pb.go index db5e130..e1f00e5 100644 --- a/api/reports/reports.pb.go +++ b/api/reports/reports.pb.go @@ -699,6 +699,154 @@ func (x *DeleteAnnualReportResp) GetMsg() string { return "" } +type DisplayAnnualReportReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisplayAnnualReportReq) Reset() { + *x = DisplayAnnualReportReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_reports_reports_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayAnnualReportReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayAnnualReportReq) ProtoMessage() {} + +func (x *DisplayAnnualReportReq) ProtoReflect() protoreflect.Message { + mi := &file_api_reports_reports_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayAnnualReportReq.ProtoReflect.Descriptor instead. +func (*DisplayAnnualReportReq) Descriptor() ([]byte, []int) { + return file_api_reports_reports_proto_rawDescGZIP(), []int{10} +} + +type DisplayAnnualReportResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Item []*DisplayAnnualReportItem `protobuf:"bytes,1,rep,name=Item,proto3" json:"Item"` +} + +func (x *DisplayAnnualReportResp) Reset() { + *x = DisplayAnnualReportResp{} + if protoimpl.UnsafeEnabled { + mi := &file_api_reports_reports_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayAnnualReportResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayAnnualReportResp) ProtoMessage() {} + +func (x *DisplayAnnualReportResp) ProtoReflect() protoreflect.Message { + mi := &file_api_reports_reports_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayAnnualReportResp.ProtoReflect.Descriptor instead. +func (*DisplayAnnualReportResp) Descriptor() ([]byte, []int) { + return file_api_reports_reports_proto_rawDescGZIP(), []int{11} +} + +func (x *DisplayAnnualReportResp) GetItem() []*DisplayAnnualReportItem { + if x != nil { + return x.Item + } + return nil +} + +type DisplayAnnualReportItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName"` + Date int64 `protobuf:"varint,2,opt,name=date,proto3" json:"date"` + FileUrl string `protobuf:"bytes,3,opt,name=fileUrl,proto3" json:"fileUrl"` +} + +func (x *DisplayAnnualReportItem) Reset() { + *x = DisplayAnnualReportItem{} + if protoimpl.UnsafeEnabled { + mi := &file_api_reports_reports_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayAnnualReportItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayAnnualReportItem) ProtoMessage() {} + +func (x *DisplayAnnualReportItem) ProtoReflect() protoreflect.Message { + mi := &file_api_reports_reports_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayAnnualReportItem.ProtoReflect.Descriptor instead. +func (*DisplayAnnualReportItem) Descriptor() ([]byte, []int) { + return file_api_reports_reports_proto_rawDescGZIP(), []int{12} +} + +func (x *DisplayAnnualReportItem) GetFileName() string { + if x != nil { + return x.FileName + } + return "" +} + +func (x *DisplayAnnualReportItem) GetDate() int64 { + if x != nil { + return x.Date + } + return 0 +} + +func (x *DisplayAnnualReportItem) GetFileUrl() string { + if x != nil { + return x.FileUrl + } + return "" +} + // ==================================季度报告====================================== type GetQuarterlyReportListReq struct { state protoimpl.MessageState @@ -713,7 +861,7 @@ type GetQuarterlyReportListReq struct { func (x *GetQuarterlyReportListReq) Reset() { *x = GetQuarterlyReportListReq{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[10] + mi := &file_api_reports_reports_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -726,7 +874,7 @@ func (x *GetQuarterlyReportListReq) String() string { func (*GetQuarterlyReportListReq) ProtoMessage() {} func (x *GetQuarterlyReportListReq) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[10] + mi := &file_api_reports_reports_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -739,7 +887,7 @@ func (x *GetQuarterlyReportListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GetQuarterlyReportListReq.ProtoReflect.Descriptor instead. func (*GetQuarterlyReportListReq) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{10} + return file_api_reports_reports_proto_rawDescGZIP(), []int{13} } func (x *GetQuarterlyReportListReq) GetPage() int32 { @@ -778,7 +926,7 @@ type GetQuarterlyReportListResp struct { func (x *GetQuarterlyReportListResp) Reset() { *x = GetQuarterlyReportListResp{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[11] + mi := &file_api_reports_reports_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -791,7 +939,7 @@ func (x *GetQuarterlyReportListResp) String() string { func (*GetQuarterlyReportListResp) ProtoMessage() {} func (x *GetQuarterlyReportListResp) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[11] + mi := &file_api_reports_reports_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -804,7 +952,7 @@ func (x *GetQuarterlyReportListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GetQuarterlyReportListResp.ProtoReflect.Descriptor instead. func (*GetQuarterlyReportListResp) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{11} + return file_api_reports_reports_proto_rawDescGZIP(), []int{14} } func (x *GetQuarterlyReportListResp) GetMsg() string { @@ -862,7 +1010,7 @@ type QuarterlyReport struct { func (x *QuarterlyReport) Reset() { *x = QuarterlyReport{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[12] + mi := &file_api_reports_reports_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -875,7 +1023,7 @@ func (x *QuarterlyReport) String() string { func (*QuarterlyReport) ProtoMessage() {} func (x *QuarterlyReport) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[12] + mi := &file_api_reports_reports_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -888,7 +1036,7 @@ func (x *QuarterlyReport) ProtoReflect() protoreflect.Message { // Deprecated: Use QuarterlyReport.ProtoReflect.Descriptor instead. func (*QuarterlyReport) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{12} + return file_api_reports_reports_proto_rawDescGZIP(), []int{15} } func (x *QuarterlyReport) GetId() int32 { @@ -977,7 +1125,7 @@ type AddQuarterlyReportReq struct { func (x *AddQuarterlyReportReq) Reset() { *x = AddQuarterlyReportReq{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[13] + mi := &file_api_reports_reports_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -990,7 +1138,7 @@ func (x *AddQuarterlyReportReq) String() string { func (*AddQuarterlyReportReq) ProtoMessage() {} func (x *AddQuarterlyReportReq) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[13] + mi := &file_api_reports_reports_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1003,7 +1151,7 @@ func (x *AddQuarterlyReportReq) ProtoReflect() protoreflect.Message { // Deprecated: Use AddQuarterlyReportReq.ProtoReflect.Descriptor instead. func (*AddQuarterlyReportReq) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{13} + return file_api_reports_reports_proto_rawDescGZIP(), []int{16} } func (x *AddQuarterlyReportReq) GetFileName() string { @@ -1059,7 +1207,7 @@ type AddQuarterlyReportResp struct { func (x *AddQuarterlyReportResp) Reset() { *x = AddQuarterlyReportResp{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[14] + mi := &file_api_reports_reports_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1072,7 +1220,7 @@ func (x *AddQuarterlyReportResp) String() string { func (*AddQuarterlyReportResp) ProtoMessage() {} func (x *AddQuarterlyReportResp) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[14] + mi := &file_api_reports_reports_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1085,7 +1233,7 @@ func (x *AddQuarterlyReportResp) ProtoReflect() protoreflect.Message { // Deprecated: Use AddQuarterlyReportResp.ProtoReflect.Descriptor instead. func (*AddQuarterlyReportResp) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{14} + return file_api_reports_reports_proto_rawDescGZIP(), []int{17} } func (x *AddQuarterlyReportResp) GetMsg() string { @@ -1114,7 +1262,7 @@ type EditQuarterlyReportReq struct { func (x *EditQuarterlyReportReq) Reset() { *x = EditQuarterlyReportReq{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[15] + mi := &file_api_reports_reports_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1127,7 +1275,7 @@ func (x *EditQuarterlyReportReq) String() string { func (*EditQuarterlyReportReq) ProtoMessage() {} func (x *EditQuarterlyReportReq) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[15] + mi := &file_api_reports_reports_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1140,7 +1288,7 @@ func (x *EditQuarterlyReportReq) ProtoReflect() protoreflect.Message { // Deprecated: Use EditQuarterlyReportReq.ProtoReflect.Descriptor instead. func (*EditQuarterlyReportReq) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{15} + return file_api_reports_reports_proto_rawDescGZIP(), []int{18} } func (x *EditQuarterlyReportReq) GetId() int32 { @@ -1217,7 +1365,7 @@ type EditQuarterlyReportResp struct { func (x *EditQuarterlyReportResp) Reset() { *x = EditQuarterlyReportResp{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[16] + mi := &file_api_reports_reports_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1230,7 +1378,7 @@ func (x *EditQuarterlyReportResp) String() string { func (*EditQuarterlyReportResp) ProtoMessage() {} func (x *EditQuarterlyReportResp) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[16] + mi := &file_api_reports_reports_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1243,7 +1391,7 @@ func (x *EditQuarterlyReportResp) ProtoReflect() protoreflect.Message { // Deprecated: Use EditQuarterlyReportResp.ProtoReflect.Descriptor instead. func (*EditQuarterlyReportResp) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{16} + return file_api_reports_reports_proto_rawDescGZIP(), []int{19} } func (x *EditQuarterlyReportResp) GetMsg() string { @@ -1264,7 +1412,7 @@ type DeleteQuarterlyReportReq struct { func (x *DeleteQuarterlyReportReq) Reset() { *x = DeleteQuarterlyReportReq{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[17] + mi := &file_api_reports_reports_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1277,7 +1425,7 @@ func (x *DeleteQuarterlyReportReq) String() string { func (*DeleteQuarterlyReportReq) ProtoMessage() {} func (x *DeleteQuarterlyReportReq) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[17] + mi := &file_api_reports_reports_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1290,7 +1438,7 @@ func (x *DeleteQuarterlyReportReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteQuarterlyReportReq.ProtoReflect.Descriptor instead. func (*DeleteQuarterlyReportReq) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{17} + return file_api_reports_reports_proto_rawDescGZIP(), []int{20} } func (x *DeleteQuarterlyReportReq) GetId() int32 { @@ -1311,7 +1459,7 @@ type DeleteQuarterlyReportResp struct { func (x *DeleteQuarterlyReportResp) Reset() { *x = DeleteQuarterlyReportResp{} if protoimpl.UnsafeEnabled { - mi := &file_api_reports_reports_proto_msgTypes[18] + mi := &file_api_reports_reports_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1324,7 +1472,7 @@ func (x *DeleteQuarterlyReportResp) String() string { func (*DeleteQuarterlyReportResp) ProtoMessage() {} func (x *DeleteQuarterlyReportResp) ProtoReflect() protoreflect.Message { - mi := &file_api_reports_reports_proto_msgTypes[18] + mi := &file_api_reports_reports_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1337,7 +1485,7 @@ func (x *DeleteQuarterlyReportResp) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteQuarterlyReportResp.ProtoReflect.Descriptor instead. func (*DeleteQuarterlyReportResp) Descriptor() ([]byte, []int) { - return file_api_reports_reports_proto_rawDescGZIP(), []int{18} + return file_api_reports_reports_proto_rawDescGZIP(), []int{21} } func (x *DeleteQuarterlyReportResp) GetMsg() string { @@ -1347,6 +1495,162 @@ func (x *DeleteQuarterlyReportResp) GetMsg() string { return "" } +type DisplayQuarterlyReportReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisplayQuarterlyReportReq) Reset() { + *x = DisplayQuarterlyReportReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_reports_reports_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayQuarterlyReportReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayQuarterlyReportReq) ProtoMessage() {} + +func (x *DisplayQuarterlyReportReq) ProtoReflect() protoreflect.Message { + mi := &file_api_reports_reports_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayQuarterlyReportReq.ProtoReflect.Descriptor instead. +func (*DisplayQuarterlyReportReq) Descriptor() ([]byte, []int) { + return file_api_reports_reports_proto_rawDescGZIP(), []int{22} +} + +type DisplayQuarterlyReportResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Item []*DisplayQuarterlyReportItem `protobuf:"bytes,1,rep,name=Item,proto3" json:"Item"` +} + +func (x *DisplayQuarterlyReportResp) Reset() { + *x = DisplayQuarterlyReportResp{} + if protoimpl.UnsafeEnabled { + mi := &file_api_reports_reports_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayQuarterlyReportResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayQuarterlyReportResp) ProtoMessage() {} + +func (x *DisplayQuarterlyReportResp) ProtoReflect() protoreflect.Message { + mi := &file_api_reports_reports_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayQuarterlyReportResp.ProtoReflect.Descriptor instead. +func (*DisplayQuarterlyReportResp) Descriptor() ([]byte, []int) { + return file_api_reports_reports_proto_rawDescGZIP(), []int{23} +} + +func (x *DisplayQuarterlyReportResp) GetItem() []*DisplayQuarterlyReportItem { + if x != nil { + return x.Item + } + return nil +} + +type DisplayQuarterlyReportItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName"` + FileIntroduce string `protobuf:"bytes,2,opt,name=fileIntroduce,proto3" json:"fileIntroduce"` + Attachment string `protobuf:"bytes,3,opt,name=attachment,proto3" json:"attachment"` + AttachmentName string `protobuf:"bytes,4,opt,name=attachmentName,proto3" json:"attachmentName"` +} + +func (x *DisplayQuarterlyReportItem) Reset() { + *x = DisplayQuarterlyReportItem{} + if protoimpl.UnsafeEnabled { + mi := &file_api_reports_reports_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisplayQuarterlyReportItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisplayQuarterlyReportItem) ProtoMessage() {} + +func (x *DisplayQuarterlyReportItem) ProtoReflect() protoreflect.Message { + mi := &file_api_reports_reports_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisplayQuarterlyReportItem.ProtoReflect.Descriptor instead. +func (*DisplayQuarterlyReportItem) Descriptor() ([]byte, []int) { + return file_api_reports_reports_proto_rawDescGZIP(), []int{24} +} + +func (x *DisplayQuarterlyReportItem) GetFileName() string { + if x != nil { + return x.FileName + } + return "" +} + +func (x *DisplayQuarterlyReportItem) GetFileIntroduce() string { + if x != nil { + return x.FileIntroduce + } + return "" +} + +func (x *DisplayQuarterlyReportItem) GetAttachment() string { + if x != nil { + return x.Attachment + } + return "" +} + +func (x *DisplayQuarterlyReportItem) GetAttachmentName() string { + if x != nil { + return x.AttachmentName + } + return "" +} + var File_api_reports_reports_proto protoreflect.FileDescriptor var file_api_reports_reports_proto_rawDesc = []byte{ @@ -1422,7 +1726,20 @@ var file_api_reports_reports_proto_rawDesc = []byte{ 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2a, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, - 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x7a, 0x0a, 0x19, + 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x18, 0x0a, 0x16, + 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x22, 0x4f, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x34, 0x0a, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74, 0x65, + 0x6d, 0x52, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x63, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74, + 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x7a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, @@ -1503,53 +1820,83 @@ var file_api_reports_reports_proto_rawDesc = []byte{ 0x02, 0x69, 0x64, 0x22, 0x2d, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, - 0x73, 0x67, 0x32, 0xcd, 0x05, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x58, - 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, - 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, - 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, - 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x2e, 0x72, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, + 0x73, 0x67, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, + 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x22, + 0x55, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, + 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x37, 0x0a, + 0x04, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x72, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, + 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x22, 0xa6, 0x01, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6e, + 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, + 0x8a, 0x07, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, + 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, - 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, - 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, - 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, - 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, - 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, - 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x55, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, - 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x13, 0x45, 0x64, 0x69, 0x74, - 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, - 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, - 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, - 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, - 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, - 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x21, 0x2e, 0x72, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, - 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, - 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, - 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, + 0x41, 0x64, 0x64, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x4f, 0x0a, 0x10, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, + 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, + 0x45, 0x64, 0x69, 0x74, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, + 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, + 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x75, 0x61, + 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x13, 0x44, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x6e, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, 0x72, + 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x61, + 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x47, 0x65, + 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x51, + 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1e, + 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, + 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, + 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x51, 0x75, 0x61, 0x72, + 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x58, 0x0a, 0x13, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, + 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, + 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x15, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x21, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x16, 0x44, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x44, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6c, 0x79, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, + 0x6c, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0c, 0x5a, 0x0a, + 0x2e, 0x2f, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -1564,7 +1911,7 @@ func file_api_reports_reports_proto_rawDescGZIP() []byte { return file_api_reports_reports_proto_rawDescData } -var file_api_reports_reports_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_api_reports_reports_proto_msgTypes = make([]protoimpl.MessageInfo, 25) var file_api_reports_reports_proto_goTypes = []interface{}{ (*Filtrate)(nil), // 0: reports.Filtrate (*GetAnnualReportListReq)(nil), // 1: reports.GetAnnualReportListReq @@ -1576,42 +1923,54 @@ var file_api_reports_reports_proto_goTypes = []interface{}{ (*EditAnnualReportResp)(nil), // 7: reports.EditAnnualReportResp (*DeleteAnnualReportReq)(nil), // 8: reports.DeleteAnnualReportReq (*DeleteAnnualReportResp)(nil), // 9: reports.DeleteAnnualReportResp - (*GetQuarterlyReportListReq)(nil), // 10: reports.GetQuarterlyReportListReq - (*GetQuarterlyReportListResp)(nil), // 11: reports.GetQuarterlyReportListResp - (*QuarterlyReport)(nil), // 12: reports.QuarterlyReport - (*AddQuarterlyReportReq)(nil), // 13: reports.AddQuarterlyReportReq - (*AddQuarterlyReportResp)(nil), // 14: reports.AddQuarterlyReportResp - (*EditQuarterlyReportReq)(nil), // 15: reports.EditQuarterlyReportReq - (*EditQuarterlyReportResp)(nil), // 16: reports.EditQuarterlyReportResp - (*DeleteQuarterlyReportReq)(nil), // 17: reports.DeleteQuarterlyReportReq - (*DeleteQuarterlyReportResp)(nil), // 18: reports.DeleteQuarterlyReportResp + (*DisplayAnnualReportReq)(nil), // 10: reports.DisplayAnnualReportReq + (*DisplayAnnualReportResp)(nil), // 11: reports.DisplayAnnualReportResp + (*DisplayAnnualReportItem)(nil), // 12: reports.DisplayAnnualReportItem + (*GetQuarterlyReportListReq)(nil), // 13: reports.GetQuarterlyReportListReq + (*GetQuarterlyReportListResp)(nil), // 14: reports.GetQuarterlyReportListResp + (*QuarterlyReport)(nil), // 15: reports.QuarterlyReport + (*AddQuarterlyReportReq)(nil), // 16: reports.AddQuarterlyReportReq + (*AddQuarterlyReportResp)(nil), // 17: reports.AddQuarterlyReportResp + (*EditQuarterlyReportReq)(nil), // 18: reports.EditQuarterlyReportReq + (*EditQuarterlyReportResp)(nil), // 19: reports.EditQuarterlyReportResp + (*DeleteQuarterlyReportReq)(nil), // 20: reports.DeleteQuarterlyReportReq + (*DeleteQuarterlyReportResp)(nil), // 21: reports.DeleteQuarterlyReportResp + (*DisplayQuarterlyReportReq)(nil), // 22: reports.DisplayQuarterlyReportReq + (*DisplayQuarterlyReportResp)(nil), // 23: reports.DisplayQuarterlyReportResp + (*DisplayQuarterlyReportItem)(nil), // 24: reports.DisplayQuarterlyReportItem } var file_api_reports_reports_proto_depIdxs = []int32{ 0, // 0: reports.GetAnnualReportListReq.filtrate:type_name -> reports.Filtrate 3, // 1: reports.GetAnnualReportListResp.data:type_name -> reports.AnnualReport - 0, // 2: reports.GetQuarterlyReportListReq.filtrate:type_name -> reports.Filtrate - 12, // 3: reports.GetQuarterlyReportListResp.data:type_name -> reports.QuarterlyReport - 1, // 4: reports.Reports.GetAnnualReportList:input_type -> reports.GetAnnualReportListReq - 4, // 5: reports.Reports.AddAnnualReport:input_type -> reports.AddAnnualReportReq - 6, // 6: reports.Reports.EditAnnualReport:input_type -> reports.EditAnnualReportReq - 8, // 7: reports.Reports.DeleteAnnualReport:input_type -> reports.DeleteAnnualReportReq - 10, // 8: reports.Reports.GetQuarterlyReportList:input_type -> reports.GetQuarterlyReportListReq - 13, // 9: reports.Reports.AddQuarterlyReport:input_type -> reports.AddQuarterlyReportReq - 15, // 10: reports.Reports.EditQuarterlyReport:input_type -> reports.EditQuarterlyReportReq - 17, // 11: reports.Reports.DeleteQuarterlyReport:input_type -> reports.DeleteQuarterlyReportReq - 2, // 12: reports.Reports.GetAnnualReportList:output_type -> reports.GetAnnualReportListResp - 5, // 13: reports.Reports.AddAnnualReport:output_type -> reports.AddAnnualReportResp - 7, // 14: reports.Reports.EditAnnualReport:output_type -> reports.EditAnnualReportResp - 9, // 15: reports.Reports.DeleteAnnualReport:output_type -> reports.DeleteAnnualReportResp - 11, // 16: reports.Reports.GetQuarterlyReportList:output_type -> reports.GetQuarterlyReportListResp - 14, // 17: reports.Reports.AddQuarterlyReport:output_type -> reports.AddQuarterlyReportResp - 16, // 18: reports.Reports.EditQuarterlyReport:output_type -> reports.EditQuarterlyReportResp - 18, // 19: reports.Reports.DeleteQuarterlyReport:output_type -> reports.DeleteQuarterlyReportResp - 12, // [12:20] is the sub-list for method output_type - 4, // [4:12] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 12, // 2: reports.DisplayAnnualReportResp.Item:type_name -> reports.DisplayAnnualReportItem + 0, // 3: reports.GetQuarterlyReportListReq.filtrate:type_name -> reports.Filtrate + 15, // 4: reports.GetQuarterlyReportListResp.data:type_name -> reports.QuarterlyReport + 24, // 5: reports.DisplayQuarterlyReportResp.Item:type_name -> reports.DisplayQuarterlyReportItem + 1, // 6: reports.Reports.GetAnnualReportList:input_type -> reports.GetAnnualReportListReq + 4, // 7: reports.Reports.AddAnnualReport:input_type -> reports.AddAnnualReportReq + 6, // 8: reports.Reports.EditAnnualReport:input_type -> reports.EditAnnualReportReq + 8, // 9: reports.Reports.DeleteAnnualReport:input_type -> reports.DeleteAnnualReportReq + 10, // 10: reports.Reports.DisplayAnnualReport:input_type -> reports.DisplayAnnualReportReq + 13, // 11: reports.Reports.GetQuarterlyReportList:input_type -> reports.GetQuarterlyReportListReq + 16, // 12: reports.Reports.AddQuarterlyReport:input_type -> reports.AddQuarterlyReportReq + 18, // 13: reports.Reports.EditQuarterlyReport:input_type -> reports.EditQuarterlyReportReq + 20, // 14: reports.Reports.DeleteQuarterlyReport:input_type -> reports.DeleteQuarterlyReportReq + 22, // 15: reports.Reports.DisplayQuarterlyReport:input_type -> reports.DisplayQuarterlyReportReq + 2, // 16: reports.Reports.GetAnnualReportList:output_type -> reports.GetAnnualReportListResp + 5, // 17: reports.Reports.AddAnnualReport:output_type -> reports.AddAnnualReportResp + 7, // 18: reports.Reports.EditAnnualReport:output_type -> reports.EditAnnualReportResp + 9, // 19: reports.Reports.DeleteAnnualReport:output_type -> reports.DeleteAnnualReportResp + 11, // 20: reports.Reports.DisplayAnnualReport:output_type -> reports.DisplayAnnualReportResp + 14, // 21: reports.Reports.GetQuarterlyReportList:output_type -> reports.GetQuarterlyReportListResp + 17, // 22: reports.Reports.AddQuarterlyReport:output_type -> reports.AddQuarterlyReportResp + 19, // 23: reports.Reports.EditQuarterlyReport:output_type -> reports.EditQuarterlyReportResp + 21, // 24: reports.Reports.DeleteQuarterlyReport:output_type -> reports.DeleteQuarterlyReportResp + 23, // 25: reports.Reports.DisplayQuarterlyReport:output_type -> reports.DisplayQuarterlyReportResp + 16, // [16:26] is the sub-list for method output_type + 6, // [6:16] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_api_reports_reports_proto_init() } @@ -1741,7 +2100,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetQuarterlyReportListReq); i { + switch v := v.(*DisplayAnnualReportReq); i { case 0: return &v.state case 1: @@ -1753,7 +2112,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetQuarterlyReportListResp); i { + switch v := v.(*DisplayAnnualReportResp); i { case 0: return &v.state case 1: @@ -1765,7 +2124,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuarterlyReport); i { + switch v := v.(*DisplayAnnualReportItem); i { case 0: return &v.state case 1: @@ -1777,7 +2136,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddQuarterlyReportReq); i { + switch v := v.(*GetQuarterlyReportListReq); i { case 0: return &v.state case 1: @@ -1789,7 +2148,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddQuarterlyReportResp); i { + switch v := v.(*GetQuarterlyReportListResp); i { case 0: return &v.state case 1: @@ -1801,7 +2160,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditQuarterlyReportReq); i { + switch v := v.(*QuarterlyReport); i { case 0: return &v.state case 1: @@ -1813,7 +2172,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditQuarterlyReportResp); i { + switch v := v.(*AddQuarterlyReportReq); i { case 0: return &v.state case 1: @@ -1825,7 +2184,7 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteQuarterlyReportReq); i { + switch v := v.(*AddQuarterlyReportResp); i { case 0: return &v.state case 1: @@ -1837,6 +2196,42 @@ func file_api_reports_reports_proto_init() { } } file_api_reports_reports_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EditQuarterlyReportReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_reports_reports_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EditQuarterlyReportResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_reports_reports_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteQuarterlyReportReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_reports_reports_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteQuarterlyReportResp); i { case 0: return &v.state @@ -1848,6 +2243,42 @@ func file_api_reports_reports_proto_init() { return nil } } + file_api_reports_reports_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayQuarterlyReportReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_reports_reports_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayQuarterlyReportResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_reports_reports_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisplayQuarterlyReportItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1855,7 +2286,7 @@ func file_api_reports_reports_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_reports_reports_proto_rawDesc, NumEnums: 0, - NumMessages: 19, + NumMessages: 25, NumExtensions: 0, NumServices: 1, }, diff --git a/api/reports/reports.validator.pb.go b/api/reports/reports.validator.pb.go index 14c042b..510f8a5 100644 --- a/api/reports/reports.validator.pb.go +++ b/api/reports/reports.validator.pb.go @@ -57,6 +57,22 @@ func (this *DeleteAnnualReportReq) Validate() error { func (this *DeleteAnnualReportResp) Validate() error { return nil } +func (this *DisplayAnnualReportReq) Validate() error { + return nil +} +func (this *DisplayAnnualReportResp) Validate() error { + for _, item := range this.Item { + if item != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Item", err) + } + } + } + return nil +} +func (this *DisplayAnnualReportItem) Validate() error { + return nil +} func (this *GetQuarterlyReportListReq) Validate() error { if this.Filtrate != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Filtrate); err != nil { @@ -96,3 +112,19 @@ func (this *DeleteQuarterlyReportReq) Validate() error { func (this *DeleteQuarterlyReportResp) Validate() error { return nil } +func (this *DisplayQuarterlyReportReq) Validate() error { + return nil +} +func (this *DisplayQuarterlyReportResp) Validate() error { + for _, item := range this.Item { + if item != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Item", err) + } + } + } + return nil +} +func (this *DisplayQuarterlyReportItem) Validate() error { + return nil +} diff --git a/api/reports/reports_triple.pb.go b/api/reports/reports_triple.pb.go index 78c1f7c..8ed36a0 100644 --- a/api/reports/reports_triple.pb.go +++ b/api/reports/reports_triple.pb.go @@ -33,11 +33,13 @@ type ReportsClient interface { AddAnnualReport(ctx context.Context, in *AddAnnualReportReq, opts ...grpc_go.CallOption) (*AddAnnualReportResp, common.ErrorWithAttachment) EditAnnualReport(ctx context.Context, in *EditAnnualReportReq, opts ...grpc_go.CallOption) (*EditAnnualReportResp, common.ErrorWithAttachment) DeleteAnnualReport(ctx context.Context, in *DeleteAnnualReportReq, opts ...grpc_go.CallOption) (*DeleteAnnualReportResp, common.ErrorWithAttachment) + DisplayAnnualReport(ctx context.Context, in *DisplayAnnualReportReq, opts ...grpc_go.CallOption) (*DisplayAnnualReportResp, common.ErrorWithAttachment) // ==================================季度报告====================================== GetQuarterlyReportList(ctx context.Context, in *GetQuarterlyReportListReq, opts ...grpc_go.CallOption) (*GetQuarterlyReportListResp, common.ErrorWithAttachment) AddQuarterlyReport(ctx context.Context, in *AddQuarterlyReportReq, opts ...grpc_go.CallOption) (*AddQuarterlyReportResp, common.ErrorWithAttachment) EditQuarterlyReport(ctx context.Context, in *EditQuarterlyReportReq, opts ...grpc_go.CallOption) (*EditQuarterlyReportResp, common.ErrorWithAttachment) DeleteQuarterlyReport(ctx context.Context, in *DeleteQuarterlyReportReq, opts ...grpc_go.CallOption) (*DeleteQuarterlyReportResp, common.ErrorWithAttachment) + DisplayQuarterlyReport(ctx context.Context, in *DisplayQuarterlyReportReq, opts ...grpc_go.CallOption) (*DisplayQuarterlyReportResp, common.ErrorWithAttachment) } type reportsClient struct { @@ -49,10 +51,12 @@ type ReportsClientImpl struct { AddAnnualReport func(ctx context.Context, in *AddAnnualReportReq) (*AddAnnualReportResp, error) EditAnnualReport func(ctx context.Context, in *EditAnnualReportReq) (*EditAnnualReportResp, error) DeleteAnnualReport func(ctx context.Context, in *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) + DisplayAnnualReport func(ctx context.Context, in *DisplayAnnualReportReq) (*DisplayAnnualReportResp, error) GetQuarterlyReportList func(ctx context.Context, in *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) AddQuarterlyReport func(ctx context.Context, in *AddQuarterlyReportReq) (*AddQuarterlyReportResp, error) EditQuarterlyReport func(ctx context.Context, in *EditQuarterlyReportReq) (*EditQuarterlyReportResp, error) DeleteQuarterlyReport func(ctx context.Context, in *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) + DisplayQuarterlyReport func(ctx context.Context, in *DisplayQuarterlyReportReq) (*DisplayQuarterlyReportResp, error) } func (c *ReportsClientImpl) GetDubboStub(cc *triple.TripleConn) ReportsClient { @@ -91,6 +95,12 @@ func (c *reportsClient) DeleteAnnualReport(ctx context.Context, in *DeleteAnnual return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteAnnualReport", in, out) } +func (c *reportsClient) DisplayAnnualReport(ctx context.Context, in *DisplayAnnualReportReq, opts ...grpc_go.CallOption) (*DisplayAnnualReportResp, common.ErrorWithAttachment) { + out := new(DisplayAnnualReportResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayAnnualReport", in, out) +} + func (c *reportsClient) GetQuarterlyReportList(ctx context.Context, in *GetQuarterlyReportListReq, opts ...grpc_go.CallOption) (*GetQuarterlyReportListResp, common.ErrorWithAttachment) { out := new(GetQuarterlyReportListResp) interfaceKey := ctx.Value(constant.InterfaceKey).(string) @@ -115,6 +125,12 @@ func (c *reportsClient) DeleteQuarterlyReport(ctx context.Context, in *DeleteQua return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteQuarterlyReport", in, out) } +func (c *reportsClient) DisplayQuarterlyReport(ctx context.Context, in *DisplayQuarterlyReportReq, opts ...grpc_go.CallOption) (*DisplayQuarterlyReportResp, common.ErrorWithAttachment) { + out := new(DisplayQuarterlyReportResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DisplayQuarterlyReport", in, out) +} + // ReportsServer is the server API for Reports service. // All implementations must embed UnimplementedReportsServer // for forward compatibility @@ -124,11 +140,13 @@ type ReportsServer interface { AddAnnualReport(context.Context, *AddAnnualReportReq) (*AddAnnualReportResp, error) EditAnnualReport(context.Context, *EditAnnualReportReq) (*EditAnnualReportResp, error) DeleteAnnualReport(context.Context, *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) + DisplayAnnualReport(context.Context, *DisplayAnnualReportReq) (*DisplayAnnualReportResp, error) // ==================================季度报告====================================== GetQuarterlyReportList(context.Context, *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) AddQuarterlyReport(context.Context, *AddQuarterlyReportReq) (*AddQuarterlyReportResp, error) EditQuarterlyReport(context.Context, *EditQuarterlyReportReq) (*EditQuarterlyReportResp, error) DeleteQuarterlyReport(context.Context, *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) + DisplayQuarterlyReport(context.Context, *DisplayQuarterlyReportReq) (*DisplayQuarterlyReportResp, error) mustEmbedUnimplementedReportsServer() } @@ -149,6 +167,9 @@ func (UnimplementedReportsServer) EditAnnualReport(context.Context, *EditAnnualR func (UnimplementedReportsServer) DeleteAnnualReport(context.Context, *DeleteAnnualReportReq) (*DeleteAnnualReportResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnualReport not implemented") } +func (UnimplementedReportsServer) DisplayAnnualReport(context.Context, *DisplayAnnualReportReq) (*DisplayAnnualReportResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisplayAnnualReport not implemented") +} func (UnimplementedReportsServer) GetQuarterlyReportList(context.Context, *GetQuarterlyReportListReq) (*GetQuarterlyReportListResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetQuarterlyReportList not implemented") } @@ -161,6 +182,9 @@ func (UnimplementedReportsServer) EditQuarterlyReport(context.Context, *EditQuar func (UnimplementedReportsServer) DeleteQuarterlyReport(context.Context, *DeleteQuarterlyReportReq) (*DeleteQuarterlyReportResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteQuarterlyReport not implemented") } +func (UnimplementedReportsServer) DisplayQuarterlyReport(context.Context, *DisplayQuarterlyReportReq) (*DisplayQuarterlyReportResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisplayQuarterlyReport not implemented") +} func (s *UnimplementedReportsServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } @@ -305,6 +329,35 @@ func _Reports_DeleteAnnualReport_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _Reports_DisplayAnnualReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(DisplayAnnualReportReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("DisplayAnnualReport", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + func _Reports_GetQuarterlyReportList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetQuarterlyReportListReq) if err := dec(in); err != nil { @@ -421,6 +474,35 @@ func _Reports_DeleteQuarterlyReport_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } +func _Reports_DisplayQuarterlyReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(DisplayQuarterlyReportReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("DisplayQuarterlyReport", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + // Reports_ServiceDesc is the grpc_go.ServiceDesc for Reports service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) @@ -444,6 +526,10 @@ var Reports_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "DeleteAnnualReport", Handler: _Reports_DeleteAnnualReport_Handler, }, + { + MethodName: "DisplayAnnualReport", + Handler: _Reports_DisplayAnnualReport_Handler, + }, { MethodName: "GetQuarterlyReportList", Handler: _Reports_GetQuarterlyReportList_Handler, @@ -460,6 +546,10 @@ var Reports_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "DeleteQuarterlyReport", Handler: _Reports_DeleteQuarterlyReport_Handler, }, + { + MethodName: "DisplayQuarterlyReport", + Handler: _Reports_DisplayQuarterlyReport_Handler, + }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "api/reports/reports.proto", diff --git a/pkg/router/router.go b/pkg/router/router.go index c9120d0..68b8e2a 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -195,11 +195,13 @@ func NewRouter() *gin.Engine { reportsRoute := v1.Group("/reports") reportsRouteLogin := reportsRoute.Group("", middleware.CheckWebLogin(service.AccountProvider)) // 年度报告 + reportsRoute.POST("/annual/display", middleware.Cors(), reports.AnnualReportDisplay) reportsRouteLogin.POST("/annual/create", reports.AnnualReportCreate) reportsRouteLogin.POST("/annual/list", reports.AnnualReportList) reportsRouteLogin.POST("/annual/delete", reports.AnnualReportDelete) reportsRouteLogin.POST("/annual/edit", reports.AnnualReportEdit) // 季度报告 + reportsRoute.POST("/quarterly/display", middleware.Cors(), reports.QuarterlyReportDisplay) reportsRouteLogin.POST("/quarterly/create", reports.QuarterlyReportCreate) reportsRouteLogin.POST("/quarterly/list", reports.QuarterlyReportList) reportsRouteLogin.POST("/quarterly/delete", reports.QuarterlyReportDelete) @@ -210,7 +212,7 @@ func NewRouter() *gin.Engine { emailAlertsRoute := v1.Group("/emailalerts") emailAlertsRouteLogin := emailAlertsRoute.Group("", middleware.CheckWebLogin(service.AccountProvider)) - emailAlertsRoute.POST("/submit", emailAlert.EmailAlertSubmit) + emailAlertsRoute.POST("/submit", middleware.Cors(), emailAlert.EmailAlertSubmit) emailAlertsRouteLogin.POST("/list", emailAlert.GetEmailInformationList) } { @@ -224,10 +226,13 @@ func NewRouter() *gin.Engine { membersRouteLogin.POST("/delete", members.DeleteMember) // 成员部门信息管理 membersRouteLogin.POST("/management/edit", members.EditManagement) + membersRoute.POST("/management/display", middleware.Cors(), members.DisplayManagement) // 董事会信息管理 membersRouteLogin.POST("/boardofdirectors/edit", members.EditBoardOfDirectors) + membersRoute.POST("/boardofdirectors/display", middleware.Cors(), members.DisplayBoardOfDirectors) // 委员会任命管理 membersRouteLogin.POST("/committeeappointments/edit", members.EditCommitteeAppointments) + membersRoute.POST("/committeeappointments/display", middleware.Cors(), members.DisplayCommitteeAppointments) } { importRoute := v1.Group("/import") diff --git a/pkg/service/members/members.go b/pkg/service/members/members.go index 4e801ba..846ea79 100644 --- a/pkg/service/members/members.go +++ b/pkg/service/members/members.go @@ -120,3 +120,45 @@ func EditCommitteeAppointments(ctx *gin.Context) { } service.Success(ctx, resp) } + +func DisplayCommitteeAppointments(ctx *gin.Context) { + var req members.DisplayCommitteeAppointmentsReq + if err := ctx.ShouldBindJSON(&req); err != nil { + service.Error(ctx, err) + return + } + resp, err := service.MembersProvider.DisplayCommitteeAppointments(ctx, &req) + if err != nil { + service.Error(ctx, err) + return + } + service.Success(ctx, resp) +} + +func DisplayBoardOfDirectors(ctx *gin.Context) { + var req members.DisplayBoardOfDirectorsReq + if err := ctx.ShouldBindJSON(&req); err != nil { + service.Error(ctx, err) + return + } + resp, err := service.MembersProvider.DisplayBoardOfDirectors(ctx, &req) + if err != nil { + service.Error(ctx, err) + return + } + service.Success(ctx, resp) +} + +func DisplayManagement(ctx *gin.Context) { + var req members.DisplayManagementReq + if err := ctx.ShouldBindJSON(&req); err != nil { + service.Error(ctx, err) + return + } + resp, err := service.MembersProvider.DisplayManagement(ctx, &req) + if err != nil { + service.Error(ctx, err) + return + } + service.Success(ctx, resp) +} diff --git a/pkg/service/reports/annualReports.go b/pkg/service/reports/annualReports.go index 18d1cc7..ed03697 100644 --- a/pkg/service/reports/annualReports.go +++ b/pkg/service/reports/annualReports.go @@ -70,3 +70,31 @@ func AnnualReportEdit(ctx *gin.Context) { } service.Success(ctx, resp) } + +func AnnualReportDisplay(ctx *gin.Context) { + var req reports.DisplayAnnualReportReq + if err := ctx.ShouldBindJSON(&req); err != nil { + service.Error(ctx, err) + return + } + resp, err := service.ReportsProvider.DisplayAnnualReport(ctx, &req) + if err != nil { + service.Error(ctx, err) + return + } + service.Success(ctx, resp) +} + +func QuarterlyReportDisplay(ctx *gin.Context) { + var req reports.DisplayQuarterlyReportReq + if err := ctx.ShouldBindJSON(&req); err != nil { + service.Error(ctx, err) + return + } + resp, err := service.ReportsProvider.DisplayQuarterlyReport(ctx, &req) + if err != nil { + service.Error(ctx, err) + return + } + service.Success(ctx, resp) +}