dto

package
v0.0.0-...-23f538b Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryDto

type CategoryDto struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Parent               string   `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	Sort                 int32    `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CategoryDto) Descriptor

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

func (*CategoryDto) GetId

func (m *CategoryDto) GetId() string

func (*CategoryDto) GetName

func (m *CategoryDto) GetName() string

func (*CategoryDto) GetParent

func (m *CategoryDto) GetParent() string

func (*CategoryDto) GetSort

func (m *CategoryDto) GetSort() int32

func (*CategoryDto) ProtoMessage

func (*CategoryDto) ProtoMessage()

func (*CategoryDto) Reset

func (m *CategoryDto) Reset()

func (*CategoryDto) String

func (m *CategoryDto) String() string

func (*CategoryDto) XXX_DiscardUnknown

func (m *CategoryDto) XXX_DiscardUnknown()

func (*CategoryDto) XXX_Marshal

func (m *CategoryDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CategoryDto) XXX_Merge

func (m *CategoryDto) XXX_Merge(src proto.Message)

func (*CategoryDto) XXX_Size

func (m *CategoryDto) XXX_Size() int

func (*CategoryDto) XXX_Unmarshal

func (m *CategoryDto) XXX_Unmarshal(b []byte) error

type CategoryDtoList

type CategoryDtoList struct {
	Rows                 []*CategoryDto `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CategoryDtoList) Descriptor

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

func (*CategoryDtoList) GetRows

func (m *CategoryDtoList) GetRows() []*CategoryDto

func (*CategoryDtoList) ProtoMessage

func (*CategoryDtoList) ProtoMessage()

func (*CategoryDtoList) Reset

func (m *CategoryDtoList) Reset()

func (*CategoryDtoList) String

func (m *CategoryDtoList) String() string

func (*CategoryDtoList) XXX_DiscardUnknown

func (m *CategoryDtoList) XXX_DiscardUnknown()

func (*CategoryDtoList) XXX_Marshal

func (m *CategoryDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CategoryDtoList) XXX_Merge

func (m *CategoryDtoList) XXX_Merge(src proto.Message)

func (*CategoryDtoList) XXX_Size

func (m *CategoryDtoList) XXX_Size() int

func (*CategoryDtoList) XXX_Unmarshal

func (m *CategoryDtoList) XXX_Unmarshal(b []byte) error

type CategoryPageDto

type CategoryPageDto struct {
	Page                 int64          `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int64          `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort                 []string       `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"`
	Blurry               string         `protobuf:"bytes,4,opt,name=blurry,proto3" json:"blurry,omitempty"`
	Total                int64          `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	Parent               string         `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"`
	Rows                 []*CategoryDto `protobuf:"bytes,7,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CategoryPageDto) Descriptor

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

func (*CategoryPageDto) GetBlurry

func (m *CategoryPageDto) GetBlurry() string

func (*CategoryPageDto) GetPage

func (m *CategoryPageDto) GetPage() int64

func (*CategoryPageDto) GetParent

func (m *CategoryPageDto) GetParent() string

func (*CategoryPageDto) GetRows

func (m *CategoryPageDto) GetRows() []*CategoryDto

func (*CategoryPageDto) GetSize

func (m *CategoryPageDto) GetSize() int64

func (*CategoryPageDto) GetSort

func (m *CategoryPageDto) GetSort() []string

func (*CategoryPageDto) GetTotal

func (m *CategoryPageDto) GetTotal() int64

func (*CategoryPageDto) ProtoMessage

func (*CategoryPageDto) ProtoMessage()

func (*CategoryPageDto) Reset

func (m *CategoryPageDto) Reset()

func (*CategoryPageDto) String

func (m *CategoryPageDto) String() string

func (*CategoryPageDto) XXX_DiscardUnknown

func (m *CategoryPageDto) XXX_DiscardUnknown()

func (*CategoryPageDto) XXX_Marshal

func (m *CategoryPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CategoryPageDto) XXX_Merge

func (m *CategoryPageDto) XXX_Merge(src proto.Message)

func (*CategoryPageDto) XXX_Size

func (m *CategoryPageDto) XXX_Size() int

func (*CategoryPageDto) XXX_Unmarshal

func (m *CategoryPageDto) XXX_Unmarshal(b []byte) error

type ChapterDto

type ChapterDto struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CourseId             string   `protobuf:"bytes,2,opt,name=courseId,proto3" json:"courseId,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Sort                 int32    `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Chapter Dto

func (*ChapterDto) Descriptor

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

func (*ChapterDto) GetCourseId

func (m *ChapterDto) GetCourseId() string

func (*ChapterDto) GetId

func (m *ChapterDto) GetId() string

func (*ChapterDto) GetName

func (m *ChapterDto) GetName() string

func (*ChapterDto) GetSort

func (m *ChapterDto) GetSort() int32

func (*ChapterDto) ProtoMessage

func (*ChapterDto) ProtoMessage()

func (*ChapterDto) Reset

func (m *ChapterDto) Reset()

func (*ChapterDto) String

func (m *ChapterDto) String() string

func (*ChapterDto) XXX_DiscardUnknown

func (m *ChapterDto) XXX_DiscardUnknown()

func (*ChapterDto) XXX_Marshal

func (m *ChapterDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChapterDto) XXX_Merge

func (m *ChapterDto) XXX_Merge(src proto.Message)

func (*ChapterDto) XXX_Size

func (m *ChapterDto) XXX_Size() int

func (*ChapterDto) XXX_Unmarshal

func (m *ChapterDto) XXX_Unmarshal(b []byte) error

type ChapterDtoList

type ChapterDtoList struct {
	Rows                 []*ChapterDto `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChapterDtoList) Descriptor

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

func (*ChapterDtoList) GetRows

func (m *ChapterDtoList) GetRows() []*ChapterDto

func (*ChapterDtoList) ProtoMessage

func (*ChapterDtoList) ProtoMessage()

func (*ChapterDtoList) Reset

func (m *ChapterDtoList) Reset()

func (*ChapterDtoList) String

func (m *ChapterDtoList) String() string

func (*ChapterDtoList) XXX_DiscardUnknown

func (m *ChapterDtoList) XXX_DiscardUnknown()

func (*ChapterDtoList) XXX_Marshal

func (m *ChapterDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChapterDtoList) XXX_Merge

func (m *ChapterDtoList) XXX_Merge(src proto.Message)

func (*ChapterDtoList) XXX_Size

func (m *ChapterDtoList) XXX_Size() int

func (*ChapterDtoList) XXX_Unmarshal

func (m *ChapterDtoList) XXX_Unmarshal(b []byte) error

type ChapterPageDto

type ChapterPageDto struct {
	Page                 int64         `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int64         `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort                 []string      `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"`
	Blurry               string        `protobuf:"bytes,4,opt,name=blurry,proto3" json:"blurry,omitempty"`
	Total                int64         `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	CreateTime           []string      `protobuf:"bytes,6,rep,name=createTime,proto3" json:"createTime,omitempty"`
	CourseId             string        `protobuf:"bytes,7,opt,name=courseId,proto3" json:"courseId,omitempty"`
	Rows                 []*ChapterDto `protobuf:"bytes,8,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChapterPageDto) Descriptor

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

func (*ChapterPageDto) GetBlurry

func (m *ChapterPageDto) GetBlurry() string

func (*ChapterPageDto) GetCourseId

func (m *ChapterPageDto) GetCourseId() string

func (*ChapterPageDto) GetCreateTime

func (m *ChapterPageDto) GetCreateTime() []string

func (*ChapterPageDto) GetPage

func (m *ChapterPageDto) GetPage() int64

func (*ChapterPageDto) GetRows

func (m *ChapterPageDto) GetRows() []*ChapterDto

func (*ChapterPageDto) GetSize

func (m *ChapterPageDto) GetSize() int64

func (*ChapterPageDto) GetSort

func (m *ChapterPageDto) GetSort() []string

func (*ChapterPageDto) GetTotal

func (m *ChapterPageDto) GetTotal() int64

func (*ChapterPageDto) ProtoMessage

func (*ChapterPageDto) ProtoMessage()

func (*ChapterPageDto) Reset

func (m *ChapterPageDto) Reset()

func (*ChapterPageDto) String

func (m *ChapterPageDto) String() string

func (*ChapterPageDto) XXX_DiscardUnknown

func (m *ChapterPageDto) XXX_DiscardUnknown()

func (*ChapterPageDto) XXX_Marshal

func (m *ChapterPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChapterPageDto) XXX_Merge

func (m *ChapterPageDto) XXX_Merge(src proto.Message)

func (*ChapterPageDto) XXX_Size

func (m *ChapterPageDto) XXX_Size() int

func (*ChapterPageDto) XXX_Unmarshal

func (m *ChapterPageDto) XXX_Unmarshal(b []byte) error

type CourseCategoryDto

type CourseCategoryDto struct {
	Id                   string   `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	CourseId             string   `protobuf:"bytes,2,opt,name=CourseId,proto3" json:"CourseId,omitempty"`
	CategoryId           string   `protobuf:"bytes,3,opt,name=CategoryId,proto3" json:"CategoryId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CourseCategoryDto) Descriptor

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

func (*CourseCategoryDto) GetCategoryId

func (m *CourseCategoryDto) GetCategoryId() string

func (*CourseCategoryDto) GetCourseId

func (m *CourseCategoryDto) GetCourseId() string

func (*CourseCategoryDto) GetId

func (m *CourseCategoryDto) GetId() string

func (*CourseCategoryDto) ProtoMessage

func (*CourseCategoryDto) ProtoMessage()

func (*CourseCategoryDto) Reset

func (m *CourseCategoryDto) Reset()

func (*CourseCategoryDto) String

func (m *CourseCategoryDto) String() string

func (*CourseCategoryDto) XXX_DiscardUnknown

func (m *CourseCategoryDto) XXX_DiscardUnknown()

func (*CourseCategoryDto) XXX_Marshal

func (m *CourseCategoryDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseCategoryDto) XXX_Merge

func (m *CourseCategoryDto) XXX_Merge(src proto.Message)

func (*CourseCategoryDto) XXX_Size

func (m *CourseCategoryDto) XXX_Size() int

func (*CourseCategoryDto) XXX_Unmarshal

func (m *CourseCategoryDto) XXX_Unmarshal(b []byte) error

type CourseCategoryDtoList

type CourseCategoryDtoList struct {
	Rows                 []*CourseCategoryDto `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CourseCategoryDtoList) Descriptor

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

func (*CourseCategoryDtoList) GetRows

func (m *CourseCategoryDtoList) GetRows() []*CourseCategoryDto

func (*CourseCategoryDtoList) ProtoMessage

func (*CourseCategoryDtoList) ProtoMessage()

func (*CourseCategoryDtoList) Reset

func (m *CourseCategoryDtoList) Reset()

func (*CourseCategoryDtoList) String

func (m *CourseCategoryDtoList) String() string

func (*CourseCategoryDtoList) XXX_DiscardUnknown

func (m *CourseCategoryDtoList) XXX_DiscardUnknown()

func (*CourseCategoryDtoList) XXX_Marshal

func (m *CourseCategoryDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseCategoryDtoList) XXX_Merge

func (m *CourseCategoryDtoList) XXX_Merge(src proto.Message)

func (*CourseCategoryDtoList) XXX_Size

func (m *CourseCategoryDtoList) XXX_Size() int

func (*CourseCategoryDtoList) XXX_Unmarshal

func (m *CourseCategoryDtoList) XXX_Unmarshal(b []byte) error

type CourseContentDto

type CourseContentDto struct {
	Id                   string   `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Content              string   `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CourseContentDto) Descriptor

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

func (*CourseContentDto) GetContent

func (m *CourseContentDto) GetContent() string

func (*CourseContentDto) GetId

func (m *CourseContentDto) GetId() string

func (*CourseContentDto) ProtoMessage

func (*CourseContentDto) ProtoMessage()

func (*CourseContentDto) Reset

func (m *CourseContentDto) Reset()

func (*CourseContentDto) String

func (m *CourseContentDto) String() string

func (*CourseContentDto) XXX_DiscardUnknown

func (m *CourseContentDto) XXX_DiscardUnknown()

func (*CourseContentDto) XXX_Marshal

func (m *CourseContentDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseContentDto) XXX_Merge

func (m *CourseContentDto) XXX_Merge(src proto.Message)

func (*CourseContentDto) XXX_Size

func (m *CourseContentDto) XXX_Size() int

func (*CourseContentDto) XXX_Unmarshal

func (m *CourseContentDto) XXX_Unmarshal(b []byte) error

type CourseDto

type CourseDto struct {
	//
	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	//
	// 名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	//
	// 概述
	Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	//
	// 时长|单位秒
	Time int32 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
	//
	// 价格(元)
	Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"`
	//
	// 封面
	Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
	//
	// 级别|枚举[CourseLevelEnum]:ONE("1", "初级"),TWO("2", "中级"),THREE("3", "高级")
	Level string `protobuf:"bytes,7,opt,name=level,proto3" json:"level,omitempty"`
	//
	// 收费|枚举[CourseChargeEnum]:CHARGE("C", "收费"),FREE("F", "免费")
	Charge string `protobuf:"bytes,8,opt,name=charge,proto3" json:"charge,omitempty"`
	//
	// 状态|枚举[CourseStatusEnum]:PUBLISH("P", "发布"),DRAFT("D", "草稿")
	Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
	//
	// 报名数
	Enroll int32 `protobuf:"varint,10,opt,name=enroll,proto3" json:"enroll,omitempty"`
	//
	// 顺序
	Sort int32 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
	//
	// 创建时间
	CreatedAt string `protobuf:"bytes,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	//
	// 修改时间
	UpdatedAt  string        `protobuf:"bytes,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Categories []string      `protobuf:"bytes,14,rep,name=categories,proto3" json:"categories,omitempty"`
	Chapters   []*ChapterDto `protobuf:"bytes,15,rep,name=chapters,proto3" json:"chapters,omitempty"`
	Sections   []*SectionDto `protobuf:"bytes,16,rep,name=sections,proto3" json:"sections,omitempty"`
	Content    string        `protobuf:"bytes,17,opt,name=content,proto3" json:"content,omitempty"`
	Teacher    *TeacherDto   `protobuf:"bytes,18,opt,name=teacher,proto3" json:"teacher,omitempty"`
	//
	// 讲师|teacher.id
	TeacherId            string   `protobuf:"bytes,19,opt,name=teacherId,proto3" json:"teacherId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Course Dto

func (*CourseDto) Descriptor

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

func (*CourseDto) GetCategories

func (m *CourseDto) GetCategories() []string

func (*CourseDto) GetChapters

func (m *CourseDto) GetChapters() []*ChapterDto

func (*CourseDto) GetCharge

func (m *CourseDto) GetCharge() string

func (*CourseDto) GetContent

func (m *CourseDto) GetContent() string

func (*CourseDto) GetCreatedAt

func (m *CourseDto) GetCreatedAt() string

func (*CourseDto) GetEnroll

func (m *CourseDto) GetEnroll() int32

func (*CourseDto) GetId

func (m *CourseDto) GetId() string

func (*CourseDto) GetImage

func (m *CourseDto) GetImage() string

func (*CourseDto) GetLevel

func (m *CourseDto) GetLevel() string

func (*CourseDto) GetName

func (m *CourseDto) GetName() string

func (*CourseDto) GetPrice

func (m *CourseDto) GetPrice() float64

func (*CourseDto) GetSections

func (m *CourseDto) GetSections() []*SectionDto

func (*CourseDto) GetSort

func (m *CourseDto) GetSort() int32

func (*CourseDto) GetStatus

func (m *CourseDto) GetStatus() string

func (*CourseDto) GetSummary

func (m *CourseDto) GetSummary() string

func (*CourseDto) GetTeacher

func (m *CourseDto) GetTeacher() *TeacherDto

func (*CourseDto) GetTeacherId

func (m *CourseDto) GetTeacherId() string

func (*CourseDto) GetTime

func (m *CourseDto) GetTime() int32

func (*CourseDto) GetUpdatedAt

func (m *CourseDto) GetUpdatedAt() string

func (*CourseDto) ProtoMessage

func (*CourseDto) ProtoMessage()

func (*CourseDto) Reset

func (m *CourseDto) Reset()

func (*CourseDto) String

func (m *CourseDto) String() string

func (*CourseDto) XXX_DiscardUnknown

func (m *CourseDto) XXX_DiscardUnknown()

func (*CourseDto) XXX_Marshal

func (m *CourseDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseDto) XXX_Merge

func (m *CourseDto) XXX_Merge(src proto.Message)

func (*CourseDto) XXX_Size

func (m *CourseDto) XXX_Size() int

func (*CourseDto) XXX_Unmarshal

func (m *CourseDto) XXX_Unmarshal(b []byte) error

type CourseDtoList

type CourseDtoList struct {
	Rows                 []*CourseDto `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CourseDtoList) Descriptor

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

func (*CourseDtoList) GetRows

func (m *CourseDtoList) GetRows() []*CourseDto

func (*CourseDtoList) ProtoMessage

func (*CourseDtoList) ProtoMessage()

func (*CourseDtoList) Reset

func (m *CourseDtoList) Reset()

func (*CourseDtoList) String

func (m *CourseDtoList) String() string

func (*CourseDtoList) XXX_DiscardUnknown

func (m *CourseDtoList) XXX_DiscardUnknown()

func (*CourseDtoList) XXX_Marshal

func (m *CourseDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseDtoList) XXX_Merge

func (m *CourseDtoList) XXX_Merge(src proto.Message)

func (*CourseDtoList) XXX_Size

func (m *CourseDtoList) XXX_Size() int

func (*CourseDtoList) XXX_Unmarshal

func (m *CourseDtoList) XXX_Unmarshal(b []byte) error

type CourseFileDto

type CourseFileDto struct {
	//*
	// id
	Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	//*
	// 课程id
	CourseId string `protobuf:"bytes,2,opt,name=CourseId,proto3" json:"CourseId,omitempty"`
	//*
	// 地址
	Url string `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
	//*
	// 文件名
	Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	//*
	// 大小|字节b
	Size                 int32    `protobuf:"varint,5,opt,name=Size,proto3" json:"Size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CourseFileDto

func (*CourseFileDto) Descriptor

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

func (*CourseFileDto) GetCourseId

func (m *CourseFileDto) GetCourseId() string

func (*CourseFileDto) GetId

func (m *CourseFileDto) GetId() string

func (*CourseFileDto) GetName

func (m *CourseFileDto) GetName() string

func (*CourseFileDto) GetSize

func (m *CourseFileDto) GetSize() int32

func (*CourseFileDto) GetUrl

func (m *CourseFileDto) GetUrl() string

func (*CourseFileDto) ProtoMessage

func (*CourseFileDto) ProtoMessage()

func (*CourseFileDto) Reset

func (m *CourseFileDto) Reset()

func (*CourseFileDto) String

func (m *CourseFileDto) String() string

func (*CourseFileDto) XXX_DiscardUnknown

func (m *CourseFileDto) XXX_DiscardUnknown()

func (*CourseFileDto) XXX_Marshal

func (m *CourseFileDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseFileDto) XXX_Merge

func (m *CourseFileDto) XXX_Merge(src proto.Message)

func (*CourseFileDto) XXX_Size

func (m *CourseFileDto) XXX_Size() int

func (*CourseFileDto) XXX_Unmarshal

func (m *CourseFileDto) XXX_Unmarshal(b []byte) error

type CourseFileDtoList

type CourseFileDtoList struct {
	Rows                 []*CourseFileDto `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*CourseFileDtoList) Descriptor

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

func (*CourseFileDtoList) GetRows

func (m *CourseFileDtoList) GetRows() []*CourseFileDto

func (*CourseFileDtoList) ProtoMessage

func (*CourseFileDtoList) ProtoMessage()

func (*CourseFileDtoList) Reset

func (m *CourseFileDtoList) Reset()

func (*CourseFileDtoList) String

func (m *CourseFileDtoList) String() string

func (*CourseFileDtoList) XXX_DiscardUnknown

func (m *CourseFileDtoList) XXX_DiscardUnknown()

func (*CourseFileDtoList) XXX_Marshal

func (m *CourseFileDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CourseFileDtoList) XXX_Merge

func (m *CourseFileDtoList) XXX_Merge(src proto.Message)

func (*CourseFileDtoList) XXX_Size

func (m *CourseFileDtoList) XXX_Size() int

func (*CourseFileDtoList) XXX_Unmarshal

func (m *CourseFileDtoList) XXX_Unmarshal(b []byte) error

type CoursePageDto

type CoursePageDto struct {
	Page                 int64        `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int64        `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort                 []string     `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"`
	Blurry               string       `protobuf:"bytes,4,opt,name=blurry,proto3" json:"blurry,omitempty"`
	Total                int64        `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	CreateTime           []string     `protobuf:"bytes,6,rep,name=createTime,proto3" json:"createTime,omitempty"`
	Rows                 []*CourseDto `protobuf:"bytes,7,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CoursePageDto) Descriptor

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

func (*CoursePageDto) GetBlurry

func (m *CoursePageDto) GetBlurry() string

func (*CoursePageDto) GetCreateTime

func (m *CoursePageDto) GetCreateTime() []string

func (*CoursePageDto) GetPage

func (m *CoursePageDto) GetPage() int64

func (*CoursePageDto) GetRows

func (m *CoursePageDto) GetRows() []*CourseDto

func (*CoursePageDto) GetSize

func (m *CoursePageDto) GetSize() int64

func (*CoursePageDto) GetSort

func (m *CoursePageDto) GetSort() []string

func (*CoursePageDto) GetTotal

func (m *CoursePageDto) GetTotal() int64

func (*CoursePageDto) ProtoMessage

func (*CoursePageDto) ProtoMessage()

func (*CoursePageDto) Reset

func (m *CoursePageDto) Reset()

func (*CoursePageDto) String

func (m *CoursePageDto) String() string

func (*CoursePageDto) XXX_DiscardUnknown

func (m *CoursePageDto) XXX_DiscardUnknown()

func (*CoursePageDto) XXX_Marshal

func (m *CoursePageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoursePageDto) XXX_Merge

func (m *CoursePageDto) XXX_Merge(src proto.Message)

func (*CoursePageDto) XXX_Size

func (m *CoursePageDto) XXX_Size() int

func (*CoursePageDto) XXX_Unmarshal

func (m *CoursePageDto) XXX_Unmarshal(b []byte) error

type MemberCourseDto

type MemberCourseDto struct {
	MemberId             string   `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	CourseId             string   `protobuf:"bytes,2,opt,name=course_id,json=courseId,proto3" json:"course_id,omitempty"`
	LastLearn            string   `protobuf:"bytes,3,opt,name=last_learn,json=lastLearn,proto3" json:"last_learn,omitempty"`
	CreateAt             string   `protobuf:"bytes,4,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	UpdateAt             string   `protobuf:"bytes,5,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemberCourseDto) Descriptor

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

func (*MemberCourseDto) GetCourseId

func (m *MemberCourseDto) GetCourseId() string

func (*MemberCourseDto) GetCreateAt

func (m *MemberCourseDto) GetCreateAt() string

func (*MemberCourseDto) GetLastLearn

func (m *MemberCourseDto) GetLastLearn() string

func (*MemberCourseDto) GetMemberId

func (m *MemberCourseDto) GetMemberId() string

func (*MemberCourseDto) GetUpdateAt

func (m *MemberCourseDto) GetUpdateAt() string

func (*MemberCourseDto) ProtoMessage

func (*MemberCourseDto) ProtoMessage()

func (*MemberCourseDto) Reset

func (m *MemberCourseDto) Reset()

func (*MemberCourseDto) String

func (m *MemberCourseDto) String() string

func (*MemberCourseDto) XXX_DiscardUnknown

func (m *MemberCourseDto) XXX_DiscardUnknown()

func (*MemberCourseDto) XXX_Marshal

func (m *MemberCourseDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberCourseDto) XXX_Merge

func (m *MemberCourseDto) XXX_Merge(src proto.Message)

func (*MemberCourseDto) XXX_Size

func (m *MemberCourseDto) XXX_Size() int

func (*MemberCourseDto) XXX_Unmarshal

func (m *MemberCourseDto) XXX_Unmarshal(b []byte) error

type SectionDto

type SectionDto struct {
	//
	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	//
	// 标题
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	//
	// 课程|course.id
	CourseId string `protobuf:"bytes,3,opt,name=courseId,proto3" json:"courseId,omitempty"`
	//
	// 大章|chapter.id
	ChapterId string `protobuf:"bytes,4,opt,name=chapterId,proto3" json:"chapterId,omitempty"`
	//
	// 视频
	Video string `protobuf:"bytes,5,opt,name=video,proto3" json:"video,omitempty"`
	//
	// 时长|单位秒
	Time int32 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"`
	//
	// 收费
	Charge string `protobuf:"bytes,7,opt,name=charge,proto3" json:"charge,omitempty"`
	//
	// 顺序
	Sort int32 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"`
	//
	// 创建时间
	CreatedTime string `protobuf:"bytes,9,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	//
	// 修改时间
	UpdatedTime          string   `protobuf:"bytes,10,opt,name=updatedTime,proto3" json:"updatedTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Section Dto

func (*SectionDto) Descriptor

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

func (*SectionDto) GetChapterId

func (m *SectionDto) GetChapterId() string

func (*SectionDto) GetCharge

func (m *SectionDto) GetCharge() string

func (*SectionDto) GetCourseId

func (m *SectionDto) GetCourseId() string

func (*SectionDto) GetCreatedTime

func (m *SectionDto) GetCreatedTime() string

func (*SectionDto) GetId

func (m *SectionDto) GetId() string

func (*SectionDto) GetSort

func (m *SectionDto) GetSort() int32

func (*SectionDto) GetTime

func (m *SectionDto) GetTime() int32

func (*SectionDto) GetTitle

func (m *SectionDto) GetTitle() string

func (*SectionDto) GetUpdatedTime

func (m *SectionDto) GetUpdatedTime() string

func (*SectionDto) GetVideo

func (m *SectionDto) GetVideo() string

func (*SectionDto) ProtoMessage

func (*SectionDto) ProtoMessage()

func (*SectionDto) Reset

func (m *SectionDto) Reset()

func (*SectionDto) String

func (m *SectionDto) String() string

func (*SectionDto) XXX_DiscardUnknown

func (m *SectionDto) XXX_DiscardUnknown()

func (*SectionDto) XXX_Marshal

func (m *SectionDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SectionDto) XXX_Merge

func (m *SectionDto) XXX_Merge(src proto.Message)

func (*SectionDto) XXX_Size

func (m *SectionDto) XXX_Size() int

func (*SectionDto) XXX_Unmarshal

func (m *SectionDto) XXX_Unmarshal(b []byte) error

type SectionPageDto

type SectionPageDto struct {
	Page                 int64         `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int64         `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort                 []string      `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"`
	Blurry               string        `protobuf:"bytes,4,opt,name=blurry,proto3" json:"blurry,omitempty"`
	Total                int64         `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	CreateTime           []string      `protobuf:"bytes,6,rep,name=createTime,proto3" json:"createTime,omitempty"`
	CourseId             string        `protobuf:"bytes,7,opt,name=courseId,proto3" json:"courseId,omitempty"`
	ChapterId            string        `protobuf:"bytes,8,opt,name=chapterId,proto3" json:"chapterId,omitempty"`
	Rows                 []*SectionDto `protobuf:"bytes,9,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SectionPageDto) Descriptor

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

func (*SectionPageDto) GetBlurry

func (m *SectionPageDto) GetBlurry() string

func (*SectionPageDto) GetChapterId

func (m *SectionPageDto) GetChapterId() string

func (*SectionPageDto) GetCourseId

func (m *SectionPageDto) GetCourseId() string

func (*SectionPageDto) GetCreateTime

func (m *SectionPageDto) GetCreateTime() []string

func (*SectionPageDto) GetPage

func (m *SectionPageDto) GetPage() int64

func (*SectionPageDto) GetRows

func (m *SectionPageDto) GetRows() []*SectionDto

func (*SectionPageDto) GetSize

func (m *SectionPageDto) GetSize() int64

func (*SectionPageDto) GetSort

func (m *SectionPageDto) GetSort() []string

func (*SectionPageDto) GetTotal

func (m *SectionPageDto) GetTotal() int64

func (*SectionPageDto) ProtoMessage

func (*SectionPageDto) ProtoMessage()

func (*SectionPageDto) Reset

func (m *SectionPageDto) Reset()

func (*SectionPageDto) String

func (m *SectionPageDto) String() string

func (*SectionPageDto) XXX_DiscardUnknown

func (m *SectionPageDto) XXX_DiscardUnknown()

func (*SectionPageDto) XXX_Marshal

func (m *SectionPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SectionPageDto) XXX_Merge

func (m *SectionPageDto) XXX_Merge(src proto.Message)

func (*SectionPageDto) XXX_Size

func (m *SectionPageDto) XXX_Size() int

func (*SectionPageDto) XXX_Unmarshal

func (m *SectionPageDto) XXX_Unmarshal(b []byte) error

type SortDto

type SortDto struct {
	Id                   string   `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	OldSort              int32    `protobuf:"varint,2,opt,name=OldSort,proto3" json:"OldSort,omitempty"`
	NewSort              int32    `protobuf:"varint,3,opt,name=NewSort,proto3" json:"NewSort,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

修改排序使用

func (*SortDto) Descriptor

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

func (*SortDto) GetId

func (m *SortDto) GetId() string

func (*SortDto) GetNewSort

func (m *SortDto) GetNewSort() int32

func (*SortDto) GetOldSort

func (m *SortDto) GetOldSort() int32

func (*SortDto) ProtoMessage

func (*SortDto) ProtoMessage()

func (*SortDto) Reset

func (m *SortDto) Reset()

func (*SortDto) String

func (m *SortDto) String() string

func (*SortDto) XXX_DiscardUnknown

func (m *SortDto) XXX_DiscardUnknown()

func (*SortDto) XXX_Marshal

func (m *SortDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SortDto) XXX_Merge

func (m *SortDto) XXX_Merge(src proto.Message)

func (*SortDto) XXX_Size

func (m *SortDto) XXX_Size() int

func (*SortDto) XXX_Unmarshal

func (m *SortDto) XXX_Unmarshal(b []byte) error

type TeacherDto

type TeacherDto struct {
	//
	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	//
	// 姓名
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	//
	// 头像
	Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	//
	// 职位
	Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	//
	// 简介
	Intro                string   `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Teacher Dto

func (*TeacherDto) Descriptor

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

func (*TeacherDto) GetId

func (m *TeacherDto) GetId() string

func (*TeacherDto) GetImage

func (m *TeacherDto) GetImage() string

func (*TeacherDto) GetIntro

func (m *TeacherDto) GetIntro() string

func (*TeacherDto) GetName

func (m *TeacherDto) GetName() string

func (*TeacherDto) GetPosition

func (m *TeacherDto) GetPosition() string

func (*TeacherDto) ProtoMessage

func (*TeacherDto) ProtoMessage()

func (*TeacherDto) Reset

func (m *TeacherDto) Reset()

func (*TeacherDto) String

func (m *TeacherDto) String() string

func (*TeacherDto) XXX_DiscardUnknown

func (m *TeacherDto) XXX_DiscardUnknown()

func (*TeacherDto) XXX_Marshal

func (m *TeacherDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeacherDto) XXX_Merge

func (m *TeacherDto) XXX_Merge(src proto.Message)

func (*TeacherDto) XXX_Size

func (m *TeacherDto) XXX_Size() int

func (*TeacherDto) XXX_Unmarshal

func (m *TeacherDto) XXX_Unmarshal(b []byte) error

type TeacherDtoList

type TeacherDtoList struct {
	Rows                 []*TeacherDto `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*TeacherDtoList) Descriptor

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

func (*TeacherDtoList) GetRows

func (m *TeacherDtoList) GetRows() []*TeacherDto

func (*TeacherDtoList) ProtoMessage

func (*TeacherDtoList) ProtoMessage()

func (*TeacherDtoList) Reset

func (m *TeacherDtoList) Reset()

func (*TeacherDtoList) String

func (m *TeacherDtoList) String() string

func (*TeacherDtoList) XXX_DiscardUnknown

func (m *TeacherDtoList) XXX_DiscardUnknown()

func (*TeacherDtoList) XXX_Marshal

func (m *TeacherDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeacherDtoList) XXX_Merge

func (m *TeacherDtoList) XXX_Merge(src proto.Message)

func (*TeacherDtoList) XXX_Size

func (m *TeacherDtoList) XXX_Size() int

func (*TeacherDtoList) XXX_Unmarshal

func (m *TeacherDtoList) XXX_Unmarshal(b []byte) error

type TeacherPageDto

type TeacherPageDto struct {
	Page                 int64         `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int64         `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Sort                 []string      `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"`
	Blurry               string        `protobuf:"bytes,4,opt,name=blurry,proto3" json:"blurry,omitempty"`
	Total                int64         `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`
	Rows                 []*TeacherDto `protobuf:"bytes,6,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*TeacherPageDto) Descriptor

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

func (*TeacherPageDto) GetBlurry

func (m *TeacherPageDto) GetBlurry() string

func (*TeacherPageDto) GetPage

func (m *TeacherPageDto) GetPage() int64

func (*TeacherPageDto) GetRows

func (m *TeacherPageDto) GetRows() []*TeacherDto

func (*TeacherPageDto) GetSize

func (m *TeacherPageDto) GetSize() int64

func (*TeacherPageDto) GetSort

func (m *TeacherPageDto) GetSort() []string

func (*TeacherPageDto) GetTotal

func (m *TeacherPageDto) GetTotal() int64

func (*TeacherPageDto) ProtoMessage

func (*TeacherPageDto) ProtoMessage()

func (*TeacherPageDto) Reset

func (m *TeacherPageDto) Reset()

func (*TeacherPageDto) String

func (m *TeacherPageDto) String() string

func (*TeacherPageDto) XXX_DiscardUnknown

func (m *TeacherPageDto) XXX_DiscardUnknown()

func (*TeacherPageDto) XXX_Marshal

func (m *TeacherPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeacherPageDto) XXX_Merge

func (m *TeacherPageDto) XXX_Merge(src proto.Message)

func (*TeacherPageDto) XXX_Size

func (m *TeacherPageDto) XXX_Size() int

func (*TeacherPageDto) XXX_Unmarshal

func (m *TeacherPageDto) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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