|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// versions:
|
|
|
// protoc-gen-go v1.21.0
|
|
|
// protoc v3.11.4
|
|
|
// source: BaseClass.proto
|
|
|
|
|
|
//在web层重新生成pb.go的方法
|
|
|
|
|
|
//
|
|
|
//protoc -I Business/BaseClass/BaseClassProto/ Business/BaseClass/BaseClassProto/BaseClass.proto --go_out=plugins=grpc:Business/BaseClass/BaseClassProto
|
|
|
|
|
|
package BaseClassProto
|
|
|
|
|
|
import (
|
|
|
context "context"
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
grpc "google.golang.org/grpc"
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
status "google.golang.org/grpc/status"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
reflect "reflect"
|
|
|
sync "sync"
|
|
|
)
|
|
|
|
|
|
const (
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
// of the legacy proto package is being used.
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
type ModelArg struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
//班级ID
|
|
|
ClassId string `protobuf:"bytes,1,opt,name=ClassId,proto3" json:"ClassId,omitempty"`
|
|
|
//整数ID
|
|
|
IdInt int32 `protobuf:"varint,2,opt,name=IdInt,proto3" json:"IdInt,omitempty"`
|
|
|
//班号
|
|
|
Bh int32 `protobuf:"varint,3,opt,name=Bh,proto3" json:"Bh,omitempty"`
|
|
|
//班级编码 规则:10位学校编码+4位入学年份+1位学段+3位班号 学段:0:幼儿 1:小学 2:初中 3:高中 4:职业 5:高等
|
|
|
ClassCode string `protobuf:"bytes,4,opt,name=ClassCode,proto3" json:"ClassCode,omitempty"`
|
|
|
//班级名称
|
|
|
ClassName string `protobuf:"bytes,5,opt,name=ClassName,proto3" json:"ClassName,omitempty"`
|
|
|
//班级别名
|
|
|
ClassAlias string `protobuf:"bytes,6,opt,name=ClassAlias,proto3" json:"ClassAlias,omitempty"`
|
|
|
//入学年份
|
|
|
Rxnf int32 `protobuf:"varint,7,opt,name=Rxnf,proto3" json:"Rxnf,omitempty"`
|
|
|
//入学季节
|
|
|
Rxjj int32 `protobuf:"varint,8,opt,name=Rxjj,proto3" json:"Rxjj,omitempty"`
|
|
|
//学制
|
|
|
SchoolingLength int32 `protobuf:"varint,9,opt,name=SchoolingLength,proto3" json:"SchoolingLength,omitempty"`
|
|
|
//所属学段ID
|
|
|
StageId string `protobuf:"bytes,10,opt,name=StageId,proto3" json:"StageId,omitempty"`
|
|
|
//班主任ID
|
|
|
TeacherId string `protobuf:"bytes,11,opt,name=TeacherId,proto3" json:"TeacherId,omitempty"`
|
|
|
//所在部门(除职业和高等外都是0)
|
|
|
OrgId string `protobuf:"bytes,12,opt,name=OrgId,proto3" json:"OrgId,omitempty"`
|
|
|
//所在学校ID
|
|
|
BureauId string `protobuf:"bytes,13,opt,name=BureauId,proto3" json:"BureauId,omitempty"`
|
|
|
//是否启用 0:未启用 1:启用
|
|
|
BUse int32 `protobuf:"varint,14,opt,name=BUse,proto3" json:"BUse,omitempty"`
|
|
|
//所在省行政区划码
|
|
|
ProvinceCode string `protobuf:"bytes,15,opt,name=ProvinceCode,proto3" json:"ProvinceCode,omitempty"`
|
|
|
//所在市行政区划码
|
|
|
CityCode string `protobuf:"bytes,16,opt,name=CityCode,proto3" json:"CityCode,omitempty"`
|
|
|
//所在区行政区划码
|
|
|
DistrictCode string `protobuf:"bytes,17,opt,name=DistrictCode,proto3" json:"DistrictCode,omitempty"`
|
|
|
//主校ID
|
|
|
MainSchoolId string `protobuf:"bytes,18,opt,name=MainSchoolId,proto3" json:"MainSchoolId,omitempty"`
|
|
|
//最后修改时间
|
|
|
LastUpdatedTime string `protobuf:"bytes,19,opt,name=LastUpdatedTime,proto3" json:"LastUpdatedTime,omitempty"`
|
|
|
//开始班号
|
|
|
StartBh int32 `protobuf:"varint,20,opt,name=StartBh,proto3" json:"StartBh,omitempty"`
|
|
|
//结束班号
|
|
|
EndBh int32 `protobuf:"varint,21,opt,name=EndBh,proto3" json:"EndBh,omitempty"`
|
|
|
//需要强制更新的列
|
|
|
ForceUpdateFields []string `protobuf:"bytes,22,rep,name=ForceUpdateFields,proto3" json:"ForceUpdateFields,omitempty"`
|
|
|
//操作人
|
|
|
ActionPersonId string `protobuf:"bytes,23,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"`
|
|
|
//操作IP
|
|
|
ActionIpAddress string `protobuf:"bytes,24,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) Reset() {
|
|
|
*x = ModelArg{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_BaseClass_proto_msgTypes[0]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
|
|
|
|
func (*ModelArg) ProtoMessage() {}
|
|
|
|
|
|
func (x *ModelArg) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_BaseClass_proto_msgTypes[0]
|
|
|
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 ModelArg.ProtoReflect.Descriptor instead.
|
|
|
func (*ModelArg) Descriptor() ([]byte, []int) {
|
|
|
return file_BaseClass_proto_rawDescGZIP(), []int{0}
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetClassId() string {
|
|
|
if x != nil {
|
|
|
return x.ClassId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetIdInt() int32 {
|
|
|
if x != nil {
|
|
|
return x.IdInt
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetBh() int32 {
|
|
|
if x != nil {
|
|
|
return x.Bh
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetClassCode() string {
|
|
|
if x != nil {
|
|
|
return x.ClassCode
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetClassName() string {
|
|
|
if x != nil {
|
|
|
return x.ClassName
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetClassAlias() string {
|
|
|
if x != nil {
|
|
|
return x.ClassAlias
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetRxnf() int32 {
|
|
|
if x != nil {
|
|
|
return x.Rxnf
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetRxjj() int32 {
|
|
|
if x != nil {
|
|
|
return x.Rxjj
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetSchoolingLength() int32 {
|
|
|
if x != nil {
|
|
|
return x.SchoolingLength
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetStageId() string {
|
|
|
if x != nil {
|
|
|
return x.StageId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetTeacherId() string {
|
|
|
if x != nil {
|
|
|
return x.TeacherId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetOrgId() string {
|
|
|
if x != nil {
|
|
|
return x.OrgId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetBureauId() string {
|
|
|
if x != nil {
|
|
|
return x.BureauId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetBUse() int32 {
|
|
|
if x != nil {
|
|
|
return x.BUse
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetProvinceCode() string {
|
|
|
if x != nil {
|
|
|
return x.ProvinceCode
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetCityCode() string {
|
|
|
if x != nil {
|
|
|
return x.CityCode
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetDistrictCode() string {
|
|
|
if x != nil {
|
|
|
return x.DistrictCode
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetMainSchoolId() string {
|
|
|
if x != nil {
|
|
|
return x.MainSchoolId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetLastUpdatedTime() string {
|
|
|
if x != nil {
|
|
|
return x.LastUpdatedTime
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetStartBh() int32 {
|
|
|
if x != nil {
|
|
|
return x.StartBh
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetEndBh() int32 {
|
|
|
if x != nil {
|
|
|
return x.EndBh
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetForceUpdateFields() []string {
|
|
|
if x != nil {
|
|
|
return x.ForceUpdateFields
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetActionPersonId() string {
|
|
|
if x != nil {
|
|
|
return x.ActionPersonId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *ModelArg) GetActionIpAddress() string {
|
|
|
if x != nil {
|
|
|
return x.ActionIpAddress
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
// 查询参数
|
|
|
type QueryArg struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
Page int32 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`
|
|
|
Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"`
|
|
|
//学校ID
|
|
|
BureauId string `protobuf:"bytes,3,opt,name=BureauId,proto3" json:"BureauId,omitempty"`
|
|
|
//学部ID
|
|
|
StageId string `protobuf:"bytes,4,opt,name=stageId,proto3" json:"stageId,omitempty"`
|
|
|
//入学年份
|
|
|
Rxnf int32 `protobuf:"varint,5,opt,name=Rxnf,proto3" json:"Rxnf,omitempty"`
|
|
|
//需要滤掉的班级ID
|
|
|
RemoveClassId string `protobuf:"bytes,6,opt,name=RemoveClassId,proto3" json:"RemoveClassId,omitempty"`
|
|
|
//操作人
|
|
|
ActionPersonId string `protobuf:"bytes,7,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"`
|
|
|
//操作IP
|
|
|
ActionIpAddress string `protobuf:"bytes,8,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) Reset() {
|
|
|
*x = QueryArg{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_BaseClass_proto_msgTypes[1]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
|
|
|
|
func (*QueryArg) ProtoMessage() {}
|
|
|
|
|
|
func (x *QueryArg) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_BaseClass_proto_msgTypes[1]
|
|
|
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 QueryArg.ProtoReflect.Descriptor instead.
|
|
|
func (*QueryArg) Descriptor() ([]byte, []int) {
|
|
|
return file_BaseClass_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetPage() int32 {
|
|
|
if x != nil {
|
|
|
return x.Page
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetLimit() int32 {
|
|
|
if x != nil {
|
|
|
return x.Limit
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetBureauId() string {
|
|
|
if x != nil {
|
|
|
return x.BureauId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetStageId() string {
|
|
|
if x != nil {
|
|
|
return x.StageId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetRxnf() int32 {
|
|
|
if x != nil {
|
|
|
return x.Rxnf
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetRemoveClassId() string {
|
|
|
if x != nil {
|
|
|
return x.RemoveClassId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetActionPersonId() string {
|
|
|
if x != nil {
|
|
|
return x.ActionPersonId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *QueryArg) GetActionIpAddress() string {
|
|
|
if x != nil {
|
|
|
return x.ActionIpAddress
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
// 查询请求响应
|
|
|
type Reply struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
|
|
|
Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
|
|
|
Count int32 `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"`
|
|
|
List string `protobuf:"bytes,4,opt,name=List,proto3" json:"List,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *Reply) Reset() {
|
|
|
*x = Reply{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_BaseClass_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
func (x *Reply) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
|
|
|
|
func (*Reply) ProtoMessage() {}
|
|
|
|
|
|
func (x *Reply) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_BaseClass_proto_msgTypes[2]
|
|
|
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 Reply.ProtoReflect.Descriptor instead.
|
|
|
func (*Reply) Descriptor() ([]byte, []int) {
|
|
|
return file_BaseClass_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
func (x *Reply) GetSuccess() bool {
|
|
|
if x != nil {
|
|
|
return x.Success
|
|
|
}
|
|
|
return false
|
|
|
}
|
|
|
|
|
|
func (x *Reply) GetMessage() string {
|
|
|
if x != nil {
|
|
|
return x.Message
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *Reply) GetCount() int32 {
|
|
|
if x != nil {
|
|
|
return x.Count
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
func (x *Reply) GetList() string {
|
|
|
if x != nil {
|
|
|
return x.List
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
//删除参数
|
|
|
type DeleteIdsArg struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
//一个或多个ID
|
|
|
Ids []string `protobuf:"bytes,1,rep,name=Ids,proto3" json:"Ids,omitempty"`
|
|
|
//操作人
|
|
|
ActionPersonId string `protobuf:"bytes,2,opt,name=ActionPersonId,proto3" json:"ActionPersonId,omitempty"`
|
|
|
//操作IP
|
|
|
ActionIpAddress string `protobuf:"bytes,3,opt,name=ActionIpAddress,proto3" json:"ActionIpAddress,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *DeleteIdsArg) Reset() {
|
|
|
*x = DeleteIdsArg{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_BaseClass_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
func (x *DeleteIdsArg) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
|
|
|
|
func (*DeleteIdsArg) ProtoMessage() {}
|
|
|
|
|
|
func (x *DeleteIdsArg) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_BaseClass_proto_msgTypes[3]
|
|
|
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 DeleteIdsArg.ProtoReflect.Descriptor instead.
|
|
|
func (*DeleteIdsArg) Descriptor() ([]byte, []int) {
|
|
|
return file_BaseClass_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
func (x *DeleteIdsArg) GetIds() []string {
|
|
|
if x != nil {
|
|
|
return x.Ids
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
func (x *DeleteIdsArg) GetActionPersonId() string {
|
|
|
if x != nil {
|
|
|
return x.ActionPersonId
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
func (x *DeleteIdsArg) GetActionIpAddress() string {
|
|
|
if x != nil {
|
|
|
return x.ActionIpAddress
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
var File_BaseClass_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_BaseClass_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0f, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
0x6f, 0x12, 0x0e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74,
|
|
|
0x6f, 0x22, 0xd8, 0x05, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x12, 0x18,
|
|
|
0x0a, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x64, 0x49, 0x6e,
|
|
|
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x12, 0x0e,
|
|
|
0x0a, 0x02, 0x42, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x42, 0x68, 0x12, 0x1c,
|
|
|
0x0a, 0x09, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x09, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
0x09, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6c,
|
|
|
0x61, 0x73, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x78,
|
|
|
0x6e, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x78, 0x6e, 0x66, 0x12, 0x12,
|
|
|
0x0a, 0x04, 0x52, 0x78, 0x6a, 0x6a, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x78,
|
|
|
0x6a, 0x6a, 0x12, 0x28, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x69, 0x6e, 0x67, 0x4c,
|
|
|
0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x53, 0x63, 0x68,
|
|
|
0x6f, 0x6f, 0x6c, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07,
|
|
|
0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53,
|
|
|
0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65,
|
|
|
0x72, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x54, 0x65, 0x61, 0x63, 0x68,
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x72, 0x67, 0x49, 0x64, 0x18, 0x0c, 0x20,
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x75,
|
|
|
0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x75,
|
|
|
0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x55, 0x73, 0x65, 0x18, 0x0e,
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x42, 0x55, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x72,
|
|
|
0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
|
|
|
0x52, 0x0c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a,
|
|
|
0x0a, 0x08, 0x43, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
|
|
|
0x52, 0x08, 0x43, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x69,
|
|
|
0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09,
|
|
|
0x52, 0x0c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22,
|
|
|
0x0a, 0x0c, 0x4d, 0x61, 0x69, 0x6e, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x12,
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4d, 0x61, 0x69, 0x6e, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c,
|
|
|
0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4c, 0x61, 0x73,
|
|
|
0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x53,
|
|
|
0x74, 0x61, 0x72, 0x74, 0x42, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x6e, 0x64, 0x42, 0x68, 0x18,
|
|
|
0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x45, 0x6e, 0x64, 0x42, 0x68, 0x12, 0x2c, 0x0a, 0x11,
|
|
|
0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
|
0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70,
|
|
|
0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63,
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x17, 0x20, 0x01,
|
|
|
0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
|
|
|
0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64,
|
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74,
|
|
|
0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xf6, 0x01, 0x0a,
|
|
|
0x08, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x72, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67,
|
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
|
|
|
0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x69,
|
|
|
0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x18,
|
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x12,
|
|
|
0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x78, 0x6e,
|
|
|
0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x52, 0x78, 0x6e, 0x66, 0x12, 0x24, 0x0a,
|
|
|
0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x18, 0x06,
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73,
|
|
|
0x73, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72,
|
|
|
0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74,
|
|
|
0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41,
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08,
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64,
|
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x65, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18,
|
|
|
0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
|
|
|
0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
0x05, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74,
|
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x72, 0x0a, 0x0c,
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x64, 0x73, 0x41, 0x72, 0x67, 0x12, 0x10, 0x0a, 0x03,
|
|
|
0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x49, 0x64, 0x73, 0x12, 0x26,
|
|
|
0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65,
|
|
|
0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
|
0x32, 0xe8, 0x03, 0x0a, 0x0f, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4d, 0x61,
|
|
|
0x6e, 0x61, 0x67, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x43,
|
|
|
0x6c, 0x61, 0x73, 0x73, 0x12, 0x18, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x15,
|
|
|
0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x42, 0x61,
|
|
|
0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x18, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c,
|
|
|
0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72,
|
|
|
0x67, 0x1a, 0x15, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f,
|
|
|
0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x0f, 0x44, 0x65,
|
|
|
0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x1c, 0x2e,
|
|
|
0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44,
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x64, 0x73, 0x41, 0x72, 0x67, 0x1a, 0x15, 0x2e, 0x42, 0x61,
|
|
|
0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70,
|
|
|
0x6c, 0x79, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61,
|
|
|
0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x18, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c,
|
|
|
0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72,
|
|
|
0x67, 0x1a, 0x15, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f,
|
|
|
0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x50, 0x61,
|
|
|
0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x18, 0x2e, 0x42, 0x61,
|
|
|
0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x75, 0x65,
|
|
|
0x72, 0x79, 0x41, 0x72, 0x67, 0x1a, 0x15, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73,
|
|
|
0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3d,
|
|
|
0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x18, 0x2e, 0x42, 0x61, 0x73,
|
|
|
0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65,
|
|
|
0x6c, 0x41, 0x72, 0x67, 0x1a, 0x15, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3c, 0x0a,
|
|
|
0x07, 0x47, 0x65, 0x74, 0x52, 0x78, 0x6e, 0x66, 0x12, 0x18, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43,
|
|
|
0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41,
|
|
|
0x72, 0x67, 0x1a, 0x15, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72,
|
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x3a, 0x0a, 0x16, 0x63,
|
|
|
0x6f, 0x6d, 0x2e, 0x64, 0x73, 0x69, 0x64, 0x65, 0x61, 0x6c, 0x2e, 0x64, 0x73, 0x6d, 0x69, 0x6e,
|
|
|
0x2e, 0x62, 0x61, 0x73, 0x65, 0x42, 0x09, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
|
|
|
0x50, 0x01, 0x5a, 0x10, 0x2e, 0x3b, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50,
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
file_BaseClass_proto_rawDescOnce sync.Once
|
|
|
file_BaseClass_proto_rawDescData = file_BaseClass_proto_rawDesc
|
|
|
)
|
|
|
|
|
|
func file_BaseClass_proto_rawDescGZIP() []byte {
|
|
|
file_BaseClass_proto_rawDescOnce.Do(func() {
|
|
|
file_BaseClass_proto_rawDescData = protoimpl.X.CompressGZIP(file_BaseClass_proto_rawDescData)
|
|
|
})
|
|
|
return file_BaseClass_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
var file_BaseClass_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
var file_BaseClass_proto_goTypes = []interface{}{
|
|
|
(*ModelArg)(nil), // 0: BaseClassProto.ModelArg
|
|
|
(*QueryArg)(nil), // 1: BaseClassProto.QueryArg
|
|
|
(*Reply)(nil), // 2: BaseClassProto.Reply
|
|
|
(*DeleteIdsArg)(nil), // 3: BaseClassProto.DeleteIdsArg
|
|
|
}
|
|
|
var file_BaseClass_proto_depIdxs = []int32{
|
|
|
0, // 0: BaseClassProto.BaseClassManage.GetBaseClass:input_type -> BaseClassProto.ModelArg
|
|
|
0, // 1: BaseClassProto.BaseClassManage.AddBaseClass:input_type -> BaseClassProto.ModelArg
|
|
|
3, // 2: BaseClassProto.BaseClassManage.DeleteBaseClass:input_type -> BaseClassProto.DeleteIdsArg
|
|
|
0, // 3: BaseClassProto.BaseClassManage.UpdateBaseClass:input_type -> BaseClassProto.ModelArg
|
|
|
1, // 4: BaseClassProto.BaseClassManage.PageBaseClass:input_type -> BaseClassProto.QueryArg
|
|
|
0, // 5: BaseClassProto.BaseClassManage.GetStage:input_type -> BaseClassProto.ModelArg
|
|
|
0, // 6: BaseClassProto.BaseClassManage.GetRxnf:input_type -> BaseClassProto.ModelArg
|
|
|
2, // 7: BaseClassProto.BaseClassManage.GetBaseClass:output_type -> BaseClassProto.Reply
|
|
|
2, // 8: BaseClassProto.BaseClassManage.AddBaseClass:output_type -> BaseClassProto.Reply
|
|
|
2, // 9: BaseClassProto.BaseClassManage.DeleteBaseClass:output_type -> BaseClassProto.Reply
|
|
|
2, // 10: BaseClassProto.BaseClassManage.UpdateBaseClass:output_type -> BaseClassProto.Reply
|
|
|
2, // 11: BaseClassProto.BaseClassManage.PageBaseClass:output_type -> BaseClassProto.Reply
|
|
|
2, // 12: BaseClassProto.BaseClassManage.GetStage:output_type -> BaseClassProto.Reply
|
|
|
2, // 13: BaseClassProto.BaseClassManage.GetRxnf:output_type -> BaseClassProto.Reply
|
|
|
7, // [7:14] is the sub-list for method output_type
|
|
|
0, // [0:7] is the sub-list for method input_type
|
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
|
0, // [0:0] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_BaseClass_proto_init() }
|
|
|
func file_BaseClass_proto_init() {
|
|
|
if File_BaseClass_proto != nil {
|
|
|
return
|
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_BaseClass_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*ModelArg); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
|
return &v.sizeCache
|
|
|
case 2:
|
|
|
return &v.unknownFields
|
|
|
default:
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
file_BaseClass_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*QueryArg); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
|
return &v.sizeCache
|
|
|
case 2:
|
|
|
return &v.unknownFields
|
|
|
default:
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
file_BaseClass_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*Reply); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
|
return &v.sizeCache
|
|
|
case 2:
|
|
|
return &v.unknownFields
|
|
|
default:
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
file_BaseClass_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*DeleteIdsArg); 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{
|
|
|
File: protoimpl.DescBuilder{
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_BaseClass_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
NumMessages: 4,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
|
GoTypes: file_BaseClass_proto_goTypes,
|
|
|
DependencyIndexes: file_BaseClass_proto_depIdxs,
|
|
|
MessageInfos: file_BaseClass_proto_msgTypes,
|
|
|
}.Build()
|
|
|
File_BaseClass_proto = out.File
|
|
|
file_BaseClass_proto_rawDesc = nil
|
|
|
file_BaseClass_proto_goTypes = nil
|
|
|
file_BaseClass_proto_depIdxs = nil
|
|
|
}
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
var _ context.Context
|
|
|
var _ grpc.ClientConnInterface
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
|
|
// BaseClassManageClient is the client API for BaseClassManage service.
|
|
|
//
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
type BaseClassManageClient interface {
|
|
|
//获取单条
|
|
|
GetBaseClass(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//增加
|
|
|
AddBaseClass(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//删除
|
|
|
DeleteBaseClass(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//修改
|
|
|
UpdateBaseClass(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//查询(分页)
|
|
|
PageBaseClass(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//根据学校ID获取学部(学段)信息
|
|
|
GetStage(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
//根据学校ID和学部(学段)ID获取入学年份
|
|
|
GetRxnf(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error)
|
|
|
}
|
|
|
|
|
|
type baseClassManageClient struct {
|
|
|
cc grpc.ClientConnInterface
|
|
|
}
|
|
|
|
|
|
func NewBaseClassManageClient(cc grpc.ClientConnInterface) BaseClassManageClient {
|
|
|
return &baseClassManageClient{cc}
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) GetBaseClass(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/GetBaseClass", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) AddBaseClass(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/AddBaseClass", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) DeleteBaseClass(ctx context.Context, in *DeleteIdsArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/DeleteBaseClass", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) UpdateBaseClass(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/UpdateBaseClass", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) PageBaseClass(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/PageBaseClass", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) GetStage(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/GetStage", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
func (c *baseClassManageClient) GetRxnf(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) {
|
|
|
out := new(Reply)
|
|
|
err := c.cc.Invoke(ctx, "/BaseClassProto.BaseClassManage/GetRxnf", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
// BaseClassManageServer is the server API for BaseClassManage service.
|
|
|
type BaseClassManageServer interface {
|
|
|
//获取单条
|
|
|
GetBaseClass(context.Context, *ModelArg) (*Reply, error)
|
|
|
//增加
|
|
|
AddBaseClass(context.Context, *ModelArg) (*Reply, error)
|
|
|
//删除
|
|
|
DeleteBaseClass(context.Context, *DeleteIdsArg) (*Reply, error)
|
|
|
//修改
|
|
|
UpdateBaseClass(context.Context, *ModelArg) (*Reply, error)
|
|
|
//查询(分页)
|
|
|
PageBaseClass(context.Context, *QueryArg) (*Reply, error)
|
|
|
//根据学校ID获取学部(学段)信息
|
|
|
GetStage(context.Context, *ModelArg) (*Reply, error)
|
|
|
//根据学校ID和学部(学段)ID获取入学年份
|
|
|
GetRxnf(context.Context, *ModelArg) (*Reply, error)
|
|
|
}
|
|
|
|
|
|
// UnimplementedBaseClassManageServer can be embedded to have forward compatible implementations.
|
|
|
type UnimplementedBaseClassManageServer struct {
|
|
|
}
|
|
|
|
|
|
func (*UnimplementedBaseClassManageServer) GetBaseClass(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetBaseClass not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseClassManageServer) AddBaseClass(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddBaseClass not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseClassManageServer) DeleteBaseClass(context.Context, *DeleteIdsArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteBaseClass not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseClassManageServer) UpdateBaseClass(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateBaseClass not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseClassManageServer) PageBaseClass(context.Context, *QueryArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method PageBaseClass not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseClassManageServer) GetStage(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStage not implemented")
|
|
|
}
|
|
|
func (*UnimplementedBaseClassManageServer) GetRxnf(context.Context, *ModelArg) (*Reply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetRxnf not implemented")
|
|
|
}
|
|
|
|
|
|
func RegisterBaseClassManageServer(s *grpc.Server, srv BaseClassManageServer) {
|
|
|
s.RegisterService(&_BaseClassManage_serviceDesc, srv)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_GetBaseClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ModelArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).GetBaseClass(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/GetBaseClass",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).GetBaseClass(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_AddBaseClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ModelArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).AddBaseClass(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/AddBaseClass",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).AddBaseClass(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_DeleteBaseClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(DeleteIdsArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).DeleteBaseClass(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/DeleteBaseClass",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).DeleteBaseClass(ctx, req.(*DeleteIdsArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_UpdateBaseClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ModelArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).UpdateBaseClass(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/UpdateBaseClass",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).UpdateBaseClass(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_PageBaseClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(QueryArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).PageBaseClass(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/PageBaseClass",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).PageBaseClass(ctx, req.(*QueryArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_GetStage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ModelArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).GetStage(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/GetStage",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).GetStage(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
func _BaseClassManage_GetRxnf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ModelArg)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
if interceptor == nil {
|
|
|
return srv.(BaseClassManageServer).GetRxnf(ctx, in)
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
FullMethod: "/BaseClassProto.BaseClassManage/GetRxnf",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BaseClassManageServer).GetRxnf(ctx, req.(*ModelArg))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
var _BaseClassManage_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "BaseClassProto.BaseClassManage",
|
|
|
HandlerType: (*BaseClassManageServer)(nil),
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
{
|
|
|
MethodName: "GetBaseClass",
|
|
|
Handler: _BaseClassManage_GetBaseClass_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "AddBaseClass",
|
|
|
Handler: _BaseClassManage_AddBaseClass_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "DeleteBaseClass",
|
|
|
Handler: _BaseClassManage_DeleteBaseClass_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "UpdateBaseClass",
|
|
|
Handler: _BaseClassManage_UpdateBaseClass_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "PageBaseClass",
|
|
|
Handler: _BaseClassManage_PageBaseClass_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "GetStage",
|
|
|
Handler: _BaseClassManage_GetStage_Handler,
|
|
|
},
|
|
|
{
|
|
|
MethodName: "GetRxnf",
|
|
|
Handler: _BaseClassManage_GetRxnf_Handler,
|
|
|
},
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "BaseClass.proto",
|
|
|
}
|