1 Star 4 Fork 0

jingshanccc / course

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
course.pb.go 50.43 KB
一键复制 编辑 原始数据 按行查看 历史
micahchen 提交于 2021-04-30 18:39 . [feature] #90, #261
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: gitee.com/jingshanccc/course/course/proto/dto/course.proto
package dto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
//Course Dto
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:"-"`
}
func (m *CourseDto) Reset() { *m = CourseDto{} }
func (m *CourseDto) String() string { return proto.CompactTextString(m) }
func (*CourseDto) ProtoMessage() {}
func (*CourseDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{0}
}
func (m *CourseDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseDto.Unmarshal(m, b)
}
func (m *CourseDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseDto.Marshal(b, m, deterministic)
}
func (m *CourseDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseDto.Merge(m, src)
}
func (m *CourseDto) XXX_Size() int {
return xxx_messageInfo_CourseDto.Size(m)
}
func (m *CourseDto) XXX_DiscardUnknown() {
xxx_messageInfo_CourseDto.DiscardUnknown(m)
}
var xxx_messageInfo_CourseDto proto.InternalMessageInfo
func (m *CourseDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CourseDto) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CourseDto) GetSummary() string {
if m != nil {
return m.Summary
}
return ""
}
func (m *CourseDto) GetTime() int32 {
if m != nil {
return m.Time
}
return 0
}
func (m *CourseDto) GetPrice() float64 {
if m != nil {
return m.Price
}
return 0
}
func (m *CourseDto) GetImage() string {
if m != nil {
return m.Image
}
return ""
}
func (m *CourseDto) GetLevel() string {
if m != nil {
return m.Level
}
return ""
}
func (m *CourseDto) GetCharge() string {
if m != nil {
return m.Charge
}
return ""
}
func (m *CourseDto) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *CourseDto) GetEnroll() int32 {
if m != nil {
return m.Enroll
}
return 0
}
func (m *CourseDto) GetSort() int32 {
if m != nil {
return m.Sort
}
return 0
}
func (m *CourseDto) GetCreatedAt() string {
if m != nil {
return m.CreatedAt
}
return ""
}
func (m *CourseDto) GetUpdatedAt() string {
if m != nil {
return m.UpdatedAt
}
return ""
}
func (m *CourseDto) GetCategories() []string {
if m != nil {
return m.Categories
}
return nil
}
func (m *CourseDto) GetChapters() []*ChapterDto {
if m != nil {
return m.Chapters
}
return nil
}
func (m *CourseDto) GetSections() []*SectionDto {
if m != nil {
return m.Sections
}
return nil
}
func (m *CourseDto) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
func (m *CourseDto) GetTeacher() *TeacherDto {
if m != nil {
return m.Teacher
}
return nil
}
func (m *CourseDto) GetTeacherId() string {
if m != nil {
return m.TeacherId
}
return ""
}
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 (m *CoursePageDto) Reset() { *m = CoursePageDto{} }
func (m *CoursePageDto) String() string { return proto.CompactTextString(m) }
func (*CoursePageDto) ProtoMessage() {}
func (*CoursePageDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{1}
}
func (m *CoursePageDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CoursePageDto.Unmarshal(m, b)
}
func (m *CoursePageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CoursePageDto.Marshal(b, m, deterministic)
}
func (m *CoursePageDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CoursePageDto.Merge(m, src)
}
func (m *CoursePageDto) XXX_Size() int {
return xxx_messageInfo_CoursePageDto.Size(m)
}
func (m *CoursePageDto) XXX_DiscardUnknown() {
xxx_messageInfo_CoursePageDto.DiscardUnknown(m)
}
var xxx_messageInfo_CoursePageDto proto.InternalMessageInfo
func (m *CoursePageDto) GetPage() int64 {
if m != nil {
return m.Page
}
return 0
}
func (m *CoursePageDto) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *CoursePageDto) GetSort() []string {
if m != nil {
return m.Sort
}
return nil
}
func (m *CoursePageDto) GetBlurry() string {
if m != nil {
return m.Blurry
}
return ""
}
func (m *CoursePageDto) GetTotal() int64 {
if m != nil {
return m.Total
}
return 0
}
func (m *CoursePageDto) GetCreateTime() []string {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *CoursePageDto) GetRows() []*CourseDto {
if m != nil {
return m.Rows
}
return nil
}
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 (m *CourseDtoList) Reset() { *m = CourseDtoList{} }
func (m *CourseDtoList) String() string { return proto.CompactTextString(m) }
func (*CourseDtoList) ProtoMessage() {}
func (*CourseDtoList) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{2}
}
func (m *CourseDtoList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseDtoList.Unmarshal(m, b)
}
func (m *CourseDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseDtoList.Marshal(b, m, deterministic)
}
func (m *CourseDtoList) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseDtoList.Merge(m, src)
}
func (m *CourseDtoList) XXX_Size() int {
return xxx_messageInfo_CourseDtoList.Size(m)
}
func (m *CourseDtoList) XXX_DiscardUnknown() {
xxx_messageInfo_CourseDtoList.DiscardUnknown(m)
}
var xxx_messageInfo_CourseDtoList proto.InternalMessageInfo
func (m *CourseDtoList) GetRows() []*CourseDto {
if m != nil {
return m.Rows
}
return nil
}
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 (m *CourseContentDto) Reset() { *m = CourseContentDto{} }
func (m *CourseContentDto) String() string { return proto.CompactTextString(m) }
func (*CourseContentDto) ProtoMessage() {}
func (*CourseContentDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{3}
}
func (m *CourseContentDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseContentDto.Unmarshal(m, b)
}
func (m *CourseContentDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseContentDto.Marshal(b, m, deterministic)
}
func (m *CourseContentDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseContentDto.Merge(m, src)
}
func (m *CourseContentDto) XXX_Size() int {
return xxx_messageInfo_CourseContentDto.Size(m)
}
func (m *CourseContentDto) XXX_DiscardUnknown() {
xxx_messageInfo_CourseContentDto.DiscardUnknown(m)
}
var xxx_messageInfo_CourseContentDto proto.InternalMessageInfo
func (m *CourseContentDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CourseContentDto) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
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 (m *CourseCategoryDto) Reset() { *m = CourseCategoryDto{} }
func (m *CourseCategoryDto) String() string { return proto.CompactTextString(m) }
func (*CourseCategoryDto) ProtoMessage() {}
func (*CourseCategoryDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{4}
}
func (m *CourseCategoryDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseCategoryDto.Unmarshal(m, b)
}
func (m *CourseCategoryDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseCategoryDto.Marshal(b, m, deterministic)
}
func (m *CourseCategoryDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseCategoryDto.Merge(m, src)
}
func (m *CourseCategoryDto) XXX_Size() int {
return xxx_messageInfo_CourseCategoryDto.Size(m)
}
func (m *CourseCategoryDto) XXX_DiscardUnknown() {
xxx_messageInfo_CourseCategoryDto.DiscardUnknown(m)
}
var xxx_messageInfo_CourseCategoryDto proto.InternalMessageInfo
func (m *CourseCategoryDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CourseCategoryDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *CourseCategoryDto) GetCategoryId() string {
if m != nil {
return m.CategoryId
}
return ""
}
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 (m *CourseCategoryDtoList) Reset() { *m = CourseCategoryDtoList{} }
func (m *CourseCategoryDtoList) String() string { return proto.CompactTextString(m) }
func (*CourseCategoryDtoList) ProtoMessage() {}
func (*CourseCategoryDtoList) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{5}
}
func (m *CourseCategoryDtoList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseCategoryDtoList.Unmarshal(m, b)
}
func (m *CourseCategoryDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseCategoryDtoList.Marshal(b, m, deterministic)
}
func (m *CourseCategoryDtoList) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseCategoryDtoList.Merge(m, src)
}
func (m *CourseCategoryDtoList) XXX_Size() int {
return xxx_messageInfo_CourseCategoryDtoList.Size(m)
}
func (m *CourseCategoryDtoList) XXX_DiscardUnknown() {
xxx_messageInfo_CourseCategoryDtoList.DiscardUnknown(m)
}
var xxx_messageInfo_CourseCategoryDtoList proto.InternalMessageInfo
func (m *CourseCategoryDtoList) GetRows() []*CourseCategoryDto {
if m != nil {
return m.Rows
}
return nil
}
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 (m *CategoryDto) Reset() { *m = CategoryDto{} }
func (m *CategoryDto) String() string { return proto.CompactTextString(m) }
func (*CategoryDto) ProtoMessage() {}
func (*CategoryDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{6}
}
func (m *CategoryDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CategoryDto.Unmarshal(m, b)
}
func (m *CategoryDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CategoryDto.Marshal(b, m, deterministic)
}
func (m *CategoryDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CategoryDto.Merge(m, src)
}
func (m *CategoryDto) XXX_Size() int {
return xxx_messageInfo_CategoryDto.Size(m)
}
func (m *CategoryDto) XXX_DiscardUnknown() {
xxx_messageInfo_CategoryDto.DiscardUnknown(m)
}
var xxx_messageInfo_CategoryDto proto.InternalMessageInfo
func (m *CategoryDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CategoryDto) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CategoryDto) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CategoryDto) GetSort() int32 {
if m != nil {
return m.Sort
}
return 0
}
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 (m *CategoryPageDto) Reset() { *m = CategoryPageDto{} }
func (m *CategoryPageDto) String() string { return proto.CompactTextString(m) }
func (*CategoryPageDto) ProtoMessage() {}
func (*CategoryPageDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{7}
}
func (m *CategoryPageDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CategoryPageDto.Unmarshal(m, b)
}
func (m *CategoryPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CategoryPageDto.Marshal(b, m, deterministic)
}
func (m *CategoryPageDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CategoryPageDto.Merge(m, src)
}
func (m *CategoryPageDto) XXX_Size() int {
return xxx_messageInfo_CategoryPageDto.Size(m)
}
func (m *CategoryPageDto) XXX_DiscardUnknown() {
xxx_messageInfo_CategoryPageDto.DiscardUnknown(m)
}
var xxx_messageInfo_CategoryPageDto proto.InternalMessageInfo
func (m *CategoryPageDto) GetPage() int64 {
if m != nil {
return m.Page
}
return 0
}
func (m *CategoryPageDto) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *CategoryPageDto) GetSort() []string {
if m != nil {
return m.Sort
}
return nil
}
func (m *CategoryPageDto) GetBlurry() string {
if m != nil {
return m.Blurry
}
return ""
}
func (m *CategoryPageDto) GetTotal() int64 {
if m != nil {
return m.Total
}
return 0
}
func (m *CategoryPageDto) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CategoryPageDto) GetRows() []*CategoryDto {
if m != nil {
return m.Rows
}
return nil
}
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 (m *CategoryDtoList) Reset() { *m = CategoryDtoList{} }
func (m *CategoryDtoList) String() string { return proto.CompactTextString(m) }
func (*CategoryDtoList) ProtoMessage() {}
func (*CategoryDtoList) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{8}
}
func (m *CategoryDtoList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CategoryDtoList.Unmarshal(m, b)
}
func (m *CategoryDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CategoryDtoList.Marshal(b, m, deterministic)
}
func (m *CategoryDtoList) XXX_Merge(src proto.Message) {
xxx_messageInfo_CategoryDtoList.Merge(m, src)
}
func (m *CategoryDtoList) XXX_Size() int {
return xxx_messageInfo_CategoryDtoList.Size(m)
}
func (m *CategoryDtoList) XXX_DiscardUnknown() {
xxx_messageInfo_CategoryDtoList.DiscardUnknown(m)
}
var xxx_messageInfo_CategoryDtoList proto.InternalMessageInfo
func (m *CategoryDtoList) GetRows() []*CategoryDto {
if m != nil {
return m.Rows
}
return nil
}
//Chapter Dto
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:"-"`
}
func (m *ChapterDto) Reset() { *m = ChapterDto{} }
func (m *ChapterDto) String() string { return proto.CompactTextString(m) }
func (*ChapterDto) ProtoMessage() {}
func (*ChapterDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{9}
}
func (m *ChapterDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChapterDto.Unmarshal(m, b)
}
func (m *ChapterDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChapterDto.Marshal(b, m, deterministic)
}
func (m *ChapterDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChapterDto.Merge(m, src)
}
func (m *ChapterDto) XXX_Size() int {
return xxx_messageInfo_ChapterDto.Size(m)
}
func (m *ChapterDto) XXX_DiscardUnknown() {
xxx_messageInfo_ChapterDto.DiscardUnknown(m)
}
var xxx_messageInfo_ChapterDto proto.InternalMessageInfo
func (m *ChapterDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ChapterDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *ChapterDto) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ChapterDto) GetSort() int32 {
if m != nil {
return m.Sort
}
return 0
}
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 (m *ChapterDtoList) Reset() { *m = ChapterDtoList{} }
func (m *ChapterDtoList) String() string { return proto.CompactTextString(m) }
func (*ChapterDtoList) ProtoMessage() {}
func (*ChapterDtoList) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{10}
}
func (m *ChapterDtoList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChapterDtoList.Unmarshal(m, b)
}
func (m *ChapterDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChapterDtoList.Marshal(b, m, deterministic)
}
func (m *ChapterDtoList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChapterDtoList.Merge(m, src)
}
func (m *ChapterDtoList) XXX_Size() int {
return xxx_messageInfo_ChapterDtoList.Size(m)
}
func (m *ChapterDtoList) XXX_DiscardUnknown() {
xxx_messageInfo_ChapterDtoList.DiscardUnknown(m)
}
var xxx_messageInfo_ChapterDtoList proto.InternalMessageInfo
func (m *ChapterDtoList) GetRows() []*ChapterDto {
if m != nil {
return m.Rows
}
return nil
}
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 (m *ChapterPageDto) Reset() { *m = ChapterPageDto{} }
func (m *ChapterPageDto) String() string { return proto.CompactTextString(m) }
func (*ChapterPageDto) ProtoMessage() {}
func (*ChapterPageDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{11}
}
func (m *ChapterPageDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChapterPageDto.Unmarshal(m, b)
}
func (m *ChapterPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChapterPageDto.Marshal(b, m, deterministic)
}
func (m *ChapterPageDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChapterPageDto.Merge(m, src)
}
func (m *ChapterPageDto) XXX_Size() int {
return xxx_messageInfo_ChapterPageDto.Size(m)
}
func (m *ChapterPageDto) XXX_DiscardUnknown() {
xxx_messageInfo_ChapterPageDto.DiscardUnknown(m)
}
var xxx_messageInfo_ChapterPageDto proto.InternalMessageInfo
func (m *ChapterPageDto) GetPage() int64 {
if m != nil {
return m.Page
}
return 0
}
func (m *ChapterPageDto) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *ChapterPageDto) GetSort() []string {
if m != nil {
return m.Sort
}
return nil
}
func (m *ChapterPageDto) GetBlurry() string {
if m != nil {
return m.Blurry
}
return ""
}
func (m *ChapterPageDto) GetTotal() int64 {
if m != nil {
return m.Total
}
return 0
}
func (m *ChapterPageDto) GetCreateTime() []string {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *ChapterPageDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *ChapterPageDto) GetRows() []*ChapterDto {
if m != nil {
return m.Rows
}
return nil
}
//Section Dto
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:"-"`
}
func (m *SectionDto) Reset() { *m = SectionDto{} }
func (m *SectionDto) String() string { return proto.CompactTextString(m) }
func (*SectionDto) ProtoMessage() {}
func (*SectionDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{12}
}
func (m *SectionDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SectionDto.Unmarshal(m, b)
}
func (m *SectionDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SectionDto.Marshal(b, m, deterministic)
}
func (m *SectionDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_SectionDto.Merge(m, src)
}
func (m *SectionDto) XXX_Size() int {
return xxx_messageInfo_SectionDto.Size(m)
}
func (m *SectionDto) XXX_DiscardUnknown() {
xxx_messageInfo_SectionDto.DiscardUnknown(m)
}
var xxx_messageInfo_SectionDto proto.InternalMessageInfo
func (m *SectionDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *SectionDto) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *SectionDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *SectionDto) GetChapterId() string {
if m != nil {
return m.ChapterId
}
return ""
}
func (m *SectionDto) GetVideo() string {
if m != nil {
return m.Video
}
return ""
}
func (m *SectionDto) GetTime() int32 {
if m != nil {
return m.Time
}
return 0
}
func (m *SectionDto) GetCharge() string {
if m != nil {
return m.Charge
}
return ""
}
func (m *SectionDto) GetSort() int32 {
if m != nil {
return m.Sort
}
return 0
}
func (m *SectionDto) GetCreatedTime() string {
if m != nil {
return m.CreatedTime
}
return ""
}
func (m *SectionDto) GetUpdatedTime() string {
if m != nil {
return m.UpdatedTime
}
return ""
}
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 (m *SectionPageDto) Reset() { *m = SectionPageDto{} }
func (m *SectionPageDto) String() string { return proto.CompactTextString(m) }
func (*SectionPageDto) ProtoMessage() {}
func (*SectionPageDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{13}
}
func (m *SectionPageDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SectionPageDto.Unmarshal(m, b)
}
func (m *SectionPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SectionPageDto.Marshal(b, m, deterministic)
}
func (m *SectionPageDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_SectionPageDto.Merge(m, src)
}
func (m *SectionPageDto) XXX_Size() int {
return xxx_messageInfo_SectionPageDto.Size(m)
}
func (m *SectionPageDto) XXX_DiscardUnknown() {
xxx_messageInfo_SectionPageDto.DiscardUnknown(m)
}
var xxx_messageInfo_SectionPageDto proto.InternalMessageInfo
func (m *SectionPageDto) GetPage() int64 {
if m != nil {
return m.Page
}
return 0
}
func (m *SectionPageDto) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *SectionPageDto) GetSort() []string {
if m != nil {
return m.Sort
}
return nil
}
func (m *SectionPageDto) GetBlurry() string {
if m != nil {
return m.Blurry
}
return ""
}
func (m *SectionPageDto) GetTotal() int64 {
if m != nil {
return m.Total
}
return 0
}
func (m *SectionPageDto) GetCreateTime() []string {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *SectionPageDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *SectionPageDto) GetChapterId() string {
if m != nil {
return m.ChapterId
}
return ""
}
func (m *SectionPageDto) GetRows() []*SectionDto {
if m != nil {
return m.Rows
}
return nil
}
//Teacher Dto
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:"-"`
}
func (m *TeacherDto) Reset() { *m = TeacherDto{} }
func (m *TeacherDto) String() string { return proto.CompactTextString(m) }
func (*TeacherDto) ProtoMessage() {}
func (*TeacherDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{14}
}
func (m *TeacherDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TeacherDto.Unmarshal(m, b)
}
func (m *TeacherDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TeacherDto.Marshal(b, m, deterministic)
}
func (m *TeacherDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_TeacherDto.Merge(m, src)
}
func (m *TeacherDto) XXX_Size() int {
return xxx_messageInfo_TeacherDto.Size(m)
}
func (m *TeacherDto) XXX_DiscardUnknown() {
xxx_messageInfo_TeacherDto.DiscardUnknown(m)
}
var xxx_messageInfo_TeacherDto proto.InternalMessageInfo
func (m *TeacherDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *TeacherDto) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *TeacherDto) GetImage() string {
if m != nil {
return m.Image
}
return ""
}
func (m *TeacherDto) GetPosition() string {
if m != nil {
return m.Position
}
return ""
}
func (m *TeacherDto) GetIntro() string {
if m != nil {
return m.Intro
}
return ""
}
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 (m *TeacherPageDto) Reset() { *m = TeacherPageDto{} }
func (m *TeacherPageDto) String() string { return proto.CompactTextString(m) }
func (*TeacherPageDto) ProtoMessage() {}
func (*TeacherPageDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{15}
}
func (m *TeacherPageDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TeacherPageDto.Unmarshal(m, b)
}
func (m *TeacherPageDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TeacherPageDto.Marshal(b, m, deterministic)
}
func (m *TeacherPageDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_TeacherPageDto.Merge(m, src)
}
func (m *TeacherPageDto) XXX_Size() int {
return xxx_messageInfo_TeacherPageDto.Size(m)
}
func (m *TeacherPageDto) XXX_DiscardUnknown() {
xxx_messageInfo_TeacherPageDto.DiscardUnknown(m)
}
var xxx_messageInfo_TeacherPageDto proto.InternalMessageInfo
func (m *TeacherPageDto) GetPage() int64 {
if m != nil {
return m.Page
}
return 0
}
func (m *TeacherPageDto) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *TeacherPageDto) GetSort() []string {
if m != nil {
return m.Sort
}
return nil
}
func (m *TeacherPageDto) GetBlurry() string {
if m != nil {
return m.Blurry
}
return ""
}
func (m *TeacherPageDto) GetTotal() int64 {
if m != nil {
return m.Total
}
return 0
}
func (m *TeacherPageDto) GetRows() []*TeacherDto {
if m != nil {
return m.Rows
}
return nil
}
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 (m *TeacherDtoList) Reset() { *m = TeacherDtoList{} }
func (m *TeacherDtoList) String() string { return proto.CompactTextString(m) }
func (*TeacherDtoList) ProtoMessage() {}
func (*TeacherDtoList) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{16}
}
func (m *TeacherDtoList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TeacherDtoList.Unmarshal(m, b)
}
func (m *TeacherDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TeacherDtoList.Marshal(b, m, deterministic)
}
func (m *TeacherDtoList) XXX_Merge(src proto.Message) {
xxx_messageInfo_TeacherDtoList.Merge(m, src)
}
func (m *TeacherDtoList) XXX_Size() int {
return xxx_messageInfo_TeacherDtoList.Size(m)
}
func (m *TeacherDtoList) XXX_DiscardUnknown() {
xxx_messageInfo_TeacherDtoList.DiscardUnknown(m)
}
var xxx_messageInfo_TeacherDtoList proto.InternalMessageInfo
func (m *TeacherDtoList) GetRows() []*TeacherDto {
if m != nil {
return m.Rows
}
return nil
}
//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:"-"`
}
func (m *CourseFileDto) Reset() { *m = CourseFileDto{} }
func (m *CourseFileDto) String() string { return proto.CompactTextString(m) }
func (*CourseFileDto) ProtoMessage() {}
func (*CourseFileDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{17}
}
func (m *CourseFileDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseFileDto.Unmarshal(m, b)
}
func (m *CourseFileDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseFileDto.Marshal(b, m, deterministic)
}
func (m *CourseFileDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseFileDto.Merge(m, src)
}
func (m *CourseFileDto) XXX_Size() int {
return xxx_messageInfo_CourseFileDto.Size(m)
}
func (m *CourseFileDto) XXX_DiscardUnknown() {
xxx_messageInfo_CourseFileDto.DiscardUnknown(m)
}
var xxx_messageInfo_CourseFileDto proto.InternalMessageInfo
func (m *CourseFileDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CourseFileDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *CourseFileDto) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *CourseFileDto) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CourseFileDto) GetSize() int32 {
if m != nil {
return m.Size
}
return 0
}
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 (m *CourseFileDtoList) Reset() { *m = CourseFileDtoList{} }
func (m *CourseFileDtoList) String() string { return proto.CompactTextString(m) }
func (*CourseFileDtoList) ProtoMessage() {}
func (*CourseFileDtoList) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{18}
}
func (m *CourseFileDtoList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CourseFileDtoList.Unmarshal(m, b)
}
func (m *CourseFileDtoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CourseFileDtoList.Marshal(b, m, deterministic)
}
func (m *CourseFileDtoList) XXX_Merge(src proto.Message) {
xxx_messageInfo_CourseFileDtoList.Merge(m, src)
}
func (m *CourseFileDtoList) XXX_Size() int {
return xxx_messageInfo_CourseFileDtoList.Size(m)
}
func (m *CourseFileDtoList) XXX_DiscardUnknown() {
xxx_messageInfo_CourseFileDtoList.DiscardUnknown(m)
}
var xxx_messageInfo_CourseFileDtoList proto.InternalMessageInfo
func (m *CourseFileDtoList) GetRows() []*CourseFileDto {
if m != nil {
return m.Rows
}
return nil
}
//修改排序使用
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 (m *SortDto) Reset() { *m = SortDto{} }
func (m *SortDto) String() string { return proto.CompactTextString(m) }
func (*SortDto) ProtoMessage() {}
func (*SortDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{19}
}
func (m *SortDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SortDto.Unmarshal(m, b)
}
func (m *SortDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SortDto.Marshal(b, m, deterministic)
}
func (m *SortDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_SortDto.Merge(m, src)
}
func (m *SortDto) XXX_Size() int {
return xxx_messageInfo_SortDto.Size(m)
}
func (m *SortDto) XXX_DiscardUnknown() {
xxx_messageInfo_SortDto.DiscardUnknown(m)
}
var xxx_messageInfo_SortDto proto.InternalMessageInfo
func (m *SortDto) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *SortDto) GetOldSort() int32 {
if m != nil {
return m.OldSort
}
return 0
}
func (m *SortDto) GetNewSort() int32 {
if m != nil {
return m.NewSort
}
return 0
}
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 (m *MemberCourseDto) Reset() { *m = MemberCourseDto{} }
func (m *MemberCourseDto) String() string { return proto.CompactTextString(m) }
func (*MemberCourseDto) ProtoMessage() {}
func (*MemberCourseDto) Descriptor() ([]byte, []int) {
return fileDescriptor_689623016e041112, []int{20}
}
func (m *MemberCourseDto) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MemberCourseDto.Unmarshal(m, b)
}
func (m *MemberCourseDto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MemberCourseDto.Marshal(b, m, deterministic)
}
func (m *MemberCourseDto) XXX_Merge(src proto.Message) {
xxx_messageInfo_MemberCourseDto.Merge(m, src)
}
func (m *MemberCourseDto) XXX_Size() int {
return xxx_messageInfo_MemberCourseDto.Size(m)
}
func (m *MemberCourseDto) XXX_DiscardUnknown() {
xxx_messageInfo_MemberCourseDto.DiscardUnknown(m)
}
var xxx_messageInfo_MemberCourseDto proto.InternalMessageInfo
func (m *MemberCourseDto) GetMemberId() string {
if m != nil {
return m.MemberId
}
return ""
}
func (m *MemberCourseDto) GetCourseId() string {
if m != nil {
return m.CourseId
}
return ""
}
func (m *MemberCourseDto) GetLastLearn() string {
if m != nil {
return m.LastLearn
}
return ""
}
func (m *MemberCourseDto) GetCreateAt() string {
if m != nil {
return m.CreateAt
}
return ""
}
func (m *MemberCourseDto) GetUpdateAt() string {
if m != nil {
return m.UpdateAt
}
return ""
}
func init() {
proto.RegisterType((*CourseDto)(nil), "course.CourseDto")
proto.RegisterType((*CoursePageDto)(nil), "course.CoursePageDto")
proto.RegisterType((*CourseDtoList)(nil), "course.CourseDtoList")
proto.RegisterType((*CourseContentDto)(nil), "course.CourseContentDto")
proto.RegisterType((*CourseCategoryDto)(nil), "course.CourseCategoryDto")
proto.RegisterType((*CourseCategoryDtoList)(nil), "course.CourseCategoryDtoList")
proto.RegisterType((*CategoryDto)(nil), "course.CategoryDto")
proto.RegisterType((*CategoryPageDto)(nil), "course.CategoryPageDto")
proto.RegisterType((*CategoryDtoList)(nil), "course.CategoryDtoList")
proto.RegisterType((*ChapterDto)(nil), "course.ChapterDto")
proto.RegisterType((*ChapterDtoList)(nil), "course.ChapterDtoList")
proto.RegisterType((*ChapterPageDto)(nil), "course.ChapterPageDto")
proto.RegisterType((*SectionDto)(nil), "course.SectionDto")
proto.RegisterType((*SectionPageDto)(nil), "course.SectionPageDto")
proto.RegisterType((*TeacherDto)(nil), "course.TeacherDto")
proto.RegisterType((*TeacherPageDto)(nil), "course.TeacherPageDto")
proto.RegisterType((*TeacherDtoList)(nil), "course.TeacherDtoList")
proto.RegisterType((*CourseFileDto)(nil), "course.CourseFileDto")
proto.RegisterType((*CourseFileDtoList)(nil), "course.CourseFileDtoList")
proto.RegisterType((*SortDto)(nil), "course.SortDto")
proto.RegisterType((*MemberCourseDto)(nil), "course.MemberCourseDto")
}
func init() {
proto.RegisterFile("gitee.com/jingshanccc/course/course/proto/dto/course.proto", fileDescriptor_689623016e041112)
}
var fileDescriptor_689623016e041112 = []byte{
// 994 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x5f, 0x6f, 0xdc, 0x44,
0x10, 0x97, 0xe3, 0x8b, 0xcf, 0x9e, 0xd0, 0x6b, 0xe2, 0xd2, 0x68, 0x09, 0x7f, 0x74, 0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0xdd, 0x39, 0xcf, 0xb4, 0x6d, 0x42, 0x06, 0x8e, 0x35, 0x2a, 0xf9, 0xda,
0xa3, 0x92, 0x1b, 0x31, 0x64, 0xe0, 0x58, 0x7f, 0x75, 0xf4, 0xdd, 0xfd, 0xd7, 0xfa, 0xb3, 0x70,
0x11, 0xd0, 0xf2, 0xb3, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x74, 0xb0, 0xd8, 0x64, 0x0c,
0x00, 0x00,
}
1
https://gitee.com/jingshanccc/course.git
git@gitee.com:jingshanccc/course.git
jingshanccc
course
course
23f538baa694

搜索帮助

53164aa7 5694891 3bd8fe86 5694891