school

package
v0.0.0-...-e518e2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_school_school_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Major

type Major struct {

	// 专业代码
	Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	// 专业中文名
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	// contains filtered or unexported fields
}

专业

func (*Major) Descriptor deprecated

func (*Major) Descriptor() ([]byte, []int)

Deprecated: Use Major.ProtoReflect.Descriptor instead.

func (*Major) GetCode

func (x *Major) GetCode() string

func (*Major) GetName

func (x *Major) GetName() string

func (*Major) ProtoMessage

func (*Major) ProtoMessage()

func (*Major) ProtoReflect

func (x *Major) ProtoReflect() protoreflect.Message

func (*Major) Reset

func (x *Major) Reset()

func (*Major) String

func (x *Major) String() string

type Unit

type Unit struct {

	// 学院代码,形如 05
	Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	// 学院中文名
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	// contains filtered or unexported fields
}

学院

func (*Unit) Descriptor deprecated

func (*Unit) Descriptor() ([]byte, []int)

Deprecated: Use Unit.ProtoReflect.Descriptor instead.

func (*Unit) GetCode

func (x *Unit) GetCode() string

func (*Unit) GetName

func (x *Unit) GetName() string

func (*Unit) ProtoMessage

func (*Unit) ProtoMessage()

func (*Unit) ProtoReflect

func (x *Unit) ProtoReflect() protoreflect.Message

func (*Unit) Reset

func (x *Unit) Reset()

func (*Unit) String

func (x *Unit) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL