Documentation
¶
Index ¶
- Variables
- func RegisterClassesServiceHandler(s server.Server, hdlr ClassesServiceHandler, opts ...server.HandlerOption) error
- func RegisterSchoolServiceHandler(s server.Server, hdlr SchoolServiceHandler, opts ...server.HandlerOption) error
- func RegisterStudentServiceHandler(s server.Server, hdlr StudentServiceHandler, opts ...server.HandlerOption) error
- func RegisterTeacherServiceHandler(s server.Server, hdlr TeacherServiceHandler, opts ...server.HandlerOption) error
- type ClassInfo
- func (*ClassInfo) Descriptor() ([]byte, []int)
- func (m *ClassInfo) GetCreated() uint32
- func (m *ClassInfo) GetCreator() string
- func (m *ClassInfo) GetEnrol() string
- func (m *ClassInfo) GetGrade() uint32
- func (m *ClassInfo) GetId() uint64
- func (m *ClassInfo) GetMaster() string
- func (m *ClassInfo) GetName() string
- func (m *ClassInfo) GetNo() uint32
- func (m *ClassInfo) GetOperator() string
- func (m *ClassInfo) GetOwner() string
- func (m *ClassInfo) GetStudents() []*MemberInfo
- func (m *ClassInfo) GetTeachers() []string
- func (m *ClassInfo) GetType() uint32
- func (m *ClassInfo) GetUid() string
- func (m *ClassInfo) GetUpdated() uint32
- func (*ClassInfo) ProtoMessage()
- func (m *ClassInfo) Reset()
- func (m *ClassInfo) String() string
- func (m *ClassInfo) XXX_DiscardUnknown()
- func (m *ClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClassInfo) XXX_Merge(src proto.Message)
- func (m *ClassInfo) XXX_Size() int
- func (m *ClassInfo) XXX_Unmarshal(b []byte) error
- type ClassesService
- type ClassesServiceHandler
- type CustodianInfo
- func (*CustodianInfo) Descriptor() ([]byte, []int)
- func (m *CustodianInfo) GetIdentify() string
- func (m *CustodianInfo) GetName() string
- func (m *CustodianInfo) GetPhones() []string
- func (*CustodianInfo) ProtoMessage()
- func (m *CustodianInfo) Reset()
- func (m *CustodianInfo) String() string
- func (m *CustodianInfo) XXX_DiscardUnknown()
- func (m *CustodianInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustodianInfo) XXX_Merge(src proto.Message)
- func (m *CustodianInfo) XXX_Size() int
- func (m *CustodianInfo) XXX_Unmarshal(b []byte) error
- type HonorBrief
- func (*HonorBrief) Descriptor() ([]byte, []int)
- func (m *HonorBrief) GetCount() uint32
- func (m *HonorBrief) GetEntities() []string
- func (m *HonorBrief) GetYear() string
- func (*HonorBrief) ProtoMessage()
- func (m *HonorBrief) Reset()
- func (m *HonorBrief) String() string
- func (m *HonorBrief) XXX_DiscardUnknown()
- func (m *HonorBrief) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HonorBrief) XXX_Merge(src proto.Message)
- func (m *HonorBrief) XXX_Size() int
- func (m *HonorBrief) XXX_Unmarshal(b []byte) error
- type HonorInfo
- func (*HonorInfo) Descriptor() ([]byte, []int)
- func (m *HonorInfo) GetBries() []*HonorBrief
- func (m *HonorInfo) GetChildren() []*HonorInfo
- func (m *HonorInfo) GetName() string
- func (m *HonorInfo) GetParent() string
- func (m *HonorInfo) GetRemark() string
- func (m *HonorInfo) GetUid() string
- func (*HonorInfo) ProtoMessage()
- func (m *HonorInfo) Reset()
- func (m *HonorInfo) String() string
- func (m *HonorInfo) XXX_DiscardUnknown()
- func (m *HonorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HonorInfo) XXX_Merge(src proto.Message)
- func (m *HonorInfo) XXX_Size() int
- func (m *HonorInfo) XXX_Unmarshal(b []byte) error
- type MemberInfo
- func (*MemberInfo) Descriptor() ([]byte, []int)
- func (m *MemberInfo) GetRemark() string
- func (m *MemberInfo) GetStatus() uint32
- func (m *MemberInfo) GetStudent() string
- func (m *MemberInfo) GetUid() string
- func (*MemberInfo) ProtoMessage()
- func (m *MemberInfo) Reset()
- func (m *MemberInfo) String() string
- func (m *MemberInfo) XXX_DiscardUnknown()
- func (m *MemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemberInfo) XXX_Merge(src proto.Message)
- func (m *MemberInfo) XXX_Size() int
- func (m *MemberInfo) XXX_Unmarshal(b []byte) error
- type OptionType
- type PairInfo
- func (*PairInfo) Descriptor() ([]byte, []int)
- func (m *PairInfo) GetKey() string
- func (m *PairInfo) GetValue() string
- func (*PairInfo) ProtoMessage()
- func (m *PairInfo) Reset()
- func (m *PairInfo) String() string
- func (m *PairInfo) XXX_DiscardUnknown()
- func (m *PairInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PairInfo) XXX_Merge(src proto.Message)
- func (m *PairInfo) XXX_Size() int
- func (m *PairInfo) XXX_Unmarshal(b []byte) error
- type ReplyClassInfo
- func (*ReplyClassInfo) Descriptor() ([]byte, []int)
- func (m *ReplyClassInfo) GetInfo() *ClassInfo
- func (m *ReplyClassInfo) GetStatus() *ReplyStatus
- func (*ReplyClassInfo) ProtoMessage()
- func (m *ReplyClassInfo) Reset()
- func (m *ReplyClassInfo) String() string
- func (m *ReplyClassInfo) XXX_DiscardUnknown()
- func (m *ReplyClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyClassInfo) XXX_Merge(src proto.Message)
- func (m *ReplyClassInfo) XXX_Size() int
- func (m *ReplyClassInfo) XXX_Unmarshal(b []byte) error
- type ReplyClassList
- func (*ReplyClassList) Descriptor() ([]byte, []int)
- func (m *ReplyClassList) GetList() []*ClassInfo
- func (m *ReplyClassList) GetNumber() uint32
- func (m *ReplyClassList) GetPage() uint32
- func (m *ReplyClassList) GetStatus() *ReplyStatus
- func (m *ReplyClassList) GetTotal() uint32
- func (*ReplyClassList) ProtoMessage()
- func (m *ReplyClassList) Reset()
- func (m *ReplyClassList) String() string
- func (m *ReplyClassList) XXX_DiscardUnknown()
- func (m *ReplyClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyClassList) XXX_Merge(src proto.Message)
- func (m *ReplyClassList) XXX_Size() int
- func (m *ReplyClassList) XXX_Unmarshal(b []byte) error
- type ReplyInfo
- func (*ReplyInfo) Descriptor() ([]byte, []int)
- func (m *ReplyInfo) GetStatus() *ReplyStatus
- func (m *ReplyInfo) GetUid() string
- func (*ReplyInfo) ProtoMessage()
- func (m *ReplyInfo) Reset()
- func (m *ReplyInfo) String() string
- func (m *ReplyInfo) XXX_DiscardUnknown()
- func (m *ReplyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyInfo) XXX_Merge(src proto.Message)
- func (m *ReplyInfo) XXX_Size() int
- func (m *ReplyInfo) XXX_Unmarshal(b []byte) error
- type ReplySchoolHonors
- func (*ReplySchoolHonors) Descriptor() ([]byte, []int)
- func (m *ReplySchoolHonors) GetHonors() []*HonorInfo
- func (m *ReplySchoolHonors) GetScene() string
- func (m *ReplySchoolHonors) GetStatus() *ReplyStatus
- func (m *ReplySchoolHonors) GetType() uint32
- func (*ReplySchoolHonors) ProtoMessage()
- func (m *ReplySchoolHonors) Reset()
- func (m *ReplySchoolHonors) String() string
- func (m *ReplySchoolHonors) XXX_DiscardUnknown()
- func (m *ReplySchoolHonors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySchoolHonors) XXX_Merge(src proto.Message)
- func (m *ReplySchoolHonors) XXX_Size() int
- func (m *ReplySchoolHonors) XXX_Unmarshal(b []byte) error
- type ReplySchoolInfo
- func (*ReplySchoolInfo) Descriptor() ([]byte, []int)
- func (m *ReplySchoolInfo) GetInfo() *SchoolInfo
- func (m *ReplySchoolInfo) GetRole() uint32
- func (m *ReplySchoolInfo) GetStatus() *ReplyStatus
- func (*ReplySchoolInfo) ProtoMessage()
- func (m *ReplySchoolInfo) Reset()
- func (m *ReplySchoolInfo) String() string
- func (m *ReplySchoolInfo) XXX_DiscardUnknown()
- func (m *ReplySchoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySchoolInfo) XXX_Merge(src proto.Message)
- func (m *ReplySchoolInfo) XXX_Size() int
- func (m *ReplySchoolInfo) XXX_Unmarshal(b []byte) error
- type ReplySchoolList
- func (*ReplySchoolList) Descriptor() ([]byte, []int)
- func (m *ReplySchoolList) GetList() []*SchoolInfo
- func (m *ReplySchoolList) GetNumber() uint32
- func (m *ReplySchoolList) GetPage() uint32
- func (m *ReplySchoolList) GetStatus() *ReplyStatus
- func (m *ReplySchoolList) GetTotal() uint32
- func (*ReplySchoolList) ProtoMessage()
- func (m *ReplySchoolList) Reset()
- func (m *ReplySchoolList) String() string
- func (m *ReplySchoolList) XXX_DiscardUnknown()
- func (m *ReplySchoolList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySchoolList) XXX_Merge(src proto.Message)
- func (m *ReplySchoolList) XXX_Size() int
- func (m *ReplySchoolList) XXX_Unmarshal(b []byte) error
- type ReplySchoolSubjects
- func (*ReplySchoolSubjects) Descriptor() ([]byte, []int)
- func (m *ReplySchoolSubjects) GetScene() string
- func (m *ReplySchoolSubjects) GetStatus() *ReplyStatus
- func (m *ReplySchoolSubjects) GetSubjects() []*SubjectInfo
- func (*ReplySchoolSubjects) ProtoMessage()
- func (m *ReplySchoolSubjects) Reset()
- func (m *ReplySchoolSubjects) String() string
- func (m *ReplySchoolSubjects) XXX_DiscardUnknown()
- func (m *ReplySchoolSubjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySchoolSubjects) XXX_Merge(src proto.Message)
- func (m *ReplySchoolSubjects) XXX_Size() int
- func (m *ReplySchoolSubjects) XXX_Unmarshal(b []byte) error
- type ReplyStatus
- func (*ReplyStatus) Descriptor() ([]byte, []int)
- func (m *ReplyStatus) GetCode() uint32
- func (m *ReplyStatus) GetMsg() string
- func (*ReplyStatus) ProtoMessage()
- func (m *ReplyStatus) Reset()
- func (m *ReplyStatus) String() string
- func (m *ReplyStatus) XXX_DiscardUnknown()
- func (m *ReplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStatus) XXX_Merge(src proto.Message)
- func (m *ReplyStatus) XXX_Size() int
- func (m *ReplyStatus) XXX_Unmarshal(b []byte) error
- type ReplyStudentInfo
- func (*ReplyStudentInfo) Descriptor() ([]byte, []int)
- func (m *ReplyStudentInfo) GetInfo() *StudentInfo
- func (m *ReplyStudentInfo) GetStatus() *ReplyStatus
- func (*ReplyStudentInfo) ProtoMessage()
- func (m *ReplyStudentInfo) Reset()
- func (m *ReplyStudentInfo) String() string
- func (m *ReplyStudentInfo) XXX_DiscardUnknown()
- func (m *ReplyStudentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStudentInfo) XXX_Merge(src proto.Message)
- func (m *ReplyStudentInfo) XXX_Size() int
- func (m *ReplyStudentInfo) XXX_Unmarshal(b []byte) error
- type ReplyStudentList
- func (*ReplyStudentList) Descriptor() ([]byte, []int)
- func (m *ReplyStudentList) GetList() []*StudentInfo
- func (m *ReplyStudentList) GetNumber() uint32
- func (m *ReplyStudentList) GetPage() uint32
- func (m *ReplyStudentList) GetStatus() *ReplyStatus
- func (m *ReplyStudentList) GetTotal() uint32
- func (*ReplyStudentList) ProtoMessage()
- func (m *ReplyStudentList) Reset()
- func (m *ReplyStudentList) String() string
- func (m *ReplyStudentList) XXX_DiscardUnknown()
- func (m *ReplyStudentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStudentList) XXX_Merge(src proto.Message)
- func (m *ReplyStudentList) XXX_Size() int
- func (m *ReplyStudentList) XXX_Unmarshal(b []byte) error
- type ReplyTeacherInfo
- func (*ReplyTeacherInfo) Descriptor() ([]byte, []int)
- func (m *ReplyTeacherInfo) GetInfo() *TeacherInfo
- func (m *ReplyTeacherInfo) GetStatus() *ReplyStatus
- func (*ReplyTeacherInfo) ProtoMessage()
- func (m *ReplyTeacherInfo) Reset()
- func (m *ReplyTeacherInfo) String() string
- func (m *ReplyTeacherInfo) XXX_DiscardUnknown()
- func (m *ReplyTeacherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTeacherInfo) XXX_Merge(src proto.Message)
- func (m *ReplyTeacherInfo) XXX_Size() int
- func (m *ReplyTeacherInfo) XXX_Unmarshal(b []byte) error
- type ReplyTeacherList
- func (*ReplyTeacherList) Descriptor() ([]byte, []int)
- func (m *ReplyTeacherList) GetList() []*TeacherInfo
- func (m *ReplyTeacherList) GetNumber() uint32
- func (m *ReplyTeacherList) GetPage() uint32
- func (m *ReplyTeacherList) GetStatus() *ReplyStatus
- func (m *ReplyTeacherList) GetTotal() uint32
- func (*ReplyTeacherList) ProtoMessage()
- func (m *ReplyTeacherList) Reset()
- func (m *ReplyTeacherList) String() string
- func (m *ReplyTeacherList) XXX_DiscardUnknown()
- func (m *ReplyTeacherList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTeacherList) XXX_Merge(src proto.Message)
- func (m *ReplyTeacherList) XXX_Size() int
- func (m *ReplyTeacherList) XXX_Unmarshal(b []byte) error
- type ReqClassAdd
- func (*ReqClassAdd) Descriptor() ([]byte, []int)
- func (m *ReqClassAdd) GetCount() uint32
- func (m *ReqClassAdd) GetEnrol() string
- func (m *ReqClassAdd) GetName() string
- func (m *ReqClassAdd) GetOperator() string
- func (m *ReqClassAdd) GetScene() string
- func (*ReqClassAdd) ProtoMessage()
- func (m *ReqClassAdd) Reset()
- func (m *ReqClassAdd) String() string
- func (m *ReqClassAdd) XXX_DiscardUnknown()
- func (m *ReqClassAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqClassAdd) XXX_Merge(src proto.Message)
- func (m *ReqClassAdd) XXX_Size() int
- func (m *ReqClassAdd) XXX_Unmarshal(b []byte) error
- type ReqClassJoin
- func (*ReqClassJoin) Descriptor() ([]byte, []int)
- func (m *ReqClassJoin) GetCard() string
- func (m *ReqClassJoin) GetChild() string
- func (m *ReqClassJoin) GetClass() string
- func (m *ReqClassJoin) GetName() string
- func (m *ReqClassJoin) GetOperator() string
- func (m *ReqClassJoin) GetSchool() string
- func (m *ReqClassJoin) GetSex() uint32
- func (m *ReqClassJoin) GetSn() string
- func (*ReqClassJoin) ProtoMessage()
- func (m *ReqClassJoin) Reset()
- func (m *ReqClassJoin) String() string
- func (m *ReqClassJoin) XXX_DiscardUnknown()
- func (m *ReqClassJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqClassJoin) XXX_Merge(src proto.Message)
- func (m *ReqClassJoin) XXX_Size() int
- func (m *ReqClassJoin) XXX_Unmarshal(b []byte) error
- type ReqClassKick
- func (*ReqClassKick) Descriptor() ([]byte, []int)
- func (m *ReqClassKick) GetOperator() string
- func (m *ReqClassKick) GetParent() string
- func (m *ReqClassKick) GetRemark() string
- func (m *ReqClassKick) GetStudent() string
- func (m *ReqClassKick) GetUid() string
- func (*ReqClassKick) ProtoMessage()
- func (m *ReqClassKick) Reset()
- func (m *ReqClassKick) String() string
- func (m *ReqClassKick) XXX_DiscardUnknown()
- func (m *ReqClassKick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqClassKick) XXX_Merge(src proto.Message)
- func (m *ReqClassKick) XXX_Size() int
- func (m *ReqClassKick) XXX_Unmarshal(b []byte) error
- type ReqClassMaster
- func (*ReqClassMaster) Descriptor() ([]byte, []int)
- func (m *ReqClassMaster) GetOperator() string
- func (m *ReqClassMaster) GetParent() string
- func (m *ReqClassMaster) GetTeacher() string
- func (m *ReqClassMaster) GetUid() string
- func (*ReqClassMaster) ProtoMessage()
- func (m *ReqClassMaster) Reset()
- func (m *ReqClassMaster) String() string
- func (m *ReqClassMaster) XXX_DiscardUnknown()
- func (m *ReqClassMaster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqClassMaster) XXX_Merge(src proto.Message)
- func (m *ReqClassMaster) XXX_Size() int
- func (m *ReqClassMaster) XXX_Unmarshal(b []byte) error
- type ReqClassUpdate
- func (*ReqClassUpdate) Descriptor() ([]byte, []int)
- func (m *ReqClassUpdate) GetName() string
- func (m *ReqClassUpdate) GetOperator() string
- func (m *ReqClassUpdate) GetParent() string
- func (m *ReqClassUpdate) GetUid() string
- func (*ReqClassUpdate) ProtoMessage()
- func (m *ReqClassUpdate) Reset()
- func (m *ReqClassUpdate) String() string
- func (m *ReqClassUpdate) XXX_DiscardUnknown()
- func (m *ReqClassUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqClassUpdate) XXX_Merge(src proto.Message)
- func (m *ReqClassUpdate) XXX_Size() int
- func (m *ReqClassUpdate) XXX_Unmarshal(b []byte) error
- type ReqSchoolAdd
- func (*ReqSchoolAdd) Descriptor() ([]byte, []int)
- func (m *ReqSchoolAdd) GetCover() string
- func (m *ReqSchoolAdd) GetEntity() string
- func (m *ReqSchoolAdd) GetGrade() uint32
- func (m *ReqSchoolAdd) GetName() string
- func (m *ReqSchoolAdd) GetOperator() string
- func (m *ReqSchoolAdd) GetScene() string
- func (*ReqSchoolAdd) ProtoMessage()
- func (m *ReqSchoolAdd) Reset()
- func (m *ReqSchoolAdd) String() string
- func (m *ReqSchoolAdd) XXX_DiscardUnknown()
- func (m *ReqSchoolAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSchoolAdd) XXX_Merge(src proto.Message)
- func (m *ReqSchoolAdd) XXX_Size() int
- func (m *ReqSchoolAdd) XXX_Unmarshal(b []byte) error
- type ReqSchoolSubject
- func (*ReqSchoolSubject) Descriptor() ([]byte, []int)
- func (m *ReqSchoolSubject) GetName() string
- func (m *ReqSchoolSubject) GetOperator() string
- func (m *ReqSchoolSubject) GetOption() OptionType
- func (m *ReqSchoolSubject) GetRemark() string
- func (m *ReqSchoolSubject) GetScene() string
- func (m *ReqSchoolSubject) GetUid() string
- func (*ReqSchoolSubject) ProtoMessage()
- func (m *ReqSchoolSubject) Reset()
- func (m *ReqSchoolSubject) String() string
- func (m *ReqSchoolSubject) XXX_DiscardUnknown()
- func (m *ReqSchoolSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSchoolSubject) XXX_Merge(src proto.Message)
- func (m *ReqSchoolSubject) XXX_Size() int
- func (m *ReqSchoolSubject) XXX_Unmarshal(b []byte) error
- type ReqSchoolUpdate
- func (*ReqSchoolUpdate) Descriptor() ([]byte, []int)
- func (m *ReqSchoolUpdate) GetName() string
- func (m *ReqSchoolUpdate) GetOperator() string
- func (m *ReqSchoolUpdate) GetRemark() string
- func (m *ReqSchoolUpdate) GetScene() string
- func (*ReqSchoolUpdate) ProtoMessage()
- func (m *ReqSchoolUpdate) Reset()
- func (m *ReqSchoolUpdate) String() string
- func (m *ReqSchoolUpdate) XXX_DiscardUnknown()
- func (m *ReqSchoolUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSchoolUpdate) XXX_Merge(src proto.Message)
- func (m *ReqSchoolUpdate) XXX_Size() int
- func (m *ReqSchoolUpdate) XXX_Unmarshal(b []byte) error
- type ReqStudentAdd
- func (*ReqStudentAdd) Descriptor() ([]byte, []int)
- func (m *ReqStudentAdd) GetCard() string
- func (m *ReqStudentAdd) GetCustodians() []*CustodianInfo
- func (m *ReqStudentAdd) GetEnrol() string
- func (m *ReqStudentAdd) GetName() string
- func (m *ReqStudentAdd) GetOperator() string
- func (m *ReqStudentAdd) GetOwner() string
- func (m *ReqStudentAdd) GetSex() uint32
- func (m *ReqStudentAdd) GetSn() string
- func (*ReqStudentAdd) ProtoMessage()
- func (m *ReqStudentAdd) Reset()
- func (m *ReqStudentAdd) String() string
- func (m *ReqStudentAdd) XXX_DiscardUnknown()
- func (m *ReqStudentAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqStudentAdd) XXX_Merge(src proto.Message)
- func (m *ReqStudentAdd) XXX_Size() int
- func (m *ReqStudentAdd) XXX_Unmarshal(b []byte) error
- type ReqStudentBatch
- func (*ReqStudentBatch) Descriptor() ([]byte, []int)
- func (m *ReqStudentBatch) GetList() []*ReqStudentAdd
- func (m *ReqStudentBatch) GetOperator() string
- func (m *ReqStudentBatch) GetOwner() string
- func (*ReqStudentBatch) ProtoMessage()
- func (m *ReqStudentBatch) Reset()
- func (m *ReqStudentBatch) String() string
- func (m *ReqStudentBatch) XXX_DiscardUnknown()
- func (m *ReqStudentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqStudentBatch) XXX_Merge(src proto.Message)
- func (m *ReqStudentBatch) XXX_Size() int
- func (m *ReqStudentBatch) XXX_Unmarshal(b []byte) error
- type ReqStudentBind
- func (*ReqStudentBind) Descriptor() ([]byte, []int)
- func (m *ReqStudentBind) GetCard() string
- func (m *ReqStudentBind) GetEntity() string
- func (m *ReqStudentBind) GetOperator() string
- func (m *ReqStudentBind) GetOwner() string
- func (m *ReqStudentBind) GetUid() string
- func (*ReqStudentBind) ProtoMessage()
- func (m *ReqStudentBind) Reset()
- func (m *ReqStudentBind) String() string
- func (m *ReqStudentBind) XXX_DiscardUnknown()
- func (m *ReqStudentBind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqStudentBind) XXX_Merge(src proto.Message)
- func (m *ReqStudentBind) XXX_Size() int
- func (m *ReqStudentBind) XXX_Unmarshal(b []byte) error
- type ReqStudentUpdate
- func (*ReqStudentUpdate) Descriptor() ([]byte, []int)
- func (m *ReqStudentUpdate) GetCard() string
- func (m *ReqStudentUpdate) GetCustodians() []*CustodianInfo
- func (m *ReqStudentUpdate) GetEnrol() string
- func (m *ReqStudentUpdate) GetName() string
- func (m *ReqStudentUpdate) GetOperator() string
- func (m *ReqStudentUpdate) GetOwner() string
- func (m *ReqStudentUpdate) GetSex() uint32
- func (m *ReqStudentUpdate) GetSn() string
- func (m *ReqStudentUpdate) GetUid() string
- func (*ReqStudentUpdate) ProtoMessage()
- func (m *ReqStudentUpdate) Reset()
- func (m *ReqStudentUpdate) String() string
- func (m *ReqStudentUpdate) XXX_DiscardUnknown()
- func (m *ReqStudentUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqStudentUpdate) XXX_Merge(src proto.Message)
- func (m *ReqStudentUpdate) XXX_Size() int
- func (m *ReqStudentUpdate) XXX_Unmarshal(b []byte) error
- type ReqTeacherAdd
- func (*ReqTeacherAdd) Descriptor() ([]byte, []int)
- func (m *ReqTeacherAdd) GetClasses() []string
- func (m *ReqTeacherAdd) GetEntity() string
- func (m *ReqTeacherAdd) GetName() string
- func (m *ReqTeacherAdd) GetOperator() string
- func (m *ReqTeacherAdd) GetOwner() string
- func (m *ReqTeacherAdd) GetSubjects() []string
- func (m *ReqTeacherAdd) GetUser() string
- func (*ReqTeacherAdd) ProtoMessage()
- func (m *ReqTeacherAdd) Reset()
- func (m *ReqTeacherAdd) String() string
- func (m *ReqTeacherAdd) XXX_DiscardUnknown()
- func (m *ReqTeacherAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTeacherAdd) XXX_Merge(src proto.Message)
- func (m *ReqTeacherAdd) XXX_Size() int
- func (m *ReqTeacherAdd) XXX_Unmarshal(b []byte) error
- type ReqTeacherBatch
- func (*ReqTeacherBatch) Descriptor() ([]byte, []int)
- func (m *ReqTeacherBatch) GetList() []*ReqTeacherAdd
- func (m *ReqTeacherBatch) GetOperator() string
- func (m *ReqTeacherBatch) GetOwner() string
- func (*ReqTeacherBatch) ProtoMessage()
- func (m *ReqTeacherBatch) Reset()
- func (m *ReqTeacherBatch) String() string
- func (m *ReqTeacherBatch) XXX_DiscardUnknown()
- func (m *ReqTeacherBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTeacherBatch) XXX_Merge(src proto.Message)
- func (m *ReqTeacherBatch) XXX_Size() int
- func (m *ReqTeacherBatch) XXX_Unmarshal(b []byte) error
- type ReqTeacherUpdate
- func (*ReqTeacherUpdate) Descriptor() ([]byte, []int)
- func (m *ReqTeacherUpdate) GetClasses() []string
- func (m *ReqTeacherUpdate) GetName() string
- func (m *ReqTeacherUpdate) GetOperator() string
- func (m *ReqTeacherUpdate) GetOwner() string
- func (m *ReqTeacherUpdate) GetSubjects() []string
- func (m *ReqTeacherUpdate) GetUid() string
- func (*ReqTeacherUpdate) ProtoMessage()
- func (m *ReqTeacherUpdate) Reset()
- func (m *ReqTeacherUpdate) String() string
- func (m *ReqTeacherUpdate) XXX_DiscardUnknown()
- func (m *ReqTeacherUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTeacherUpdate) XXX_Merge(src proto.Message)
- func (m *ReqTeacherUpdate) XXX_Size() int
- func (m *ReqTeacherUpdate) XXX_Unmarshal(b []byte) error
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)
- func (m *RequestInfo) GetFlag() string
- func (m *RequestInfo) GetOperator() string
- func (m *RequestInfo) GetUid() string
- func (*RequestInfo) ProtoMessage()
- func (m *RequestInfo) Reset()
- func (m *RequestInfo) String() string
- func (m *RequestInfo) XXX_DiscardUnknown()
- func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestInfo) XXX_Merge(src proto.Message)
- func (m *RequestInfo) XXX_Size() int
- func (m *RequestInfo) XXX_Unmarshal(b []byte) error
- type RequestPage
- func (*RequestPage) Descriptor() ([]byte, []int)
- func (m *RequestPage) GetNumber() uint32
- func (m *RequestPage) GetPage() uint32
- func (*RequestPage) ProtoMessage()
- func (m *RequestPage) Reset()
- func (m *RequestPage) String() string
- func (m *RequestPage) XXX_DiscardUnknown()
- func (m *RequestPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestPage) XXX_Merge(src proto.Message)
- func (m *RequestPage) XXX_Size() int
- func (m *RequestPage) XXX_Unmarshal(b []byte) error
- type SchoolInfo
- func (*SchoolInfo) Descriptor() ([]byte, []int)
- func (m *SchoolInfo) GetCreated() uint32
- func (m *SchoolInfo) GetCreator() string
- func (m *SchoolInfo) GetEntity() string
- func (m *SchoolInfo) GetGrade() uint32
- func (m *SchoolInfo) GetHonors() []*HonorInfo
- func (m *SchoolInfo) GetId() uint64
- func (m *SchoolInfo) GetName() string
- func (m *SchoolInfo) GetOperator() string
- func (m *SchoolInfo) GetRespects() []*HonorInfo
- func (m *SchoolInfo) GetScene() string
- func (m *SchoolInfo) GetSubjects() []*SubjectInfo
- func (m *SchoolInfo) GetTeachers() []string
- func (m *SchoolInfo) GetUid() string
- func (m *SchoolInfo) GetUpdated() uint32
- func (*SchoolInfo) ProtoMessage()
- func (m *SchoolInfo) Reset()
- func (m *SchoolInfo) String() string
- func (m *SchoolInfo) XXX_DiscardUnknown()
- func (m *SchoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchoolInfo) XXX_Merge(src proto.Message)
- func (m *SchoolInfo) XXX_Size() int
- func (m *SchoolInfo) XXX_Unmarshal(b []byte) error
- type SchoolService
- type SchoolServiceHandler
- type StudentInfo
- func (*StudentInfo) Descriptor() ([]byte, []int)
- func (m *StudentInfo) GetCard() string
- func (m *StudentInfo) GetCreated() uint32
- func (m *StudentInfo) GetCreator() string
- func (m *StudentInfo) GetCustodians() []*CustodianInfo
- func (m *StudentInfo) GetEnrol() string
- func (m *StudentInfo) GetEntity() string
- func (m *StudentInfo) GetId() uint64
- func (m *StudentInfo) GetName() string
- func (m *StudentInfo) GetOperator() string
- func (m *StudentInfo) GetSex() uint32
- func (m *StudentInfo) GetSid() string
- func (m *StudentInfo) GetSn() string
- func (m *StudentInfo) GetUid() string
- func (m *StudentInfo) GetUpdated() uint32
- func (*StudentInfo) ProtoMessage()
- func (m *StudentInfo) Reset()
- func (m *StudentInfo) String() string
- func (m *StudentInfo) XXX_DiscardUnknown()
- func (m *StudentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StudentInfo) XXX_Merge(src proto.Message)
- func (m *StudentInfo) XXX_Size() int
- func (m *StudentInfo) XXX_Unmarshal(b []byte) error
- type StudentService
- type StudentServiceHandler
- type SubjectInfo
- func (*SubjectInfo) Descriptor() ([]byte, []int)
- func (m *SubjectInfo) GetName() string
- func (m *SubjectInfo) GetRemark() string
- func (m *SubjectInfo) GetUid() string
- func (*SubjectInfo) ProtoMessage()
- func (m *SubjectInfo) Reset()
- func (m *SubjectInfo) String() string
- func (m *SubjectInfo) XXX_DiscardUnknown()
- func (m *SubjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubjectInfo) XXX_Merge(src proto.Message)
- func (m *SubjectInfo) XXX_Size() int
- func (m *SubjectInfo) XXX_Unmarshal(b []byte) error
- type TargetType
- type TeacherInfo
- func (*TeacherInfo) Descriptor() ([]byte, []int)
- func (m *TeacherInfo) GetClasses() []string
- func (m *TeacherInfo) GetCreated() uint32
- func (m *TeacherInfo) GetCreator() string
- func (m *TeacherInfo) GetEntity() string
- func (m *TeacherInfo) GetId() uint32
- func (m *TeacherInfo) GetName() string
- func (m *TeacherInfo) GetOperator() string
- func (m *TeacherInfo) GetOwner() string
- func (m *TeacherInfo) GetSubjects() []string
- func (m *TeacherInfo) GetUid() string
- func (m *TeacherInfo) GetUpdated() uint32
- func (m *TeacherInfo) GetUser() string
- func (*TeacherInfo) ProtoMessage()
- func (m *TeacherInfo) Reset()
- func (m *TeacherInfo) String() string
- func (m *TeacherInfo) XXX_DiscardUnknown()
- func (m *TeacherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TeacherInfo) XXX_Merge(src proto.Message)
- func (m *TeacherInfo) XXX_Size() int
- func (m *TeacherInfo) XXX_Unmarshal(b []byte) error
- type TeacherService
- type TeacherServiceHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var OptionType_name = map[int32]string{
0: "Add",
1: "Update",
2: "Remove",
3: "Get",
}
View Source
var OptionType_value = map[string]int32{
"Add": 0,
"Update": 1,
"Remove": 2,
"Get": 3,
}
View Source
var TargetType_name = map[int32]string{
0: "TSelf",
1: "TStudent",
2: "TTeacher",
3: "TClass",
4: "TStudent_GH",
5: "TTeacher_GH",
6: "TSubject",
}
View Source
var TargetType_value = map[string]int32{
"TSelf": 0,
"TStudent": 1,
"TTeacher": 2,
"TClass": 3,
"TStudent_GH": 4,
"TTeacher_GH": 5,
"TSubject": 6,
}
Functions ¶
func RegisterClassesServiceHandler ¶
func RegisterClassesServiceHandler(s server.Server, hdlr ClassesServiceHandler, opts ...server.HandlerOption) error
func RegisterSchoolServiceHandler ¶
func RegisterSchoolServiceHandler(s server.Server, hdlr SchoolServiceHandler, opts ...server.HandlerOption) error
func RegisterStudentServiceHandler ¶
func RegisterStudentServiceHandler(s server.Server, hdlr StudentServiceHandler, opts ...server.HandlerOption) error
func RegisterTeacherServiceHandler ¶
func RegisterTeacherServiceHandler(s server.Server, hdlr TeacherServiceHandler, opts ...server.HandlerOption) error
Types ¶
type ClassInfo ¶
type ClassInfo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Created uint32 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"` Updated uint32 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"` Enrol string `protobuf:"bytes,9,opt,name=enrol,proto3" json:"enrol,omitempty"` Grade uint32 `protobuf:"varint,10,opt,name=grade,proto3" json:"grade,omitempty"` Type uint32 `protobuf:"varint,11,opt,name=type,proto3" json:"type,omitempty"` No uint32 `protobuf:"varint,12,opt,name=no,proto3" json:"no,omitempty"` Master string `protobuf:"bytes,13,opt,name=master,proto3" json:"master,omitempty"` Teachers []string `protobuf:"bytes,14,rep,name=teachers,proto3" json:"teachers,omitempty"` Students []*MemberInfo `protobuf:"bytes,15,rep,name=students,proto3" json:"students,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClassInfo) Descriptor ¶
func (*ClassInfo) GetCreated ¶
func (*ClassInfo) GetCreator ¶
func (*ClassInfo) GetOperator ¶
func (*ClassInfo) GetStudents ¶
func (m *ClassInfo) GetStudents() []*MemberInfo
func (*ClassInfo) GetTeachers ¶
func (*ClassInfo) GetUpdated ¶
func (*ClassInfo) ProtoMessage ¶
func (*ClassInfo) ProtoMessage()
func (*ClassInfo) XXX_DiscardUnknown ¶
func (m *ClassInfo) XXX_DiscardUnknown()
func (*ClassInfo) XXX_Marshal ¶
func (*ClassInfo) XXX_Unmarshal ¶
type ClassesService ¶
type ClassesService interface { AddOne(ctx context.Context, in *ReqClassAdd, opts ...client.CallOption) (*ReplyClassInfo, error) GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyClassList, error) GetList(ctx context.Context, in *RequestPage, opts ...client.CallOption) (*ReplyClassList, error) UpdateOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyClassInfo, error) RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error) SetMaster(ctx context.Context, in *ReqClassMaster, opts ...client.CallOption) (*ReplyInfo, error) StudentJoin(ctx context.Context, in *ReqClassJoin, opts ...client.CallOption) (*ReplyInfo, error) StudentKick(ctx context.Context, in *ReqClassKick, opts ...client.CallOption) (*ReplyInfo, error) }
func NewClassesService ¶
func NewClassesService(name string, c client.Client) ClassesService
type ClassesServiceHandler ¶
type ClassesServiceHandler interface { AddOne(context.Context, *ReqClassAdd, *ReplyClassInfo) error GetOne(context.Context, *RequestInfo, *ReplyClassList) error GetList(context.Context, *RequestPage, *ReplyClassList) error UpdateOne(context.Context, *RequestInfo, *ReplyClassInfo) error RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error SetMaster(context.Context, *ReqClassMaster, *ReplyInfo) error StudentJoin(context.Context, *ReqClassJoin, *ReplyInfo) error StudentKick(context.Context, *ReqClassKick, *ReplyInfo) error }
type CustodianInfo ¶
type CustodianInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Identify string `protobuf:"bytes,2,opt,name=identify,proto3" json:"identify,omitempty"` Phones []string `protobuf:"bytes,3,rep,name=phones,proto3" json:"phones,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CustodianInfo) Descriptor ¶
func (*CustodianInfo) Descriptor() ([]byte, []int)
func (*CustodianInfo) GetIdentify ¶
func (m *CustodianInfo) GetIdentify() string
func (*CustodianInfo) GetName ¶
func (m *CustodianInfo) GetName() string
func (*CustodianInfo) GetPhones ¶
func (m *CustodianInfo) GetPhones() []string
func (*CustodianInfo) ProtoMessage ¶
func (*CustodianInfo) ProtoMessage()
func (*CustodianInfo) Reset ¶
func (m *CustodianInfo) Reset()
func (*CustodianInfo) String ¶
func (m *CustodianInfo) String() string
func (*CustodianInfo) XXX_DiscardUnknown ¶
func (m *CustodianInfo) XXX_DiscardUnknown()
func (*CustodianInfo) XXX_Marshal ¶
func (m *CustodianInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustodianInfo) XXX_Merge ¶
func (m *CustodianInfo) XXX_Merge(src proto.Message)
func (*CustodianInfo) XXX_Size ¶
func (m *CustodianInfo) XXX_Size() int
func (*CustodianInfo) XXX_Unmarshal ¶
func (m *CustodianInfo) XXX_Unmarshal(b []byte) error
type HonorBrief ¶
type HonorBrief struct { Year string `protobuf:"bytes,1,opt,name=year,proto3" json:"year,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Entities []string `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HonorBrief) Descriptor ¶
func (*HonorBrief) Descriptor() ([]byte, []int)
func (*HonorBrief) GetCount ¶
func (m *HonorBrief) GetCount() uint32
func (*HonorBrief) GetEntities ¶
func (m *HonorBrief) GetEntities() []string
func (*HonorBrief) GetYear ¶
func (m *HonorBrief) GetYear() string
func (*HonorBrief) ProtoMessage ¶
func (*HonorBrief) ProtoMessage()
func (*HonorBrief) Reset ¶
func (m *HonorBrief) Reset()
func (*HonorBrief) String ¶
func (m *HonorBrief) String() string
func (*HonorBrief) XXX_DiscardUnknown ¶
func (m *HonorBrief) XXX_DiscardUnknown()
func (*HonorBrief) XXX_Marshal ¶
func (m *HonorBrief) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HonorBrief) XXX_Merge ¶
func (m *HonorBrief) XXX_Merge(src proto.Message)
func (*HonorBrief) XXX_Size ¶
func (m *HonorBrief) XXX_Size() int
func (*HonorBrief) XXX_Unmarshal ¶
func (m *HonorBrief) XXX_Unmarshal(b []byte) error
type HonorInfo ¶
type HonorInfo struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` Children []*HonorInfo `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` Bries []*HonorBrief `protobuf:"bytes,6,rep,name=bries,proto3" json:"bries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HonorInfo) Descriptor ¶
func (*HonorInfo) GetBries ¶
func (m *HonorInfo) GetBries() []*HonorBrief
func (*HonorInfo) GetChildren ¶
func (*HonorInfo) ProtoMessage ¶
func (*HonorInfo) ProtoMessage()
func (*HonorInfo) XXX_DiscardUnknown ¶
func (m *HonorInfo) XXX_DiscardUnknown()
func (*HonorInfo) XXX_Marshal ¶
func (*HonorInfo) XXX_Unmarshal ¶
type MemberInfo ¶
type MemberInfo struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Student string `protobuf:"bytes,2,opt,name=student,proto3" json:"student,omitempty"` Status uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemberInfo) Descriptor ¶
func (*MemberInfo) Descriptor() ([]byte, []int)
func (*MemberInfo) GetRemark ¶
func (m *MemberInfo) GetRemark() string
func (*MemberInfo) GetStatus ¶
func (m *MemberInfo) GetStatus() uint32
func (*MemberInfo) GetStudent ¶
func (m *MemberInfo) GetStudent() string
func (*MemberInfo) GetUid ¶
func (m *MemberInfo) GetUid() string
func (*MemberInfo) ProtoMessage ¶
func (*MemberInfo) ProtoMessage()
func (*MemberInfo) Reset ¶
func (m *MemberInfo) Reset()
func (*MemberInfo) String ¶
func (m *MemberInfo) String() string
func (*MemberInfo) XXX_DiscardUnknown ¶
func (m *MemberInfo) XXX_DiscardUnknown()
func (*MemberInfo) XXX_Marshal ¶
func (m *MemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MemberInfo) XXX_Merge ¶
func (m *MemberInfo) XXX_Merge(src proto.Message)
func (*MemberInfo) XXX_Size ¶
func (m *MemberInfo) XXX_Size() int
func (*MemberInfo) XXX_Unmarshal ¶
func (m *MemberInfo) XXX_Unmarshal(b []byte) error
type OptionType ¶
type OptionType int32
const ( OptionType_Add OptionType = 0 OptionType_Update OptionType = 1 OptionType_Remove OptionType = 2 OptionType_Get OptionType = 3 )
func (OptionType) EnumDescriptor ¶
func (OptionType) EnumDescriptor() ([]byte, []int)
func (OptionType) String ¶
func (x OptionType) String() string
type PairInfo ¶
type PairInfo struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PairInfo) Descriptor ¶
func (*PairInfo) ProtoMessage ¶
func (*PairInfo) ProtoMessage()
func (*PairInfo) XXX_DiscardUnknown ¶
func (m *PairInfo) XXX_DiscardUnknown()
func (*PairInfo) XXX_Marshal ¶
func (*PairInfo) XXX_Unmarshal ¶
type ReplyClassInfo ¶
type ReplyClassInfo struct { Info *ClassInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyClassInfo) Descriptor ¶
func (*ReplyClassInfo) Descriptor() ([]byte, []int)
func (*ReplyClassInfo) GetInfo ¶
func (m *ReplyClassInfo) GetInfo() *ClassInfo
func (*ReplyClassInfo) GetStatus ¶
func (m *ReplyClassInfo) GetStatus() *ReplyStatus
func (*ReplyClassInfo) ProtoMessage ¶
func (*ReplyClassInfo) ProtoMessage()
func (*ReplyClassInfo) Reset ¶
func (m *ReplyClassInfo) Reset()
func (*ReplyClassInfo) String ¶
func (m *ReplyClassInfo) String() string
func (*ReplyClassInfo) XXX_DiscardUnknown ¶
func (m *ReplyClassInfo) XXX_DiscardUnknown()
func (*ReplyClassInfo) XXX_Marshal ¶
func (m *ReplyClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyClassInfo) XXX_Merge ¶
func (m *ReplyClassInfo) XXX_Merge(src proto.Message)
func (*ReplyClassInfo) XXX_Size ¶
func (m *ReplyClassInfo) XXX_Size() int
func (*ReplyClassInfo) XXX_Unmarshal ¶
func (m *ReplyClassInfo) XXX_Unmarshal(b []byte) error
type ReplyClassList ¶
type ReplyClassList struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Number uint32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` List []*ClassInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"` Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyClassList) Descriptor ¶
func (*ReplyClassList) Descriptor() ([]byte, []int)
func (*ReplyClassList) GetList ¶
func (m *ReplyClassList) GetList() []*ClassInfo
func (*ReplyClassList) GetNumber ¶
func (m *ReplyClassList) GetNumber() uint32
func (*ReplyClassList) GetPage ¶
func (m *ReplyClassList) GetPage() uint32
func (*ReplyClassList) GetStatus ¶
func (m *ReplyClassList) GetStatus() *ReplyStatus
func (*ReplyClassList) GetTotal ¶
func (m *ReplyClassList) GetTotal() uint32
func (*ReplyClassList) ProtoMessage ¶
func (*ReplyClassList) ProtoMessage()
func (*ReplyClassList) Reset ¶
func (m *ReplyClassList) Reset()
func (*ReplyClassList) String ¶
func (m *ReplyClassList) String() string
func (*ReplyClassList) XXX_DiscardUnknown ¶
func (m *ReplyClassList) XXX_DiscardUnknown()
func (*ReplyClassList) XXX_Marshal ¶
func (m *ReplyClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyClassList) XXX_Merge ¶
func (m *ReplyClassList) XXX_Merge(src proto.Message)
func (*ReplyClassList) XXX_Size ¶
func (m *ReplyClassList) XXX_Size() int
func (*ReplyClassList) XXX_Unmarshal ¶
func (m *ReplyClassList) XXX_Unmarshal(b []byte) error
type ReplyInfo ¶
type ReplyInfo struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyInfo) Descriptor ¶
func (*ReplyInfo) GetStatus ¶
func (m *ReplyInfo) GetStatus() *ReplyStatus
func (*ReplyInfo) ProtoMessage ¶
func (*ReplyInfo) ProtoMessage()
func (*ReplyInfo) XXX_DiscardUnknown ¶
func (m *ReplyInfo) XXX_DiscardUnknown()
func (*ReplyInfo) XXX_Marshal ¶
func (*ReplyInfo) XXX_Unmarshal ¶
type ReplySchoolHonors ¶
type ReplySchoolHonors struct { Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Honors []*HonorInfo `protobuf:"bytes,3,rep,name=honors,proto3" json:"honors,omitempty"` Status *ReplyStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySchoolHonors) Descriptor ¶
func (*ReplySchoolHonors) Descriptor() ([]byte, []int)
func (*ReplySchoolHonors) GetHonors ¶
func (m *ReplySchoolHonors) GetHonors() []*HonorInfo
func (*ReplySchoolHonors) GetScene ¶
func (m *ReplySchoolHonors) GetScene() string
func (*ReplySchoolHonors) GetStatus ¶
func (m *ReplySchoolHonors) GetStatus() *ReplyStatus
func (*ReplySchoolHonors) GetType ¶
func (m *ReplySchoolHonors) GetType() uint32
func (*ReplySchoolHonors) ProtoMessage ¶
func (*ReplySchoolHonors) ProtoMessage()
func (*ReplySchoolHonors) Reset ¶
func (m *ReplySchoolHonors) Reset()
func (*ReplySchoolHonors) String ¶
func (m *ReplySchoolHonors) String() string
func (*ReplySchoolHonors) XXX_DiscardUnknown ¶
func (m *ReplySchoolHonors) XXX_DiscardUnknown()
func (*ReplySchoolHonors) XXX_Marshal ¶
func (m *ReplySchoolHonors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySchoolHonors) XXX_Merge ¶
func (m *ReplySchoolHonors) XXX_Merge(src proto.Message)
func (*ReplySchoolHonors) XXX_Size ¶
func (m *ReplySchoolHonors) XXX_Size() int
func (*ReplySchoolHonors) XXX_Unmarshal ¶
func (m *ReplySchoolHonors) XXX_Unmarshal(b []byte) error
type ReplySchoolInfo ¶
type ReplySchoolInfo struct { Info *SchoolInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Role uint32 `protobuf:"varint,2,opt,name=role,proto3" json:"role,omitempty"` Status *ReplyStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySchoolInfo) Descriptor ¶
func (*ReplySchoolInfo) Descriptor() ([]byte, []int)
func (*ReplySchoolInfo) GetInfo ¶
func (m *ReplySchoolInfo) GetInfo() *SchoolInfo
func (*ReplySchoolInfo) GetRole ¶
func (m *ReplySchoolInfo) GetRole() uint32
func (*ReplySchoolInfo) GetStatus ¶
func (m *ReplySchoolInfo) GetStatus() *ReplyStatus
func (*ReplySchoolInfo) ProtoMessage ¶
func (*ReplySchoolInfo) ProtoMessage()
func (*ReplySchoolInfo) Reset ¶
func (m *ReplySchoolInfo) Reset()
func (*ReplySchoolInfo) String ¶
func (m *ReplySchoolInfo) String() string
func (*ReplySchoolInfo) XXX_DiscardUnknown ¶
func (m *ReplySchoolInfo) XXX_DiscardUnknown()
func (*ReplySchoolInfo) XXX_Marshal ¶
func (m *ReplySchoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySchoolInfo) XXX_Merge ¶
func (m *ReplySchoolInfo) XXX_Merge(src proto.Message)
func (*ReplySchoolInfo) XXX_Size ¶
func (m *ReplySchoolInfo) XXX_Size() int
func (*ReplySchoolInfo) XXX_Unmarshal ¶
func (m *ReplySchoolInfo) XXX_Unmarshal(b []byte) error
type ReplySchoolList ¶
type ReplySchoolList struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Number uint32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` List []*SchoolInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"` Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySchoolList) Descriptor ¶
func (*ReplySchoolList) Descriptor() ([]byte, []int)
func (*ReplySchoolList) GetList ¶
func (m *ReplySchoolList) GetList() []*SchoolInfo
func (*ReplySchoolList) GetNumber ¶
func (m *ReplySchoolList) GetNumber() uint32
func (*ReplySchoolList) GetPage ¶
func (m *ReplySchoolList) GetPage() uint32
func (*ReplySchoolList) GetStatus ¶
func (m *ReplySchoolList) GetStatus() *ReplyStatus
func (*ReplySchoolList) GetTotal ¶
func (m *ReplySchoolList) GetTotal() uint32
func (*ReplySchoolList) ProtoMessage ¶
func (*ReplySchoolList) ProtoMessage()
func (*ReplySchoolList) Reset ¶
func (m *ReplySchoolList) Reset()
func (*ReplySchoolList) String ¶
func (m *ReplySchoolList) String() string
func (*ReplySchoolList) XXX_DiscardUnknown ¶
func (m *ReplySchoolList) XXX_DiscardUnknown()
func (*ReplySchoolList) XXX_Marshal ¶
func (m *ReplySchoolList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySchoolList) XXX_Merge ¶
func (m *ReplySchoolList) XXX_Merge(src proto.Message)
func (*ReplySchoolList) XXX_Size ¶
func (m *ReplySchoolList) XXX_Size() int
func (*ReplySchoolList) XXX_Unmarshal ¶
func (m *ReplySchoolList) XXX_Unmarshal(b []byte) error
type ReplySchoolSubjects ¶
type ReplySchoolSubjects struct { Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"` Subjects []*SubjectInfo `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` Status *ReplyStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySchoolSubjects) Descriptor ¶
func (*ReplySchoolSubjects) Descriptor() ([]byte, []int)
func (*ReplySchoolSubjects) GetScene ¶
func (m *ReplySchoolSubjects) GetScene() string
func (*ReplySchoolSubjects) GetStatus ¶
func (m *ReplySchoolSubjects) GetStatus() *ReplyStatus
func (*ReplySchoolSubjects) GetSubjects ¶
func (m *ReplySchoolSubjects) GetSubjects() []*SubjectInfo
func (*ReplySchoolSubjects) ProtoMessage ¶
func (*ReplySchoolSubjects) ProtoMessage()
func (*ReplySchoolSubjects) Reset ¶
func (m *ReplySchoolSubjects) Reset()
func (*ReplySchoolSubjects) String ¶
func (m *ReplySchoolSubjects) String() string
func (*ReplySchoolSubjects) XXX_DiscardUnknown ¶
func (m *ReplySchoolSubjects) XXX_DiscardUnknown()
func (*ReplySchoolSubjects) XXX_Marshal ¶
func (m *ReplySchoolSubjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySchoolSubjects) XXX_Merge ¶
func (m *ReplySchoolSubjects) XXX_Merge(src proto.Message)
func (*ReplySchoolSubjects) XXX_Size ¶
func (m *ReplySchoolSubjects) XXX_Size() int
func (*ReplySchoolSubjects) XXX_Unmarshal ¶
func (m *ReplySchoolSubjects) XXX_Unmarshal(b []byte) error
type ReplyStatus ¶
type ReplyStatus struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyStatus) Descriptor ¶
func (*ReplyStatus) Descriptor() ([]byte, []int)
func (*ReplyStatus) GetCode ¶
func (m *ReplyStatus) GetCode() uint32
func (*ReplyStatus) GetMsg ¶
func (m *ReplyStatus) GetMsg() string
func (*ReplyStatus) ProtoMessage ¶
func (*ReplyStatus) ProtoMessage()
func (*ReplyStatus) Reset ¶
func (m *ReplyStatus) Reset()
func (*ReplyStatus) String ¶
func (m *ReplyStatus) String() string
func (*ReplyStatus) XXX_DiscardUnknown ¶
func (m *ReplyStatus) XXX_DiscardUnknown()
func (*ReplyStatus) XXX_Marshal ¶
func (m *ReplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStatus) XXX_Merge ¶
func (m *ReplyStatus) XXX_Merge(src proto.Message)
func (*ReplyStatus) XXX_Size ¶
func (m *ReplyStatus) XXX_Size() int
func (*ReplyStatus) XXX_Unmarshal ¶
func (m *ReplyStatus) XXX_Unmarshal(b []byte) error
type ReplyStudentInfo ¶
type ReplyStudentInfo struct { Info *StudentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyStudentInfo) Descriptor ¶
func (*ReplyStudentInfo) Descriptor() ([]byte, []int)
func (*ReplyStudentInfo) GetInfo ¶
func (m *ReplyStudentInfo) GetInfo() *StudentInfo
func (*ReplyStudentInfo) GetStatus ¶
func (m *ReplyStudentInfo) GetStatus() *ReplyStatus
func (*ReplyStudentInfo) ProtoMessage ¶
func (*ReplyStudentInfo) ProtoMessage()
func (*ReplyStudentInfo) Reset ¶
func (m *ReplyStudentInfo) Reset()
func (*ReplyStudentInfo) String ¶
func (m *ReplyStudentInfo) String() string
func (*ReplyStudentInfo) XXX_DiscardUnknown ¶
func (m *ReplyStudentInfo) XXX_DiscardUnknown()
func (*ReplyStudentInfo) XXX_Marshal ¶
func (m *ReplyStudentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStudentInfo) XXX_Merge ¶
func (m *ReplyStudentInfo) XXX_Merge(src proto.Message)
func (*ReplyStudentInfo) XXX_Size ¶
func (m *ReplyStudentInfo) XXX_Size() int
func (*ReplyStudentInfo) XXX_Unmarshal ¶
func (m *ReplyStudentInfo) XXX_Unmarshal(b []byte) error
type ReplyStudentList ¶
type ReplyStudentList struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Number uint32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` List []*StudentInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"` Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyStudentList) Descriptor ¶
func (*ReplyStudentList) Descriptor() ([]byte, []int)
func (*ReplyStudentList) GetList ¶
func (m *ReplyStudentList) GetList() []*StudentInfo
func (*ReplyStudentList) GetNumber ¶
func (m *ReplyStudentList) GetNumber() uint32
func (*ReplyStudentList) GetPage ¶
func (m *ReplyStudentList) GetPage() uint32
func (*ReplyStudentList) GetStatus ¶
func (m *ReplyStudentList) GetStatus() *ReplyStatus
func (*ReplyStudentList) GetTotal ¶
func (m *ReplyStudentList) GetTotal() uint32
func (*ReplyStudentList) ProtoMessage ¶
func (*ReplyStudentList) ProtoMessage()
func (*ReplyStudentList) Reset ¶
func (m *ReplyStudentList) Reset()
func (*ReplyStudentList) String ¶
func (m *ReplyStudentList) String() string
func (*ReplyStudentList) XXX_DiscardUnknown ¶
func (m *ReplyStudentList) XXX_DiscardUnknown()
func (*ReplyStudentList) XXX_Marshal ¶
func (m *ReplyStudentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStudentList) XXX_Merge ¶
func (m *ReplyStudentList) XXX_Merge(src proto.Message)
func (*ReplyStudentList) XXX_Size ¶
func (m *ReplyStudentList) XXX_Size() int
func (*ReplyStudentList) XXX_Unmarshal ¶
func (m *ReplyStudentList) XXX_Unmarshal(b []byte) error
type ReplyTeacherInfo ¶
type ReplyTeacherInfo struct { Info *TeacherInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTeacherInfo) Descriptor ¶
func (*ReplyTeacherInfo) Descriptor() ([]byte, []int)
func (*ReplyTeacherInfo) GetInfo ¶
func (m *ReplyTeacherInfo) GetInfo() *TeacherInfo
func (*ReplyTeacherInfo) GetStatus ¶
func (m *ReplyTeacherInfo) GetStatus() *ReplyStatus
func (*ReplyTeacherInfo) ProtoMessage ¶
func (*ReplyTeacherInfo) ProtoMessage()
func (*ReplyTeacherInfo) Reset ¶
func (m *ReplyTeacherInfo) Reset()
func (*ReplyTeacherInfo) String ¶
func (m *ReplyTeacherInfo) String() string
func (*ReplyTeacherInfo) XXX_DiscardUnknown ¶
func (m *ReplyTeacherInfo) XXX_DiscardUnknown()
func (*ReplyTeacherInfo) XXX_Marshal ¶
func (m *ReplyTeacherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTeacherInfo) XXX_Merge ¶
func (m *ReplyTeacherInfo) XXX_Merge(src proto.Message)
func (*ReplyTeacherInfo) XXX_Size ¶
func (m *ReplyTeacherInfo) XXX_Size() int
func (*ReplyTeacherInfo) XXX_Unmarshal ¶
func (m *ReplyTeacherInfo) XXX_Unmarshal(b []byte) error
type ReplyTeacherList ¶
type ReplyTeacherList struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Number uint32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` Status *ReplyStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` List []*TeacherInfo `protobuf:"bytes,5,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTeacherList) Descriptor ¶
func (*ReplyTeacherList) Descriptor() ([]byte, []int)
func (*ReplyTeacherList) GetList ¶
func (m *ReplyTeacherList) GetList() []*TeacherInfo
func (*ReplyTeacherList) GetNumber ¶
func (m *ReplyTeacherList) GetNumber() uint32
func (*ReplyTeacherList) GetPage ¶
func (m *ReplyTeacherList) GetPage() uint32
func (*ReplyTeacherList) GetStatus ¶
func (m *ReplyTeacherList) GetStatus() *ReplyStatus
func (*ReplyTeacherList) GetTotal ¶
func (m *ReplyTeacherList) GetTotal() uint32
func (*ReplyTeacherList) ProtoMessage ¶
func (*ReplyTeacherList) ProtoMessage()
func (*ReplyTeacherList) Reset ¶
func (m *ReplyTeacherList) Reset()
func (*ReplyTeacherList) String ¶
func (m *ReplyTeacherList) String() string
func (*ReplyTeacherList) XXX_DiscardUnknown ¶
func (m *ReplyTeacherList) XXX_DiscardUnknown()
func (*ReplyTeacherList) XXX_Marshal ¶
func (m *ReplyTeacherList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTeacherList) XXX_Merge ¶
func (m *ReplyTeacherList) XXX_Merge(src proto.Message)
func (*ReplyTeacherList) XXX_Size ¶
func (m *ReplyTeacherList) XXX_Size() int
func (*ReplyTeacherList) XXX_Unmarshal ¶
func (m *ReplyTeacherList) XXX_Unmarshal(b []byte) error
type ReqClassAdd ¶
type ReqClassAdd struct { Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Enrol string `protobuf:"bytes,3,opt,name=enrol,proto3" json:"enrol,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqClassAdd) Descriptor ¶
func (*ReqClassAdd) Descriptor() ([]byte, []int)
func (*ReqClassAdd) GetCount ¶
func (m *ReqClassAdd) GetCount() uint32
func (*ReqClassAdd) GetEnrol ¶
func (m *ReqClassAdd) GetEnrol() string
func (*ReqClassAdd) GetName ¶
func (m *ReqClassAdd) GetName() string
func (*ReqClassAdd) GetOperator ¶
func (m *ReqClassAdd) GetOperator() string
func (*ReqClassAdd) GetScene ¶
func (m *ReqClassAdd) GetScene() string
func (*ReqClassAdd) ProtoMessage ¶
func (*ReqClassAdd) ProtoMessage()
func (*ReqClassAdd) Reset ¶
func (m *ReqClassAdd) Reset()
func (*ReqClassAdd) String ¶
func (m *ReqClassAdd) String() string
func (*ReqClassAdd) XXX_DiscardUnknown ¶
func (m *ReqClassAdd) XXX_DiscardUnknown()
func (*ReqClassAdd) XXX_Marshal ¶
func (m *ReqClassAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqClassAdd) XXX_Merge ¶
func (m *ReqClassAdd) XXX_Merge(src proto.Message)
func (*ReqClassAdd) XXX_Size ¶
func (m *ReqClassAdd) XXX_Size() int
func (*ReqClassAdd) XXX_Unmarshal ¶
func (m *ReqClassAdd) XXX_Unmarshal(b []byte) error
type ReqClassJoin ¶
type ReqClassJoin struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Child string `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"` Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"` School string `protobuf:"bytes,4,opt,name=school,proto3" json:"school,omitempty"` Class string `protobuf:"bytes,5,opt,name=class,proto3" json:"class,omitempty"` Sex uint32 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"` Card string `protobuf:"bytes,7,opt,name=card,proto3" json:"card,omitempty"` Operator string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqClassJoin) Descriptor ¶
func (*ReqClassJoin) Descriptor() ([]byte, []int)
func (*ReqClassJoin) GetCard ¶
func (m *ReqClassJoin) GetCard() string
func (*ReqClassJoin) GetChild ¶
func (m *ReqClassJoin) GetChild() string
func (*ReqClassJoin) GetClass ¶
func (m *ReqClassJoin) GetClass() string
func (*ReqClassJoin) GetName ¶
func (m *ReqClassJoin) GetName() string
func (*ReqClassJoin) GetOperator ¶
func (m *ReqClassJoin) GetOperator() string
func (*ReqClassJoin) GetSchool ¶
func (m *ReqClassJoin) GetSchool() string
func (*ReqClassJoin) GetSex ¶
func (m *ReqClassJoin) GetSex() uint32
func (*ReqClassJoin) GetSn ¶
func (m *ReqClassJoin) GetSn() string
func (*ReqClassJoin) ProtoMessage ¶
func (*ReqClassJoin) ProtoMessage()
func (*ReqClassJoin) Reset ¶
func (m *ReqClassJoin) Reset()
func (*ReqClassJoin) String ¶
func (m *ReqClassJoin) String() string
func (*ReqClassJoin) XXX_DiscardUnknown ¶
func (m *ReqClassJoin) XXX_DiscardUnknown()
func (*ReqClassJoin) XXX_Marshal ¶
func (m *ReqClassJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqClassJoin) XXX_Merge ¶
func (m *ReqClassJoin) XXX_Merge(src proto.Message)
func (*ReqClassJoin) XXX_Size ¶
func (m *ReqClassJoin) XXX_Size() int
func (*ReqClassJoin) XXX_Unmarshal ¶
func (m *ReqClassJoin) XXX_Unmarshal(b []byte) error
type ReqClassKick ¶
type ReqClassKick struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Student string `protobuf:"bytes,3,opt,name=student,proto3" json:"student,omitempty"` Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqClassKick) Descriptor ¶
func (*ReqClassKick) Descriptor() ([]byte, []int)
func (*ReqClassKick) GetOperator ¶
func (m *ReqClassKick) GetOperator() string
func (*ReqClassKick) GetParent ¶
func (m *ReqClassKick) GetParent() string
func (*ReqClassKick) GetRemark ¶
func (m *ReqClassKick) GetRemark() string
func (*ReqClassKick) GetStudent ¶
func (m *ReqClassKick) GetStudent() string
func (*ReqClassKick) GetUid ¶
func (m *ReqClassKick) GetUid() string
func (*ReqClassKick) ProtoMessage ¶
func (*ReqClassKick) ProtoMessage()
func (*ReqClassKick) Reset ¶
func (m *ReqClassKick) Reset()
func (*ReqClassKick) String ¶
func (m *ReqClassKick) String() string
func (*ReqClassKick) XXX_DiscardUnknown ¶
func (m *ReqClassKick) XXX_DiscardUnknown()
func (*ReqClassKick) XXX_Marshal ¶
func (m *ReqClassKick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqClassKick) XXX_Merge ¶
func (m *ReqClassKick) XXX_Merge(src proto.Message)
func (*ReqClassKick) XXX_Size ¶
func (m *ReqClassKick) XXX_Size() int
func (*ReqClassKick) XXX_Unmarshal ¶
func (m *ReqClassKick) XXX_Unmarshal(b []byte) error
type ReqClassMaster ¶
type ReqClassMaster struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Teacher string `protobuf:"bytes,3,opt,name=teacher,proto3" json:"teacher,omitempty"` Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqClassMaster) Descriptor ¶
func (*ReqClassMaster) Descriptor() ([]byte, []int)
func (*ReqClassMaster) GetOperator ¶
func (m *ReqClassMaster) GetOperator() string
func (*ReqClassMaster) GetParent ¶
func (m *ReqClassMaster) GetParent() string
func (*ReqClassMaster) GetTeacher ¶
func (m *ReqClassMaster) GetTeacher() string
func (*ReqClassMaster) GetUid ¶
func (m *ReqClassMaster) GetUid() string
func (*ReqClassMaster) ProtoMessage ¶
func (*ReqClassMaster) ProtoMessage()
func (*ReqClassMaster) Reset ¶
func (m *ReqClassMaster) Reset()
func (*ReqClassMaster) String ¶
func (m *ReqClassMaster) String() string
func (*ReqClassMaster) XXX_DiscardUnknown ¶
func (m *ReqClassMaster) XXX_DiscardUnknown()
func (*ReqClassMaster) XXX_Marshal ¶
func (m *ReqClassMaster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqClassMaster) XXX_Merge ¶
func (m *ReqClassMaster) XXX_Merge(src proto.Message)
func (*ReqClassMaster) XXX_Size ¶
func (m *ReqClassMaster) XXX_Size() int
func (*ReqClassMaster) XXX_Unmarshal ¶
func (m *ReqClassMaster) XXX_Unmarshal(b []byte) error
type ReqClassUpdate ¶
type ReqClassUpdate struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqClassUpdate) Descriptor ¶
func (*ReqClassUpdate) Descriptor() ([]byte, []int)
func (*ReqClassUpdate) GetName ¶
func (m *ReqClassUpdate) GetName() string
func (*ReqClassUpdate) GetOperator ¶
func (m *ReqClassUpdate) GetOperator() string
func (*ReqClassUpdate) GetParent ¶
func (m *ReqClassUpdate) GetParent() string
func (*ReqClassUpdate) GetUid ¶
func (m *ReqClassUpdate) GetUid() string
func (*ReqClassUpdate) ProtoMessage ¶
func (*ReqClassUpdate) ProtoMessage()
func (*ReqClassUpdate) Reset ¶
func (m *ReqClassUpdate) Reset()
func (*ReqClassUpdate) String ¶
func (m *ReqClassUpdate) String() string
func (*ReqClassUpdate) XXX_DiscardUnknown ¶
func (m *ReqClassUpdate) XXX_DiscardUnknown()
func (*ReqClassUpdate) XXX_Marshal ¶
func (m *ReqClassUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqClassUpdate) XXX_Merge ¶
func (m *ReqClassUpdate) XXX_Merge(src proto.Message)
func (*ReqClassUpdate) XXX_Size ¶
func (m *ReqClassUpdate) XXX_Size() int
func (*ReqClassUpdate) XXX_Unmarshal ¶
func (m *ReqClassUpdate) XXX_Unmarshal(b []byte) error
type ReqSchoolAdd ¶
type ReqSchoolAdd struct { Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"` Grade uint32 `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Cover string `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover,omitempty"` Entity string `protobuf:"bytes,5,opt,name=entity,proto3" json:"entity,omitempty"` Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqSchoolAdd) Descriptor ¶
func (*ReqSchoolAdd) Descriptor() ([]byte, []int)
func (*ReqSchoolAdd) GetCover ¶
func (m *ReqSchoolAdd) GetCover() string
func (*ReqSchoolAdd) GetEntity ¶
func (m *ReqSchoolAdd) GetEntity() string
func (*ReqSchoolAdd) GetGrade ¶
func (m *ReqSchoolAdd) GetGrade() uint32
func (*ReqSchoolAdd) GetName ¶
func (m *ReqSchoolAdd) GetName() string
func (*ReqSchoolAdd) GetOperator ¶
func (m *ReqSchoolAdd) GetOperator() string
func (*ReqSchoolAdd) GetScene ¶
func (m *ReqSchoolAdd) GetScene() string
func (*ReqSchoolAdd) ProtoMessage ¶
func (*ReqSchoolAdd) ProtoMessage()
func (*ReqSchoolAdd) Reset ¶
func (m *ReqSchoolAdd) Reset()
func (*ReqSchoolAdd) String ¶
func (m *ReqSchoolAdd) String() string
func (*ReqSchoolAdd) XXX_DiscardUnknown ¶
func (m *ReqSchoolAdd) XXX_DiscardUnknown()
func (*ReqSchoolAdd) XXX_Marshal ¶
func (m *ReqSchoolAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSchoolAdd) XXX_Merge ¶
func (m *ReqSchoolAdd) XXX_Merge(src proto.Message)
func (*ReqSchoolAdd) XXX_Size ¶
func (m *ReqSchoolAdd) XXX_Size() int
func (*ReqSchoolAdd) XXX_Unmarshal ¶
func (m *ReqSchoolAdd) XXX_Unmarshal(b []byte) error
type ReqSchoolSubject ¶
type ReqSchoolSubject struct { Option OptionType `protobuf:"varint,1,opt,name=option,proto3,enum=omo.msp.school.OptionType" json:"option,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"` Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqSchoolSubject) Descriptor ¶
func (*ReqSchoolSubject) Descriptor() ([]byte, []int)
func (*ReqSchoolSubject) GetName ¶
func (m *ReqSchoolSubject) GetName() string
func (*ReqSchoolSubject) GetOperator ¶
func (m *ReqSchoolSubject) GetOperator() string
func (*ReqSchoolSubject) GetOption ¶
func (m *ReqSchoolSubject) GetOption() OptionType
func (*ReqSchoolSubject) GetRemark ¶
func (m *ReqSchoolSubject) GetRemark() string
func (*ReqSchoolSubject) GetScene ¶
func (m *ReqSchoolSubject) GetScene() string
func (*ReqSchoolSubject) GetUid ¶
func (m *ReqSchoolSubject) GetUid() string
func (*ReqSchoolSubject) ProtoMessage ¶
func (*ReqSchoolSubject) ProtoMessage()
func (*ReqSchoolSubject) Reset ¶
func (m *ReqSchoolSubject) Reset()
func (*ReqSchoolSubject) String ¶
func (m *ReqSchoolSubject) String() string
func (*ReqSchoolSubject) XXX_DiscardUnknown ¶
func (m *ReqSchoolSubject) XXX_DiscardUnknown()
func (*ReqSchoolSubject) XXX_Marshal ¶
func (m *ReqSchoolSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSchoolSubject) XXX_Merge ¶
func (m *ReqSchoolSubject) XXX_Merge(src proto.Message)
func (*ReqSchoolSubject) XXX_Size ¶
func (m *ReqSchoolSubject) XXX_Size() int
func (*ReqSchoolSubject) XXX_Unmarshal ¶
func (m *ReqSchoolSubject) XXX_Unmarshal(b []byte) error
type ReqSchoolUpdate ¶
type ReqSchoolUpdate struct { Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqSchoolUpdate) Descriptor ¶
func (*ReqSchoolUpdate) Descriptor() ([]byte, []int)
func (*ReqSchoolUpdate) GetName ¶
func (m *ReqSchoolUpdate) GetName() string
func (*ReqSchoolUpdate) GetOperator ¶
func (m *ReqSchoolUpdate) GetOperator() string
func (*ReqSchoolUpdate) GetRemark ¶
func (m *ReqSchoolUpdate) GetRemark() string
func (*ReqSchoolUpdate) GetScene ¶
func (m *ReqSchoolUpdate) GetScene() string
func (*ReqSchoolUpdate) ProtoMessage ¶
func (*ReqSchoolUpdate) ProtoMessage()
func (*ReqSchoolUpdate) Reset ¶
func (m *ReqSchoolUpdate) Reset()
func (*ReqSchoolUpdate) String ¶
func (m *ReqSchoolUpdate) String() string
func (*ReqSchoolUpdate) XXX_DiscardUnknown ¶
func (m *ReqSchoolUpdate) XXX_DiscardUnknown()
func (*ReqSchoolUpdate) XXX_Marshal ¶
func (m *ReqSchoolUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSchoolUpdate) XXX_Merge ¶
func (m *ReqSchoolUpdate) XXX_Merge(src proto.Message)
func (*ReqSchoolUpdate) XXX_Size ¶
func (m *ReqSchoolUpdate) XXX_Size() int
func (*ReqSchoolUpdate) XXX_Unmarshal ¶
func (m *ReqSchoolUpdate) XXX_Unmarshal(b []byte) error
type ReqStudentAdd ¶
type ReqStudentAdd struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Sn string `protobuf:"bytes,5,opt,name=sn,proto3" json:"sn,omitempty"` Card string `protobuf:"bytes,6,opt,name=card,proto3" json:"card,omitempty"` Sex uint32 `protobuf:"varint,7,opt,name=sex,proto3" json:"sex,omitempty"` Operator string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"` Enrol string `protobuf:"bytes,9,opt,name=enrol,proto3" json:"enrol,omitempty"` Custodians []*CustodianInfo `protobuf:"bytes,10,rep,name=custodians,proto3" json:"custodians,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqStudentAdd) Descriptor ¶
func (*ReqStudentAdd) Descriptor() ([]byte, []int)
func (*ReqStudentAdd) GetCard ¶
func (m *ReqStudentAdd) GetCard() string
func (*ReqStudentAdd) GetCustodians ¶
func (m *ReqStudentAdd) GetCustodians() []*CustodianInfo
func (*ReqStudentAdd) GetEnrol ¶
func (m *ReqStudentAdd) GetEnrol() string
func (*ReqStudentAdd) GetName ¶
func (m *ReqStudentAdd) GetName() string
func (*ReqStudentAdd) GetOperator ¶
func (m *ReqStudentAdd) GetOperator() string
func (*ReqStudentAdd) GetOwner ¶
func (m *ReqStudentAdd) GetOwner() string
func (*ReqStudentAdd) GetSex ¶
func (m *ReqStudentAdd) GetSex() uint32
func (*ReqStudentAdd) GetSn ¶
func (m *ReqStudentAdd) GetSn() string
func (*ReqStudentAdd) ProtoMessage ¶
func (*ReqStudentAdd) ProtoMessage()
func (*ReqStudentAdd) Reset ¶
func (m *ReqStudentAdd) Reset()
func (*ReqStudentAdd) String ¶
func (m *ReqStudentAdd) String() string
func (*ReqStudentAdd) XXX_DiscardUnknown ¶
func (m *ReqStudentAdd) XXX_DiscardUnknown()
func (*ReqStudentAdd) XXX_Marshal ¶
func (m *ReqStudentAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqStudentAdd) XXX_Merge ¶
func (m *ReqStudentAdd) XXX_Merge(src proto.Message)
func (*ReqStudentAdd) XXX_Size ¶
func (m *ReqStudentAdd) XXX_Size() int
func (*ReqStudentAdd) XXX_Unmarshal ¶
func (m *ReqStudentAdd) XXX_Unmarshal(b []byte) error
type ReqStudentBatch ¶
type ReqStudentBatch struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` List []*ReqStudentAdd `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqStudentBatch) Descriptor ¶
func (*ReqStudentBatch) Descriptor() ([]byte, []int)
func (*ReqStudentBatch) GetList ¶ added in v1.0.2
func (m *ReqStudentBatch) GetList() []*ReqStudentAdd
func (*ReqStudentBatch) GetOperator ¶
func (m *ReqStudentBatch) GetOperator() string
func (*ReqStudentBatch) GetOwner ¶
func (m *ReqStudentBatch) GetOwner() string
func (*ReqStudentBatch) ProtoMessage ¶
func (*ReqStudentBatch) ProtoMessage()
func (*ReqStudentBatch) Reset ¶
func (m *ReqStudentBatch) Reset()
func (*ReqStudentBatch) String ¶
func (m *ReqStudentBatch) String() string
func (*ReqStudentBatch) XXX_DiscardUnknown ¶
func (m *ReqStudentBatch) XXX_DiscardUnknown()
func (*ReqStudentBatch) XXX_Marshal ¶
func (m *ReqStudentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqStudentBatch) XXX_Merge ¶
func (m *ReqStudentBatch) XXX_Merge(src proto.Message)
func (*ReqStudentBatch) XXX_Size ¶
func (m *ReqStudentBatch) XXX_Size() int
func (*ReqStudentBatch) XXX_Unmarshal ¶
func (m *ReqStudentBatch) XXX_Unmarshal(b []byte) error
type ReqStudentBind ¶
type ReqStudentBind struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` Card string `protobuf:"bytes,4,opt,name=card,proto3" json:"card,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqStudentBind) Descriptor ¶
func (*ReqStudentBind) Descriptor() ([]byte, []int)
func (*ReqStudentBind) GetCard ¶
func (m *ReqStudentBind) GetCard() string
func (*ReqStudentBind) GetEntity ¶
func (m *ReqStudentBind) GetEntity() string
func (*ReqStudentBind) GetOperator ¶
func (m *ReqStudentBind) GetOperator() string
func (*ReqStudentBind) GetOwner ¶
func (m *ReqStudentBind) GetOwner() string
func (*ReqStudentBind) GetUid ¶
func (m *ReqStudentBind) GetUid() string
func (*ReqStudentBind) ProtoMessage ¶
func (*ReqStudentBind) ProtoMessage()
func (*ReqStudentBind) Reset ¶
func (m *ReqStudentBind) Reset()
func (*ReqStudentBind) String ¶
func (m *ReqStudentBind) String() string
func (*ReqStudentBind) XXX_DiscardUnknown ¶
func (m *ReqStudentBind) XXX_DiscardUnknown()
func (*ReqStudentBind) XXX_Marshal ¶
func (m *ReqStudentBind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqStudentBind) XXX_Merge ¶
func (m *ReqStudentBind) XXX_Merge(src proto.Message)
func (*ReqStudentBind) XXX_Size ¶
func (m *ReqStudentBind) XXX_Size() int
func (*ReqStudentBind) XXX_Unmarshal ¶
func (m *ReqStudentBind) XXX_Unmarshal(b []byte) error
type ReqStudentUpdate ¶
type ReqStudentUpdate struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Card string `protobuf:"bytes,4,opt,name=card,proto3" json:"card,omitempty"` Sex uint32 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex,omitempty"` Sn string `protobuf:"bytes,6,opt,name=sn,proto3" json:"sn,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` Enrol string `protobuf:"bytes,9,opt,name=enrol,proto3" json:"enrol,omitempty"` Custodians []*CustodianInfo `protobuf:"bytes,10,rep,name=custodians,proto3" json:"custodians,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqStudentUpdate) Descriptor ¶
func (*ReqStudentUpdate) Descriptor() ([]byte, []int)
func (*ReqStudentUpdate) GetCard ¶
func (m *ReqStudentUpdate) GetCard() string
func (*ReqStudentUpdate) GetCustodians ¶
func (m *ReqStudentUpdate) GetCustodians() []*CustodianInfo
func (*ReqStudentUpdate) GetEnrol ¶
func (m *ReqStudentUpdate) GetEnrol() string
func (*ReqStudentUpdate) GetName ¶
func (m *ReqStudentUpdate) GetName() string
func (*ReqStudentUpdate) GetOperator ¶
func (m *ReqStudentUpdate) GetOperator() string
func (*ReqStudentUpdate) GetOwner ¶
func (m *ReqStudentUpdate) GetOwner() string
func (*ReqStudentUpdate) GetSex ¶
func (m *ReqStudentUpdate) GetSex() uint32
func (*ReqStudentUpdate) GetSn ¶
func (m *ReqStudentUpdate) GetSn() string
func (*ReqStudentUpdate) GetUid ¶
func (m *ReqStudentUpdate) GetUid() string
func (*ReqStudentUpdate) ProtoMessage ¶
func (*ReqStudentUpdate) ProtoMessage()
func (*ReqStudentUpdate) Reset ¶
func (m *ReqStudentUpdate) Reset()
func (*ReqStudentUpdate) String ¶
func (m *ReqStudentUpdate) String() string
func (*ReqStudentUpdate) XXX_DiscardUnknown ¶
func (m *ReqStudentUpdate) XXX_DiscardUnknown()
func (*ReqStudentUpdate) XXX_Marshal ¶
func (m *ReqStudentUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqStudentUpdate) XXX_Merge ¶
func (m *ReqStudentUpdate) XXX_Merge(src proto.Message)
func (*ReqStudentUpdate) XXX_Size ¶
func (m *ReqStudentUpdate) XXX_Size() int
func (*ReqStudentUpdate) XXX_Unmarshal ¶
func (m *ReqStudentUpdate) XXX_Unmarshal(b []byte) error
type ReqTeacherAdd ¶
type ReqTeacherAdd struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Entity string `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` Subjects []string `protobuf:"bytes,6,rep,name=subjects,proto3" json:"subjects,omitempty"` Classes []string `protobuf:"bytes,7,rep,name=classes,proto3" json:"classes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTeacherAdd) Descriptor ¶
func (*ReqTeacherAdd) Descriptor() ([]byte, []int)
func (*ReqTeacherAdd) GetClasses ¶
func (m *ReqTeacherAdd) GetClasses() []string
func (*ReqTeacherAdd) GetEntity ¶
func (m *ReqTeacherAdd) GetEntity() string
func (*ReqTeacherAdd) GetName ¶
func (m *ReqTeacherAdd) GetName() string
func (*ReqTeacherAdd) GetOperator ¶
func (m *ReqTeacherAdd) GetOperator() string
func (*ReqTeacherAdd) GetOwner ¶
func (m *ReqTeacherAdd) GetOwner() string
func (*ReqTeacherAdd) GetSubjects ¶
func (m *ReqTeacherAdd) GetSubjects() []string
func (*ReqTeacherAdd) GetUser ¶
func (m *ReqTeacherAdd) GetUser() string
func (*ReqTeacherAdd) ProtoMessage ¶
func (*ReqTeacherAdd) ProtoMessage()
func (*ReqTeacherAdd) Reset ¶
func (m *ReqTeacherAdd) Reset()
func (*ReqTeacherAdd) String ¶
func (m *ReqTeacherAdd) String() string
func (*ReqTeacherAdd) XXX_DiscardUnknown ¶
func (m *ReqTeacherAdd) XXX_DiscardUnknown()
func (*ReqTeacherAdd) XXX_Marshal ¶
func (m *ReqTeacherAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTeacherAdd) XXX_Merge ¶
func (m *ReqTeacherAdd) XXX_Merge(src proto.Message)
func (*ReqTeacherAdd) XXX_Size ¶
func (m *ReqTeacherAdd) XXX_Size() int
func (*ReqTeacherAdd) XXX_Unmarshal ¶
func (m *ReqTeacherAdd) XXX_Unmarshal(b []byte) error
type ReqTeacherBatch ¶
type ReqTeacherBatch struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` List []*ReqTeacherAdd `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTeacherBatch) Descriptor ¶
func (*ReqTeacherBatch) Descriptor() ([]byte, []int)
func (*ReqTeacherBatch) GetList ¶ added in v1.0.2
func (m *ReqTeacherBatch) GetList() []*ReqTeacherAdd
func (*ReqTeacherBatch) GetOperator ¶
func (m *ReqTeacherBatch) GetOperator() string
func (*ReqTeacherBatch) GetOwner ¶
func (m *ReqTeacherBatch) GetOwner() string
func (*ReqTeacherBatch) ProtoMessage ¶
func (*ReqTeacherBatch) ProtoMessage()
func (*ReqTeacherBatch) Reset ¶
func (m *ReqTeacherBatch) Reset()
func (*ReqTeacherBatch) String ¶
func (m *ReqTeacherBatch) String() string
func (*ReqTeacherBatch) XXX_DiscardUnknown ¶
func (m *ReqTeacherBatch) XXX_DiscardUnknown()
func (*ReqTeacherBatch) XXX_Marshal ¶
func (m *ReqTeacherBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTeacherBatch) XXX_Merge ¶
func (m *ReqTeacherBatch) XXX_Merge(src proto.Message)
func (*ReqTeacherBatch) XXX_Size ¶
func (m *ReqTeacherBatch) XXX_Size() int
func (*ReqTeacherBatch) XXX_Unmarshal ¶
func (m *ReqTeacherBatch) XXX_Unmarshal(b []byte) error
type ReqTeacherUpdate ¶
type ReqTeacherUpdate struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"` Classes []string `protobuf:"bytes,5,rep,name=classes,proto3" json:"classes,omitempty"` Subjects []string `protobuf:"bytes,6,rep,name=subjects,proto3" json:"subjects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTeacherUpdate) Descriptor ¶
func (*ReqTeacherUpdate) Descriptor() ([]byte, []int)
func (*ReqTeacherUpdate) GetClasses ¶
func (m *ReqTeacherUpdate) GetClasses() []string
func (*ReqTeacherUpdate) GetName ¶
func (m *ReqTeacherUpdate) GetName() string
func (*ReqTeacherUpdate) GetOperator ¶
func (m *ReqTeacherUpdate) GetOperator() string
func (*ReqTeacherUpdate) GetOwner ¶
func (m *ReqTeacherUpdate) GetOwner() string
func (*ReqTeacherUpdate) GetSubjects ¶
func (m *ReqTeacherUpdate) GetSubjects() []string
func (*ReqTeacherUpdate) GetUid ¶
func (m *ReqTeacherUpdate) GetUid() string
func (*ReqTeacherUpdate) ProtoMessage ¶
func (*ReqTeacherUpdate) ProtoMessage()
func (*ReqTeacherUpdate) Reset ¶
func (m *ReqTeacherUpdate) Reset()
func (*ReqTeacherUpdate) String ¶
func (m *ReqTeacherUpdate) String() string
func (*ReqTeacherUpdate) XXX_DiscardUnknown ¶
func (m *ReqTeacherUpdate) XXX_DiscardUnknown()
func (*ReqTeacherUpdate) XXX_Marshal ¶
func (m *ReqTeacherUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTeacherUpdate) XXX_Merge ¶
func (m *ReqTeacherUpdate) XXX_Merge(src proto.Message)
func (*ReqTeacherUpdate) XXX_Size ¶
func (m *ReqTeacherUpdate) XXX_Size() int
func (*ReqTeacherUpdate) XXX_Unmarshal ¶
func (m *ReqTeacherUpdate) XXX_Unmarshal(b []byte) error
type RequestInfo ¶
type RequestInfo struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` Flag string `protobuf:"bytes,3,opt,name=flag,proto3" json:"flag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestInfo) Descriptor ¶
func (*RequestInfo) Descriptor() ([]byte, []int)
func (*RequestInfo) GetFlag ¶
func (m *RequestInfo) GetFlag() string
func (*RequestInfo) GetOperator ¶
func (m *RequestInfo) GetOperator() string
func (*RequestInfo) GetUid ¶
func (m *RequestInfo) GetUid() string
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) Reset ¶
func (m *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (m *RequestInfo) String() string
func (*RequestInfo) XXX_DiscardUnknown ¶
func (m *RequestInfo) XXX_DiscardUnknown()
func (*RequestInfo) XXX_Marshal ¶
func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInfo) XXX_Merge ¶
func (m *RequestInfo) XXX_Merge(src proto.Message)
func (*RequestInfo) XXX_Size ¶
func (m *RequestInfo) XXX_Size() int
func (*RequestInfo) XXX_Unmarshal ¶
func (m *RequestInfo) XXX_Unmarshal(b []byte) error
type RequestPage ¶
type RequestPage struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Number uint32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestPage) Descriptor ¶
func (*RequestPage) Descriptor() ([]byte, []int)
func (*RequestPage) GetNumber ¶
func (m *RequestPage) GetNumber() uint32
func (*RequestPage) GetPage ¶
func (m *RequestPage) GetPage() uint32
func (*RequestPage) ProtoMessage ¶
func (*RequestPage) ProtoMessage()
func (*RequestPage) Reset ¶
func (m *RequestPage) Reset()
func (*RequestPage) String ¶
func (m *RequestPage) String() string
func (*RequestPage) XXX_DiscardUnknown ¶
func (m *RequestPage) XXX_DiscardUnknown()
func (*RequestPage) XXX_Marshal ¶
func (m *RequestPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestPage) XXX_Merge ¶
func (m *RequestPage) XXX_Merge(src proto.Message)
func (*RequestPage) XXX_Size ¶
func (m *RequestPage) XXX_Size() int
func (*RequestPage) XXX_Unmarshal ¶
func (m *RequestPage) XXX_Unmarshal(b []byte) error
type SchoolInfo ¶
type SchoolInfo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"` Created uint32 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"` Updated uint32 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` Grade uint32 `protobuf:"varint,9,opt,name=grade,proto3" json:"grade,omitempty"` Entity string `protobuf:"bytes,10,opt,name=entity,proto3" json:"entity,omitempty"` Honors []*HonorInfo `protobuf:"bytes,11,rep,name=honors,proto3" json:"honors,omitempty"` Respects []*HonorInfo `protobuf:"bytes,12,rep,name=respects,proto3" json:"respects,omitempty"` Subjects []*SubjectInfo `protobuf:"bytes,13,rep,name=subjects,proto3" json:"subjects,omitempty"` Teachers []string `protobuf:"bytes,14,rep,name=teachers,proto3" json:"teachers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SchoolInfo) Descriptor ¶
func (*SchoolInfo) Descriptor() ([]byte, []int)
func (*SchoolInfo) GetCreated ¶
func (m *SchoolInfo) GetCreated() uint32
func (*SchoolInfo) GetCreator ¶
func (m *SchoolInfo) GetCreator() string
func (*SchoolInfo) GetEntity ¶
func (m *SchoolInfo) GetEntity() string
func (*SchoolInfo) GetGrade ¶
func (m *SchoolInfo) GetGrade() uint32
func (*SchoolInfo) GetHonors ¶
func (m *SchoolInfo) GetHonors() []*HonorInfo
func (*SchoolInfo) GetId ¶
func (m *SchoolInfo) GetId() uint64
func (*SchoolInfo) GetName ¶
func (m *SchoolInfo) GetName() string
func (*SchoolInfo) GetOperator ¶
func (m *SchoolInfo) GetOperator() string
func (*SchoolInfo) GetRespects ¶
func (m *SchoolInfo) GetRespects() []*HonorInfo
func (*SchoolInfo) GetScene ¶
func (m *SchoolInfo) GetScene() string
func (*SchoolInfo) GetSubjects ¶
func (m *SchoolInfo) GetSubjects() []*SubjectInfo
func (*SchoolInfo) GetTeachers ¶
func (m *SchoolInfo) GetTeachers() []string
func (*SchoolInfo) GetUid ¶
func (m *SchoolInfo) GetUid() string
func (*SchoolInfo) GetUpdated ¶
func (m *SchoolInfo) GetUpdated() uint32
func (*SchoolInfo) ProtoMessage ¶
func (*SchoolInfo) ProtoMessage()
func (*SchoolInfo) Reset ¶
func (m *SchoolInfo) Reset()
func (*SchoolInfo) String ¶
func (m *SchoolInfo) String() string
func (*SchoolInfo) XXX_DiscardUnknown ¶
func (m *SchoolInfo) XXX_DiscardUnknown()
func (*SchoolInfo) XXX_Marshal ¶
func (m *SchoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchoolInfo) XXX_Merge ¶
func (m *SchoolInfo) XXX_Merge(src proto.Message)
func (*SchoolInfo) XXX_Size ¶
func (m *SchoolInfo) XXX_Size() int
func (*SchoolInfo) XXX_Unmarshal ¶
func (m *SchoolInfo) XXX_Unmarshal(b []byte) error
type SchoolService ¶
type SchoolService interface { AddOne(ctx context.Context, in *ReqSchoolAdd, opts ...client.CallOption) (*ReplySchoolInfo, error) GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplySchoolInfo, error) GetList(ctx context.Context, in *RequestPage, opts ...client.CallOption) (*ReplySchoolList, error) UpdateOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplySchoolInfo, error) RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error) UpdateSubject(ctx context.Context, in *ReqSchoolSubject, opts ...client.CallOption) (*ReplySchoolSubjects, error) }
func NewSchoolService ¶
func NewSchoolService(name string, c client.Client) SchoolService
type SchoolServiceHandler ¶
type SchoolServiceHandler interface { AddOne(context.Context, *ReqSchoolAdd, *ReplySchoolInfo) error GetOne(context.Context, *RequestInfo, *ReplySchoolInfo) error GetList(context.Context, *RequestPage, *ReplySchoolList) error UpdateOne(context.Context, *RequestInfo, *ReplySchoolInfo) error RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error UpdateSubject(context.Context, *ReqSchoolSubject, *ReplySchoolSubjects) error }
type StudentInfo ¶
type StudentInfo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Created uint32 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"` Updated uint32 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` Sn string `protobuf:"bytes,8,opt,name=sn,proto3" json:"sn,omitempty"` Card string `protobuf:"bytes,9,opt,name=card,proto3" json:"card,omitempty"` Sex uint32 `protobuf:"varint,10,opt,name=sex,proto3" json:"sex,omitempty"` Enrol string `protobuf:"bytes,11,opt,name=enrol,proto3" json:"enrol,omitempty"` Entity string `protobuf:"bytes,12,opt,name=entity,proto3" json:"entity,omitempty"` Sid string `protobuf:"bytes,13,opt,name=sid,proto3" json:"sid,omitempty"` Custodians []*CustodianInfo `protobuf:"bytes,14,rep,name=custodians,proto3" json:"custodians,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StudentInfo) Descriptor ¶
func (*StudentInfo) Descriptor() ([]byte, []int)
func (*StudentInfo) GetCard ¶
func (m *StudentInfo) GetCard() string
func (*StudentInfo) GetCreated ¶
func (m *StudentInfo) GetCreated() uint32
func (*StudentInfo) GetCreator ¶
func (m *StudentInfo) GetCreator() string
func (*StudentInfo) GetCustodians ¶
func (m *StudentInfo) GetCustodians() []*CustodianInfo
func (*StudentInfo) GetEnrol ¶
func (m *StudentInfo) GetEnrol() string
func (*StudentInfo) GetEntity ¶
func (m *StudentInfo) GetEntity() string
func (*StudentInfo) GetId ¶
func (m *StudentInfo) GetId() uint64
func (*StudentInfo) GetName ¶
func (m *StudentInfo) GetName() string
func (*StudentInfo) GetOperator ¶
func (m *StudentInfo) GetOperator() string
func (*StudentInfo) GetSex ¶
func (m *StudentInfo) GetSex() uint32
func (*StudentInfo) GetSid ¶
func (m *StudentInfo) GetSid() string
func (*StudentInfo) GetSn ¶
func (m *StudentInfo) GetSn() string
func (*StudentInfo) GetUid ¶
func (m *StudentInfo) GetUid() string
func (*StudentInfo) GetUpdated ¶
func (m *StudentInfo) GetUpdated() uint32
func (*StudentInfo) ProtoMessage ¶
func (*StudentInfo) ProtoMessage()
func (*StudentInfo) Reset ¶
func (m *StudentInfo) Reset()
func (*StudentInfo) String ¶
func (m *StudentInfo) String() string
func (*StudentInfo) XXX_DiscardUnknown ¶
func (m *StudentInfo) XXX_DiscardUnknown()
func (*StudentInfo) XXX_Marshal ¶
func (m *StudentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StudentInfo) XXX_Merge ¶
func (m *StudentInfo) XXX_Merge(src proto.Message)
func (*StudentInfo) XXX_Size ¶
func (m *StudentInfo) XXX_Size() int
func (*StudentInfo) XXX_Unmarshal ¶
func (m *StudentInfo) XXX_Unmarshal(b []byte) error
type StudentService ¶
type StudentService interface { AddOne(ctx context.Context, in *ReqStudentAdd, opts ...client.CallOption) (*ReplyStudentInfo, error) GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyStudentInfo, error) GetList(ctx context.Context, in *RequestPage, opts ...client.CallOption) (*ReplyStudentList, error) UpdateOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyStudentInfo, error) RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error) AddBach(ctx context.Context, in *ReqStudentBatch, opts ...client.CallOption) (*ReplyStudentList, error) BindEntity(ctx context.Context, in *ReqStudentBind, opts ...client.CallOption) (*ReplyStudentInfo, error) }
func NewStudentService ¶
func NewStudentService(name string, c client.Client) StudentService
type StudentServiceHandler ¶
type StudentServiceHandler interface { AddOne(context.Context, *ReqStudentAdd, *ReplyStudentInfo) error GetOne(context.Context, *RequestInfo, *ReplyStudentInfo) error GetList(context.Context, *RequestPage, *ReplyStudentList) error UpdateOne(context.Context, *RequestInfo, *ReplyStudentInfo) error RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error AddBach(context.Context, *ReqStudentBatch, *ReplyStudentList) error BindEntity(context.Context, *ReqStudentBind, *ReplyStudentInfo) error }
type SubjectInfo ¶
type SubjectInfo struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubjectInfo) Descriptor ¶
func (*SubjectInfo) Descriptor() ([]byte, []int)
func (*SubjectInfo) GetName ¶
func (m *SubjectInfo) GetName() string
func (*SubjectInfo) GetRemark ¶
func (m *SubjectInfo) GetRemark() string
func (*SubjectInfo) GetUid ¶
func (m *SubjectInfo) GetUid() string
func (*SubjectInfo) ProtoMessage ¶
func (*SubjectInfo) ProtoMessage()
func (*SubjectInfo) Reset ¶
func (m *SubjectInfo) Reset()
func (*SubjectInfo) String ¶
func (m *SubjectInfo) String() string
func (*SubjectInfo) XXX_DiscardUnknown ¶
func (m *SubjectInfo) XXX_DiscardUnknown()
func (*SubjectInfo) XXX_Marshal ¶
func (m *SubjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubjectInfo) XXX_Merge ¶
func (m *SubjectInfo) XXX_Merge(src proto.Message)
func (*SubjectInfo) XXX_Size ¶
func (m *SubjectInfo) XXX_Size() int
func (*SubjectInfo) XXX_Unmarshal ¶
func (m *SubjectInfo) XXX_Unmarshal(b []byte) error
type TargetType ¶
type TargetType int32
const ( TargetType_TSelf TargetType = 0 TargetType_TStudent TargetType = 1 TargetType_TTeacher TargetType = 2 TargetType_TClass TargetType = 3 TargetType_TStudent_GH TargetType = 4 TargetType_TTeacher_GH TargetType = 5 TargetType_TSubject TargetType = 6 )
func (TargetType) EnumDescriptor ¶
func (TargetType) EnumDescriptor() ([]byte, []int)
func (TargetType) String ¶
func (x TargetType) String() string
type TeacherInfo ¶
type TeacherInfo struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Entity string `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Created uint32 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"` Updated uint32 `protobuf:"varint,7,opt,name=updated,proto3" json:"updated,omitempty"` Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` Operator string `protobuf:"bytes,9,opt,name=operator,proto3" json:"operator,omitempty"` Owner string `protobuf:"bytes,10,opt,name=owner,proto3" json:"owner,omitempty"` Classes []string `protobuf:"bytes,11,rep,name=classes,proto3" json:"classes,omitempty"` Subjects []string `protobuf:"bytes,12,rep,name=subjects,proto3" json:"subjects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TeacherInfo) Descriptor ¶
func (*TeacherInfo) Descriptor() ([]byte, []int)
func (*TeacherInfo) GetClasses ¶
func (m *TeacherInfo) GetClasses() []string
func (*TeacherInfo) GetCreated ¶
func (m *TeacherInfo) GetCreated() uint32
func (*TeacherInfo) GetCreator ¶
func (m *TeacherInfo) GetCreator() string
func (*TeacherInfo) GetEntity ¶
func (m *TeacherInfo) GetEntity() string
func (*TeacherInfo) GetId ¶
func (m *TeacherInfo) GetId() uint32
func (*TeacherInfo) GetName ¶
func (m *TeacherInfo) GetName() string
func (*TeacherInfo) GetOperator ¶
func (m *TeacherInfo) GetOperator() string
func (*TeacherInfo) GetOwner ¶
func (m *TeacherInfo) GetOwner() string
func (*TeacherInfo) GetSubjects ¶
func (m *TeacherInfo) GetSubjects() []string
func (*TeacherInfo) GetUid ¶
func (m *TeacherInfo) GetUid() string
func (*TeacherInfo) GetUpdated ¶
func (m *TeacherInfo) GetUpdated() uint32
func (*TeacherInfo) GetUser ¶
func (m *TeacherInfo) GetUser() string
func (*TeacherInfo) ProtoMessage ¶
func (*TeacherInfo) ProtoMessage()
func (*TeacherInfo) Reset ¶
func (m *TeacherInfo) Reset()
func (*TeacherInfo) String ¶
func (m *TeacherInfo) String() string
func (*TeacherInfo) XXX_DiscardUnknown ¶
func (m *TeacherInfo) XXX_DiscardUnknown()
func (*TeacherInfo) XXX_Marshal ¶
func (m *TeacherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TeacherInfo) XXX_Merge ¶
func (m *TeacherInfo) XXX_Merge(src proto.Message)
func (*TeacherInfo) XXX_Size ¶
func (m *TeacherInfo) XXX_Size() int
func (*TeacherInfo) XXX_Unmarshal ¶
func (m *TeacherInfo) XXX_Unmarshal(b []byte) error
type TeacherService ¶
type TeacherService interface { AddOne(ctx context.Context, in *ReqTeacherAdd, opts ...client.CallOption) (*ReplyTeacherInfo, error) GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyTeacherInfo, error) GetList(ctx context.Context, in *RequestPage, opts ...client.CallOption) (*ReplyTeacherList, error) UpdateOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyTeacherInfo, error) RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error) AddBath(ctx context.Context, in *ReqTeacherBatch, opts ...client.CallOption) (*ReplyTeacherList, error) }
func NewTeacherService ¶
func NewTeacherService(name string, c client.Client) TeacherService
type TeacherServiceHandler ¶
type TeacherServiceHandler interface { AddOne(context.Context, *ReqTeacherAdd, *ReplyTeacherInfo) error GetOne(context.Context, *RequestInfo, *ReplyTeacherInfo) error GetList(context.Context, *RequestPage, *ReplyTeacherList) error UpdateOne(context.Context, *RequestInfo, *ReplyTeacherInfo) error RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error AddBath(context.Context, *ReqTeacherBatch, *ReplyTeacherList) error }
Click to show internal directories.
Click to hide internal directories.