diff --git a/cmd/controller/art_show.go b/cmd/controller/art_show.go index c6c7b54..71c2ad9 100644 --- a/cmd/controller/art_show.go +++ b/cmd/controller/art_show.go @@ -5,15 +5,15 @@ import ( "errors" "fonchain-artshow/cmd/model" "fonchain-artshow/cmd/service" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/m" ) type ArtShowProvider struct { - test.UnimplementedArtShowServer + artShow.UnimplementedArtShowServer } -func (p *ArtShowProvider) CreateShow(ctx context.Context, req *test.SaveShowReq) (res *test.SaveShowRes, err error) { +func (p *ArtShowProvider) CreateShow(ctx context.Context, req *artShow.SaveShowReq) (res *artShow.SaveShowRes, err error) { if req.ShowName == "" { err = errors.New(m.ERROR_SHOW_NAME) return nil, err @@ -22,7 +22,7 @@ func (p *ArtShowProvider) CreateShow(ctx context.Context, req *test.SaveShowReq) err = errors.New(m.ERROR_TIME) return nil, err } - res = new(test.SaveShowRes) + res = new(artShow.SaveShowRes) err, showID := service.CreateArtShowWithArtworkPrice(req) if err != nil { res.Msg = err.Error() @@ -34,12 +34,12 @@ func (p *ArtShowProvider) CreateShow(ctx context.Context, req *test.SaveShowReq) return res, nil } -func (p *ArtShowProvider) UpdateShow(ctx context.Context, req *test.SaveShowReq) (res *test.SaveShowRes, err error) { +func (p *ArtShowProvider) UpdateShow(ctx context.Context, req *artShow.SaveShowReq) (res *artShow.SaveShowRes, err error) { if req.ID == 0 { err = errors.New(m.ERROR_INVALID_ID) return } - res = new(test.SaveShowRes) + res = new(artShow.SaveShowRes) if req.IsShow == m.ARTSHOW_INSIDE { showRel := new(model.ShowRel) err, showRel = service.QueryShowRel(uint(req.ID)) @@ -63,7 +63,7 @@ func (p *ArtShowProvider) UpdateShow(ctx context.Context, req *test.SaveShowReq) return } -func (p *ArtShowProvider) DelShow(ctx context.Context, req *test.DelShowReq) (res *test.CommonRes, err error) { +func (p *ArtShowProvider) DelShow(ctx context.Context, req *artShow.DelShowReq) (res *artShow.CommonRes, err error) { if len(req.ShowID) < 1 { err = errors.New(m.ERROR_INVALID_ID) return @@ -78,14 +78,17 @@ func (p *ArtShowProvider) DelShow(ctx context.Context, req *test.DelShowReq) (re return } -func (p *ArtShowProvider) ShowList(ctx context.Context, req *test.ShowListReq) (res *test.ShowListRes, err error) { +func (p *ArtShowProvider) ShowList(ctx context.Context, req *artShow.ShowListReq) (res *artShow.ShowListRes, err error) { if req.Page == 0 { req.Page = 1 } if req.PageSize == 0 { req.Page = 10 } - res = new(test.ShowListRes) + if req.IsShow == 0 { + req.IsShow = m.ARTSHOW_INSIDE + } + res = new(artShow.ShowListRes) err, res = service.ArtShowList(req) if err != nil { res.Msg = err.Error() @@ -95,7 +98,7 @@ func (p *ArtShowProvider) ShowList(ctx context.Context, req *test.ShowListReq) ( return } -func (p *ArtShowProvider) ShowInfo(ctx context.Context, req *test.ShowDetailReq) (res *test.ShowArtworkDetailRes, err error) { +func (p *ArtShowProvider) ShowInfo(ctx context.Context, req *artShow.ShowDetailReq) (res *artShow.ShowArtworkDetailRes, err error) { err, res = service.ShowInfo(req) if err != nil { res.Msg = err.Error() @@ -105,8 +108,8 @@ func (p *ArtShowProvider) ShowInfo(ctx context.Context, req *test.ShowDetailReq) return } -func (p *ArtShowProvider) ShowStatisticalInfo(ctx context.Context, req *test.ShowStatisticalInfoReq) (res *test.ShowStatisticalInfoRes, err error) { - res = new(test.ShowStatisticalInfoRes) +func (p *ArtShowProvider) ShowStatisticalInfo(ctx context.Context, req *artShow.ShowStatisticalInfoReq) (res *artShow.ShowStatisticalInfoRes, err error) { + res = new(artShow.ShowStatisticalInfoRes) err, num := service.ShowStatisticalInfo(req) if err != nil { res.Msg = err.Error() @@ -117,12 +120,12 @@ func (p *ArtShowProvider) ShowStatisticalInfo(ctx context.Context, req *test.Sho return } -func (p *ArtShowProvider) ArtworkPrice(ctx context.Context, req *test.ArtworkPriceReq) (res *test.ArtworkPriceRes, err error) { +func (p *ArtShowProvider) ArtworkPrice(ctx context.Context, req *artShow.ArtworkPriceReq) (res *artShow.ArtworkPriceRes, err error) { if req.ArtworkID == 0 { err = errors.New(m.ERROR_INVALID_ID) return } - res = new(test.ArtworkPriceRes) + res = new(artShow.ArtworkPriceRes) err, res = service.ArtworkPriceInfo(req) if err != nil { res.Msg = err.Error() @@ -132,7 +135,7 @@ func (p *ArtShowProvider) ArtworkPrice(ctx context.Context, req *test.ArtworkPri return } -func (p *ArtShowProvider) ShowListWithApply(ctx context.Context, req *test.ShowListReq) (res *test.ShowListRes, err error) { +func (p *ArtShowProvider) ShowListWithApply(ctx context.Context, req *artShow.ShowListReq) (res *artShow.ShowListRes, err error) { if req.Page == 0 { req.Page = 1 } @@ -142,7 +145,7 @@ func (p *ArtShowProvider) ShowListWithApply(ctx context.Context, req *test.ShowL if req.IsShow == 0 { req.IsShow = 2 } - res = new(test.ShowListRes) + res = new(artShow.ShowListRes) err, res = service.ArtShowListWithApply(req) if err != nil { res.Msg = err.Error() diff --git a/cmd/controller/show_apply.go b/cmd/controller/show_apply.go index 02368d3..b73ed00 100644 --- a/cmd/controller/show_apply.go +++ b/cmd/controller/show_apply.go @@ -4,11 +4,11 @@ import ( "context" "errors" "fonchain-artshow/cmd/service" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/m" ) -func (p *ArtShowProvider) CreateApply(ctx context.Context, req *test.SaveApplyReq) (res *test.SaveApplyRes, err error) { +func (p *ArtShowProvider) CreateApply(ctx context.Context, req *artShow.SaveApplyReq) (res *artShow.SaveApplyRes, err error) { if req.Applicant == "" { err = errors.New(m.ERROR_APPLICANT) return @@ -17,7 +17,7 @@ func (p *ArtShowProvider) CreateApply(ctx context.Context, req *test.SaveApplyRe err = errors.New(m.ERROR_TIME) return } - res = new(test.SaveApplyRes) + res = new(artShow.SaveApplyRes) err, applyID := service.CreateShowApply(req) if err != nil { res.Msg = err.Error() @@ -29,12 +29,12 @@ func (p *ArtShowProvider) CreateApply(ctx context.Context, req *test.SaveApplyRe return } -func (p *ArtShowProvider) UpdateApply(ctx context.Context, req *test.SaveApplyReq) (res *test.SaveApplyRes, err error) { +func (p *ArtShowProvider) UpdateApply(ctx context.Context, req *artShow.SaveApplyReq) (res *artShow.SaveApplyRes, err error) { if req.ID == 0 { err = errors.New(m.ERROR_INVALID_ID) return } - res = new(test.SaveApplyRes) + res = new(artShow.SaveApplyRes) err, showID := service.UpdateShowApplyWithShowRel(req) if err != nil { res.Msg = err.Error() @@ -46,8 +46,8 @@ func (p *ArtShowProvider) UpdateApply(ctx context.Context, req *test.SaveApplyRe return } -func (p *ArtShowProvider) ApplyList(ctx context.Context, req *test.ApplyListReq) (res *test.ApplyListRes, err error) { - res = new(test.ApplyListRes) +func (p *ArtShowProvider) ApplyList(ctx context.Context, req *artShow.ApplyListReq) (res *artShow.ApplyListRes, err error) { + res = new(artShow.ApplyListRes) if req.Page == 0 { req.Page = 1 } @@ -63,12 +63,12 @@ func (p *ArtShowProvider) ApplyList(ctx context.Context, req *test.ApplyListReq) return } -func (p *ArtShowProvider) ApplyDetail(ctx context.Context, req *test.ApplyShowReq) (res *test.ApplyShowRes, err error) { +func (p *ArtShowProvider) ApplyDetail(ctx context.Context, req *artShow.ApplyShowReq) (res *artShow.ApplyShowRes, err error) { if req.ApplyID == 0 { err = errors.New(m.ERROR_INVALID_ID) return } - res = new(test.ApplyShowRes) + res = new(artShow.ApplyShowRes) err, res = service.ShowApplyDetail(uint(req.ApplyID)) if err != nil { res.Msg = err.Error() @@ -78,12 +78,12 @@ func (p *ArtShowProvider) ApplyDetail(ctx context.Context, req *test.ApplyShowRe return } -func (p *ArtShowProvider) DelApply(ctx context.Context, req *test.DelApplyReq) (res *test.CommonRes, err error) { +func (p *ArtShowProvider) DelApply(ctx context.Context, req *artShow.DelApplyReq) (res *artShow.CommonRes, err error) { if len(req.ApplyID) < 1 { err = errors.New(m.ERROR_INVALID_ID) return } - res = new(test.CommonRes) + res = new(artShow.CommonRes) err = service.DelApplyByApplyID(req) if err != nil { res.Msg = err.Error() @@ -94,12 +94,12 @@ func (p *ArtShowProvider) DelApply(ctx context.Context, req *test.DelApplyReq) ( return } -func (p *ArtShowProvider) UpdateApplyStatus(ctx context.Context, req *test.UpdateApplyStatusReq) (res *test.CommonRes, err error) { +func (p *ArtShowProvider) UpdateApplyStatus(ctx context.Context, req *artShow.UpdateApplyStatusReq) (res *artShow.CommonRes, err error) { if req.ApplyID == 0 { err = errors.New(m.ERROR_INVALID_ID) return } - res = new(test.CommonRes) + res = new(artShow.CommonRes) err = service.UpdateShowApplyStatus(req) if err != nil { res.Msg = err.Error() diff --git a/cmd/dao/art_show.go b/cmd/dao/art_show.go index c483b8d..a9354b2 100644 --- a/cmd/dao/art_show.go +++ b/cmd/dao/art_show.go @@ -2,7 +2,7 @@ package dao import ( "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/db" "go.uber.org/zap" "gorm.io/gorm" @@ -23,7 +23,7 @@ func SaveArtShow(tx *gorm.DB, artShow *model.ArtShow) (err error) { return } -func ArtShowList(in *test.ShowListReq) (err error, total int64, out []*model.ArtShow) { +func ArtShowList(in *artShow.ShowListReq) (err error, total int64, out []*model.ArtShow) { queryDB := db.DbArtShow.Model(&model.ArtShow{}) if in.ArtistID != "" { @@ -32,9 +32,7 @@ func ArtShowList(in *test.ShowListReq) (err error, total int64, out []*model.Art if in.StartTime != "" && in.EndTime != "" { queryDB = queryDB.Where("convert(show_time, date) between ? and ?", in.StartTime, in.EndTime) } - if in.IsShow != 0 { - queryDB = queryDB.Where("is_show = ?", in.IsShow) - } + queryDB = queryDB.Where("is_show = ?", in.IsShow) err = queryDB.Count(&total).Error if err != nil { @@ -54,7 +52,7 @@ func ArtShowList(in *test.ShowListReq) (err error, total int64, out []*model.Art func ArtShowList_apply(applyID uint) (err error, out []*model.ArtShow) { out = make([]*model.ArtShow, 0) - err = db.DbArtShow.Table("art_show as a ").Joins(" left join show_rel as b on a.id = b.show_id").Where("b.apply_id = ? ", applyID).Find(&out).Error + err = db.DbArtShow.Table("art_show as a ").Select("a.*").Distinct("a.id").Joins(" right join show_rel as b on a.id = b.show_id").Where("b.apply_id = ? ", applyID).Find(&out).Error if err != nil { zap.L().Error("ArtShowList_apply Find err", zap.Error(err)) return @@ -62,7 +60,7 @@ func ArtShowList_apply(applyID uint) (err error, out []*model.ArtShow) { return } -func ArtShowListByApplyStatus(in *test.ShowListReq) (err error, total int64, out []*model.ArtShow) { +func ArtShowListByApplyStatus(in *artShow.ShowListReq) (err error, total int64, out []*model.ArtShow) { out = make([]*model.ArtShow, 0) tx := db.DbArtShow.Table("art_show as a") @@ -82,7 +80,7 @@ func ArtShowListByApplyStatus(in *test.ShowListReq) (err error, total int64, out return } -func DelArtShow(in *test.DelShowReq) (err error) { +func DelArtShow(in *artShow.DelShowReq) (err error) { err = db.DbArtShow.Where("id = ?", in.ShowID).Delete(&model.ArtShow{}).Error if err != nil { zap.L().Error("ArtShow delete err", zap.Error(err)) diff --git a/cmd/dao/artwork_price.go b/cmd/dao/artwork_price.go index 523e33a..e5d99f2 100644 --- a/cmd/dao/artwork_price.go +++ b/cmd/dao/artwork_price.go @@ -35,11 +35,21 @@ func ArtworkPriceList(showID uint) (err error, out []*model.ArtworkPrice) { return } -func QueryArtworkPrice(artworkID int64) (err error, out *model.ArtworkPrice) { +func QueryArtworkPrice_artworkID(artworkID int64) (err error, out *model.ArtworkPrice) { out = new(model.ArtworkPrice) err = db.DbArtShow.Model(&model.ArtworkPrice{}).Where("artwork_id = ? ", artworkID).Find(&out).Error if err != nil { - zap.L().Error("Artwork price query err", zap.Error(err)) + zap.L().Error("Artwork price artwork_id query err", zap.Error(err)) + return + } + return +} + +func QueryArtworkPrice_id(id uint) (err error, out *model.ArtworkPrice) { + out = new(model.ArtworkPrice) + err = db.DbArtShow.Model(&model.ArtworkPrice{}).Where("id = ? ", id).Find(&out).Error + if err != nil { + zap.L().Error("Artwork price id query err", zap.Error(err)) return } return diff --git a/cmd/dao/show_apply.go b/cmd/dao/show_apply.go index 1abfdec..7e4659a 100644 --- a/cmd/dao/show_apply.go +++ b/cmd/dao/show_apply.go @@ -2,8 +2,9 @@ package dao import ( "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/db" + "fonchain-artshow/pkg/m" "go.uber.org/zap" "gorm.io/gorm" ) @@ -24,9 +25,13 @@ func SaveShowApply(showApply *model.ShowApply) (tx *gorm.DB, err error) { return } -func ShowApplyList(in *test.ApplyListReq) (err error, total int64, out []*model.ShowApply) { +func ShowApplyList(in *artShow.ApplyListReq) (err error, total int64, out []*model.ShowApply) { out = make([]*model.ShowApply, 0) queryDB := db.DbArtShow.Model(&model.ShowApply{}) + if in.Status == 0 { + in.Status = m.SHOWAPPLY_ADD + } + queryDB.Where("status = ?", in.Status) err = queryDB.Count(&total).Error if err != nil { @@ -55,7 +60,7 @@ func ShowApplyDetail(applyID uint) (err error, out *model.ShowApply) { } return } -func DelShowApply(in *test.DelApplyReq) (tx *gorm.DB, err error) { +func DelShowApply(in *artShow.DelApplyReq) (tx *gorm.DB, err error) { tx = db.DbArtShow.Begin() err = tx.Delete(&model.ShowApply{}, in.ApplyID).Error if err != nil { diff --git a/cmd/main.go b/cmd/main.go index 027ac7e..d4601dc 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "google.golang.org/grpc" //grpc_go "github.com/dubbogo/grpc-go" @@ -15,7 +15,7 @@ import ( ) type server struct { - test.UnimplementedArtShowServer + artShow.UnimplementedArtShowServer } func main() { @@ -25,8 +25,8 @@ func main() { return } - s := grpc.NewServer() // 创建gRPC服务器 - test.RegisterArtShowServer(s, &controller.ArtShowProvider{}) // 在gRPC服务端注册服务 + s := grpc.NewServer() // 创建gRPC服务器 + artShow.RegisterArtShowServer(s, &controller.ArtShowProvider{}) // 在gRPC服务端注册服务 db.Init(m.SERVER_CONFIG) //初始化zap diff --git a/cmd/service/art_show.go b/cmd/service/art_show.go index 0b0fe99..8c9cd22 100644 --- a/cmd/service/art_show.go +++ b/cmd/service/art_show.go @@ -3,14 +3,14 @@ package service import ( "fonchain-artshow/cmd/dao" "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/db" "fonchain-artshow/pkg/m" "fonchain-artshow/pkg/serializer" "fonchain-artshow/pkg/utils" ) -func CreateArtShowWithArtworkPrice(in *test.SaveShowReq) (err error, showID uint) { +func CreateArtShowWithArtworkPrice(in *artShow.SaveShowReq) (err error, showID uint) { artShowM := serializer.BuildArtShowM(in) tx := db.DbArtShow.Begin() @@ -43,12 +43,9 @@ func CreateArtShowWithArtworkPrice(in *test.SaveShowReq) (err error, showID uint return err, artShowM.ID } -func UpdateArtShowWithArtworkPrice(in *test.SaveShowReq) (err error, showID uint) { - err, artShowExist := dao.QueryArtShow(uint(in.ID)) - if err != nil { - return - } - err, artworkPrices := dao.ArtworkPriceList(artShowExist.ID) +func UpdateArtShowWithArtworkPrice(in *artShow.SaveShowReq) (err error, showID uint) { + + err, artworkPrices := dao.ArtworkPriceList(uint(in.ID)) if err != nil { return } @@ -60,6 +57,15 @@ func UpdateArtShowWithArtworkPrice(in *test.SaveShowReq) (err error, showID uint artworks = artworkPrices } else { artworks = serializer.BuildShowArtworkM(in.ShowArtwork, uint(in.ID)) + for i := 0; i < len(artworks); i++ { // 查找 已存在 artwork_price 获取 ruler 信息 + if artworks[i].Ruler == 0 { + err, artwork := dao.QueryArtworkPrice_id(artworks[i].ID) + if err != nil { + return err, 0 + } + artworks[i].Ruler = artwork.Ruler + } + } } if len(artworks) > 0 { @@ -91,6 +97,7 @@ func UpdateArtShowWithArtworkPrice(in *test.SaveShowReq) (err error, showID uint } } } + // 更新画展包 err = dao.SaveArtShow(tx, artShowM) if err != nil { @@ -102,7 +109,7 @@ func UpdateArtShowWithArtworkPrice(in *test.SaveShowReq) (err error, showID uint return err, artShowM.ID } -func DelArtShow(in *test.DelShowReq) (err error) { +func DelArtShow(in *artShow.DelShowReq) (err error) { err = dao.DelArtShow(in) if err != nil { return @@ -111,8 +118,8 @@ func DelArtShow(in *test.DelShowReq) (err error) { return } -func ArtShowList(in *test.ShowListReq) (err error, out *test.ShowListRes) { - out = new(test.ShowListRes) +func ArtShowList(in *artShow.ShowListReq) (err error, out *artShow.ShowListRes) { + out = new(artShow.ShowListRes) artShows := make([]*model.ArtShow, 0) err, out.Total, artShows = dao.ArtShowList(in) if err != nil { @@ -126,8 +133,8 @@ func ArtShowList(in *test.ShowListReq) (err error, out *test.ShowListRes) { return } -func ShowInfo(in *test.ShowDetailReq) (err error, out *test.ShowArtworkDetailRes) { - out = new(test.ShowArtworkDetailRes) +func ShowInfo(in *artShow.ShowDetailReq) (err error, out *artShow.ShowArtworkDetailRes) { + out = new(artShow.ShowArtworkDetailRes) artworkPriceS := make([]*model.ArtworkPrice, 0) err, artworkPriceS = dao.ArtworkPriceList(uint(in.ShowID)) if err != nil { @@ -137,8 +144,8 @@ func ShowInfo(in *test.ShowDetailReq) (err error, out *test.ShowArtworkDetailRes return } -func ArtShowListWithApply(in *test.ShowListReq) (err error, out *test.ShowListRes) { - out = new(test.ShowListRes) +func ArtShowListWithApply(in *artShow.ShowListReq) (err error, out *artShow.ShowListRes) { + out = new(artShow.ShowListRes) artShows := make([]*model.ArtShow, 0) err, out.Total, artShows = dao.ArtShowListByApplyStatus(in) err, out.TotalArtistNum, out.TotalPackageNum = dao.ShowStatistical(m.ARTSHOW_PASS) @@ -149,8 +156,8 @@ func ArtShowListWithApply(in *test.ShowListReq) (err error, out *test.ShowListRe return } -func ShowStatisticalInfo(in *test.ShowStatisticalInfoReq) (err error, out *test.ShowStatisticalInfoRes_Num) { - out = new(test.ShowStatisticalInfoRes_Num) +func ShowStatisticalInfo(in *artShow.ShowStatisticalInfoReq) (err error, out *artShow.ShowStatisticalInfoRes_Num) { + out = new(artShow.ShowStatisticalInfoRes_Num) err, out.ArtistNum, out.PackageNum = dao.ShowStatistical(in.IsShow) if err != nil { return diff --git a/cmd/service/show_apply.go b/cmd/service/show_apply.go index c3c3107..e99228b 100644 --- a/cmd/service/show_apply.go +++ b/cmd/service/show_apply.go @@ -3,13 +3,13 @@ package service import ( "fonchain-artshow/cmd/dao" "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/serializer" "fonchain-artshow/pkg/utils" "gorm.io/gorm" ) -func CreateShowApply(in *test.SaveApplyReq) (err error, applyID uint) { +func CreateShowApply(in *artShow.SaveApplyReq) (err error, applyID uint) { showApply := serializer.BuildShowApply(in) tx, err := dao.SaveShowApply(showApply) @@ -30,7 +30,7 @@ func CreateShowApply(in *test.SaveApplyReq) (err error, applyID uint) { return err, showApply.ID } -func UpdateShowApplyWithShowRel(in *test.SaveApplyReq) (err error, applyID uint) { +func UpdateShowApplyWithShowRel(in *artShow.SaveApplyReq) (err error, applyID uint) { // 更新画展包申请 showApply := serializer.BuildShowApply(in) @@ -66,7 +66,7 @@ func UpdateShowApplyWithShowRel(in *test.SaveApplyReq) (err error, applyID uint) return err, showApply.ID } -func UpdateShowApplyStatus(in *test.UpdateApplyStatusReq) (err error) { +func UpdateShowApplyStatus(in *artShow.UpdateApplyStatusReq) (err error) { // 更新画展包申请 状态 showApply := &model.ShowApply{ @@ -83,8 +83,8 @@ func UpdateShowApplyStatus(in *test.UpdateApplyStatusReq) (err error) { return } -func ShowApplyList(in *test.ApplyListReq) (err error, total int64, out []*test.ApplyDetail) { - out = make([]*test.ApplyDetail, 0) +func ShowApplyList(in *artShow.ApplyListReq) (err error, total int64, out []*artShow.ApplyDetail) { + out = make([]*artShow.ApplyDetail, 0) err, total, applyList := dao.ShowApplyList(in) if err != nil { return @@ -98,8 +98,8 @@ func ShowApplyList(in *test.ApplyListReq) (err error, total int64, out []*test.A return } -func ShowApplyDetail(applyID uint) (err error, out *test.ApplyShowRes) { - out = new(test.ApplyShowRes) +func ShowApplyDetail(applyID uint) (err error, out *artShow.ApplyShowRes) { + out = new(artShow.ApplyShowRes) err, showApply := dao.ShowApplyDetail(applyID) if err != nil { @@ -115,7 +115,7 @@ func ShowApplyDetail(applyID uint) (err error, out *test.ApplyShowRes) { return } -func DelApplyByApplyID(in *test.DelApplyReq) (err error) { +func DelApplyByApplyID(in *artShow.DelApplyReq) (err error) { tx, err := dao.DelShowApply(in) if err != nil { tx.Rollback() diff --git a/cmd/service/show_price.go b/cmd/service/show_price.go index 460edf9..a26e3aa 100644 --- a/cmd/service/show_price.go +++ b/cmd/service/show_price.go @@ -2,12 +2,12 @@ package service import ( "fonchain-artshow/cmd/dao" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/serializer" ) -func ArtworkPriceInfo(in *test.ArtworkPriceReq) (err error, artworkPriceRes *test.ArtworkPriceRes) { - err, artworkPrice := dao.QueryArtworkPrice(in.ArtworkID) +func ArtworkPriceInfo(in *artShow.ArtworkPriceReq) (err error, artworkPriceRes *artShow.ArtworkPriceRes) { + err, artworkPrice := dao.QueryArtworkPrice_artworkID(in.ArtworkID) if err != nil { return } diff --git a/go.mod b/go.mod index 15ea9aa..a88895e 100644 --- a/go.mod +++ b/go.mod @@ -96,6 +96,7 @@ require ( github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/mschoch/smat v0.2.0 // indirect + github.com/mwitkow/go-proto-validators v0.3.2 // indirect github.com/nacos-group/nacos-sdk-go v1.1.1 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pelletier/go-toml v1.7.0 // indirect diff --git a/go.sum b/go.sum index 00df543..d959fbc 100644 --- a/go.sum +++ b/go.sum @@ -118,6 +118,7 @@ github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghf github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chzyer/artShow v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -214,7 +215,8 @@ github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTg github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= -github.com/frankban/quicktest v1.10.0 h1:Gfh+GAJZOAoKZsIZeZbdn2JF10kN1XHNvjsvQK8gVkE= +github.com/frankban/quickartShow v1.10.0 h1:Gfh+GAJZOAoKZsIZeZbdn2JF10kN1XHNvjsvQK8gVkE= +github.com/frankban/quickartShow v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= @@ -227,6 +229,8 @@ github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.8.1 h1:4+fr/el88TOO3ewCmQr8cx/CtZ/umlIRIs5M4NTNjf8= github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk= +github.com/go-artShow/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-artShow/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-co-op/gocron v1.9.0 h1:+V+DDenw3ryB7B+tK1bAIC5p0ruw4oX9IqAsdRnGIf0= github.com/go-co-op/gocron v1.9.0/go.mod h1:DbJm9kdgr1sEvWpHCA7dFFs/PGHPMil9/97EXCRPr4k= @@ -278,6 +282,7 @@ github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFG github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= @@ -461,7 +466,8 @@ github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/ github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= +github.com/jmespath/go-jmespath/internal/artShowify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= +github.com/jmespath/go-jmespath/internal/artShowify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= @@ -542,6 +548,8 @@ github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceT github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= +github.com/mitchellh/go-artShowing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-artShowing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= @@ -571,6 +579,8 @@ github.com/mschoch/smat v0.2.0 h1:8imxQsjDm8yFEAVBe7azKmKSgzSkZXDuKkSq9374khM= github.com/mschoch/smat v0.2.0/go.mod h1:kc9mz7DoBKqDyiRL7VZN8KvXQMWeTaVnttLRXOlotKw= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-proto-validators v0.3.2 h1:qRlmpTzm2pstMKKzTdvwPCF5QfBNURSlAgN/R+qbKos= +github.com/mwitkow/go-proto-validators v0.3.2/go.mod h1:ej0Qp0qMgHN/KtDyUt+Q1/tA7a5VarXUOUxD+oeD30w= github.com/nacos-group/nacos-sdk-go v1.0.8/go.mod h1:hlAPn3UdzlxIlSILAyOXKxjFSvDJ9oLzTJ9hLAK1KzA= github.com/nacos-group/nacos-sdk-go v1.1.1 h1:beczWcOoTaVBMgCgikqvZflrN5Xbw7pWAWpxl+VJGIA= github.com/nacos-group/nacos-sdk-go v1.1.1/go.mod h1:UHOtQNQY/qpk2dhg6gDq8u5+/CEIc3+lWmrmxEzX0/g= @@ -733,6 +743,14 @@ github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5q github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/artShowify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/artShowify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/artShowify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/artShowify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/artShowify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/artShowify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/artShowify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= +github.com/stretchr/artShowify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -841,6 +859,7 @@ go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8= go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +goartShow.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/pb/artShow/artshow.pb.go b/pb/artShow/artshow.pb.go index 5523dd1..dff0062 100644 --- a/pb/artShow/artshow.pb.go +++ b/pb/artShow/artshow.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.21.1 -// source: pb/artist/artshow.proto +// protoc v3.21.4 +// source: pb/artshow.proto package artShow @@ -42,7 +42,7 @@ type SaveShowReq struct { func (x *SaveShowReq) Reset() { *x = SaveShowReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[0] + mi := &file_pb_artshow_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -55,7 +55,7 @@ func (x *SaveShowReq) String() string { func (*SaveShowReq) ProtoMessage() {} func (x *SaveShowReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[0] + mi := &file_pb_artshow_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -68,7 +68,7 @@ func (x *SaveShowReq) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveShowReq.ProtoReflect.Descriptor instead. func (*SaveShowReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{0} + return file_pb_artshow_proto_rawDescGZIP(), []int{0} } func (x *SaveShowReq) GetShowName() string { @@ -160,7 +160,7 @@ type SaveShowRes struct { func (x *SaveShowRes) Reset() { *x = SaveShowRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[1] + mi := &file_pb_artshow_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -173,7 +173,7 @@ func (x *SaveShowRes) String() string { func (*SaveShowRes) ProtoMessage() {} func (x *SaveShowRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[1] + mi := &file_pb_artshow_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -186,7 +186,7 @@ func (x *SaveShowRes) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveShowRes.ProtoReflect.Descriptor instead. func (*SaveShowRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{1} + return file_pb_artshow_proto_rawDescGZIP(), []int{1} } func (x *SaveShowRes) GetMsg() string { @@ -214,7 +214,7 @@ type CommonRes struct { func (x *CommonRes) Reset() { *x = CommonRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[2] + mi := &file_pb_artshow_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -227,7 +227,7 @@ func (x *CommonRes) String() string { func (*CommonRes) ProtoMessage() {} func (x *CommonRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[2] + mi := &file_pb_artshow_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -240,7 +240,7 @@ func (x *CommonRes) ProtoReflect() protoreflect.Message { // Deprecated: Use CommonRes.ProtoReflect.Descriptor instead. func (*CommonRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{2} + return file_pb_artshow_proto_rawDescGZIP(), []int{2} } func (x *CommonRes) GetMsg() string { @@ -262,7 +262,7 @@ type ShowDetailReq struct { func (x *ShowDetailReq) Reset() { *x = ShowDetailReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[3] + mi := &file_pb_artshow_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -275,7 +275,7 @@ func (x *ShowDetailReq) String() string { func (*ShowDetailReq) ProtoMessage() {} func (x *ShowDetailReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[3] + mi := &file_pb_artshow_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -288,7 +288,7 @@ func (x *ShowDetailReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowDetailReq.ProtoReflect.Descriptor instead. func (*ShowDetailReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{3} + return file_pb_artshow_proto_rawDescGZIP(), []int{3} } func (x *ShowDetailReq) GetShowID() int64 { @@ -319,7 +319,7 @@ type ShowDetail struct { func (x *ShowDetail) Reset() { *x = ShowDetail{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[4] + mi := &file_pb_artshow_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -332,7 +332,7 @@ func (x *ShowDetail) String() string { func (*ShowDetail) ProtoMessage() {} func (x *ShowDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[4] + mi := &file_pb_artshow_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -345,7 +345,7 @@ func (x *ShowDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowDetail.ProtoReflect.Descriptor instead. func (*ShowDetail) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{4} + return file_pb_artshow_proto_rawDescGZIP(), []int{4} } func (x *ShowDetail) GetID() int64 { @@ -437,7 +437,7 @@ type ShowArtworkDetailRes struct { func (x *ShowArtworkDetailRes) Reset() { *x = ShowArtworkDetailRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[5] + mi := &file_pb_artshow_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -450,7 +450,7 @@ func (x *ShowArtworkDetailRes) String() string { func (*ShowArtworkDetailRes) ProtoMessage() {} func (x *ShowArtworkDetailRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[5] + mi := &file_pb_artshow_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -463,7 +463,7 @@ func (x *ShowArtworkDetailRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowArtworkDetailRes.ProtoReflect.Descriptor instead. func (*ShowArtworkDetailRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{5} + return file_pb_artshow_proto_rawDescGZIP(), []int{5} } func (x *ShowArtworkDetailRes) GetData() []*ShowArtworkDetail { @@ -497,7 +497,7 @@ type ShowListReq struct { func (x *ShowListReq) Reset() { *x = ShowListReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[6] + mi := &file_pb_artshow_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -510,7 +510,7 @@ func (x *ShowListReq) String() string { func (*ShowListReq) ProtoMessage() {} func (x *ShowListReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[6] + mi := &file_pb_artshow_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -523,7 +523,7 @@ func (x *ShowListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowListReq.ProtoReflect.Descriptor instead. func (*ShowListReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{6} + return file_pb_artshow_proto_rawDescGZIP(), []int{6} } func (x *ShowListReq) GetPage() int32 { @@ -583,7 +583,7 @@ type ShowListRes struct { func (x *ShowListRes) Reset() { *x = ShowListRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[7] + mi := &file_pb_artshow_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -596,7 +596,7 @@ func (x *ShowListRes) String() string { func (*ShowListRes) ProtoMessage() {} func (x *ShowListRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[7] + mi := &file_pb_artshow_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -609,7 +609,7 @@ func (x *ShowListRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowListRes.ProtoReflect.Descriptor instead. func (*ShowListRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{7} + return file_pb_artshow_proto_rawDescGZIP(), []int{7} } func (x *ShowListRes) GetTotal() int64 { @@ -659,7 +659,7 @@ type DelShowReq struct { func (x *DelShowReq) Reset() { *x = DelShowReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[8] + mi := &file_pb_artshow_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -672,7 +672,7 @@ func (x *DelShowReq) String() string { func (*DelShowReq) ProtoMessage() {} func (x *DelShowReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[8] + mi := &file_pb_artshow_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -685,7 +685,7 @@ func (x *DelShowReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DelShowReq.ProtoReflect.Descriptor instead. func (*DelShowReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{8} + return file_pb_artshow_proto_rawDescGZIP(), []int{8} } func (x *DelShowReq) GetShowID() []int64 { @@ -713,7 +713,7 @@ type ShowArtworkDetail struct { func (x *ShowArtworkDetail) Reset() { *x = ShowArtworkDetail{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[9] + mi := &file_pb_artshow_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -726,7 +726,7 @@ func (x *ShowArtworkDetail) String() string { func (*ShowArtworkDetail) ProtoMessage() {} func (x *ShowArtworkDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[9] + mi := &file_pb_artshow_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -739,7 +739,7 @@ func (x *ShowArtworkDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowArtworkDetail.ProtoReflect.Descriptor instead. func (*ShowArtworkDetail) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{9} + return file_pb_artshow_proto_rawDescGZIP(), []int{9} } func (x *ShowArtworkDetail) GetID() int64 { @@ -803,7 +803,7 @@ type ShowStatisticalInfoReq struct { func (x *ShowStatisticalInfoReq) Reset() { *x = ShowStatisticalInfoReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[10] + mi := &file_pb_artshow_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -816,7 +816,7 @@ func (x *ShowStatisticalInfoReq) String() string { func (*ShowStatisticalInfoReq) ProtoMessage() {} func (x *ShowStatisticalInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[10] + mi := &file_pb_artshow_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -829,7 +829,7 @@ func (x *ShowStatisticalInfoReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowStatisticalInfoReq.ProtoReflect.Descriptor instead. func (*ShowStatisticalInfoReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{10} + return file_pb_artshow_proto_rawDescGZIP(), []int{10} } func (x *ShowStatisticalInfoReq) GetIsShow() int32 { @@ -851,7 +851,7 @@ type ShowStatisticalInfoRes struct { func (x *ShowStatisticalInfoRes) Reset() { *x = ShowStatisticalInfoRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[11] + mi := &file_pb_artshow_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -864,7 +864,7 @@ func (x *ShowStatisticalInfoRes) String() string { func (*ShowStatisticalInfoRes) ProtoMessage() {} func (x *ShowStatisticalInfoRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[11] + mi := &file_pb_artshow_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -877,7 +877,7 @@ func (x *ShowStatisticalInfoRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowStatisticalInfoRes.ProtoReflect.Descriptor instead. func (*ShowStatisticalInfoRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{11} + return file_pb_artshow_proto_rawDescGZIP(), []int{11} } func (x *ShowStatisticalInfoRes) GetData() *ShowStatisticalInfoRes_Num { @@ -905,7 +905,7 @@ type ArtworkPriceReq struct { func (x *ArtworkPriceReq) Reset() { *x = ArtworkPriceReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[12] + mi := &file_pb_artshow_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -918,7 +918,7 @@ func (x *ArtworkPriceReq) String() string { func (*ArtworkPriceReq) ProtoMessage() {} func (x *ArtworkPriceReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[12] + mi := &file_pb_artshow_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -931,7 +931,7 @@ func (x *ArtworkPriceReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ArtworkPriceReq.ProtoReflect.Descriptor instead. func (*ArtworkPriceReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{12} + return file_pb_artshow_proto_rawDescGZIP(), []int{12} } func (x *ArtworkPriceReq) GetArtworkID() int64 { @@ -953,7 +953,7 @@ type ArtworkPriceRes struct { func (x *ArtworkPriceRes) Reset() { *x = ArtworkPriceRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[13] + mi := &file_pb_artshow_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -966,7 +966,7 @@ func (x *ArtworkPriceRes) String() string { func (*ArtworkPriceRes) ProtoMessage() {} func (x *ArtworkPriceRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[13] + mi := &file_pb_artshow_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -979,7 +979,7 @@ func (x *ArtworkPriceRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ArtworkPriceRes.ProtoReflect.Descriptor instead. func (*ArtworkPriceRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{13} + return file_pb_artshow_proto_rawDescGZIP(), []int{13} } func (x *ArtworkPriceRes) GetData() *ArtworkPriceRes_PriceInfo { @@ -1011,7 +1011,7 @@ type ShowRel struct { func (x *ShowRel) Reset() { *x = ShowRel{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[14] + mi := &file_pb_artshow_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1024,7 +1024,7 @@ func (x *ShowRel) String() string { func (*ShowRel) ProtoMessage() {} func (x *ShowRel) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[14] + mi := &file_pb_artshow_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1037,7 +1037,7 @@ func (x *ShowRel) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowRel.ProtoReflect.Descriptor instead. func (*ShowRel) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{14} + return file_pb_artshow_proto_rawDescGZIP(), []int{14} } func (x *ShowRel) GetID() int64 { @@ -1093,7 +1093,7 @@ type SaveApplyReq struct { func (x *SaveApplyReq) Reset() { *x = SaveApplyReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[15] + mi := &file_pb_artshow_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1106,7 +1106,7 @@ func (x *SaveApplyReq) String() string { func (*SaveApplyReq) ProtoMessage() {} func (x *SaveApplyReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[15] + mi := &file_pb_artshow_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1119,7 +1119,7 @@ func (x *SaveApplyReq) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveApplyReq.ProtoReflect.Descriptor instead. func (*SaveApplyReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{15} + return file_pb_artshow_proto_rawDescGZIP(), []int{15} } func (x *SaveApplyReq) GetApplicant() string { @@ -1190,7 +1190,7 @@ type SaveApplyRes struct { func (x *SaveApplyRes) Reset() { *x = SaveApplyRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[16] + mi := &file_pb_artshow_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1203,7 +1203,7 @@ func (x *SaveApplyRes) String() string { func (*SaveApplyRes) ProtoMessage() {} func (x *SaveApplyRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[16] + mi := &file_pb_artshow_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1216,7 +1216,7 @@ func (x *SaveApplyRes) ProtoReflect() protoreflect.Message { // Deprecated: Use SaveApplyRes.ProtoReflect.Descriptor instead. func (*SaveApplyRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{16} + return file_pb_artshow_proto_rawDescGZIP(), []int{16} } func (x *SaveApplyRes) GetMsg() string { @@ -1240,12 +1240,13 @@ type ApplyListReq struct { Page int32 `protobuf:"varint,1,opt,name=Page,json=page,proto3" json:"Page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` + Status int32 `protobuf:"varint,3,opt,name=Status,json=status,proto3" json:"Status,omitempty"` } func (x *ApplyListReq) Reset() { *x = ApplyListReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[17] + mi := &file_pb_artshow_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1258,7 +1259,7 @@ func (x *ApplyListReq) String() string { func (*ApplyListReq) ProtoMessage() {} func (x *ApplyListReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[17] + mi := &file_pb_artshow_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1271,7 +1272,7 @@ func (x *ApplyListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyListReq.ProtoReflect.Descriptor instead. func (*ApplyListReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{17} + return file_pb_artshow_proto_rawDescGZIP(), []int{17} } func (x *ApplyListReq) GetPage() int32 { @@ -1288,6 +1289,13 @@ func (x *ApplyListReq) GetPageSize() int32 { return 0 } +func (x *ApplyListReq) GetStatus() int32 { + if x != nil { + return x.Status + } + return 0 +} + type ApplyListRes struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1301,7 +1309,7 @@ type ApplyListRes struct { func (x *ApplyListRes) Reset() { *x = ApplyListRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[18] + mi := &file_pb_artshow_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1314,7 +1322,7 @@ func (x *ApplyListRes) String() string { func (*ApplyListRes) ProtoMessage() {} func (x *ApplyListRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[18] + mi := &file_pb_artshow_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1327,7 +1335,7 @@ func (x *ApplyListRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyListRes.ProtoReflect.Descriptor instead. func (*ApplyListRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{18} + return file_pb_artshow_proto_rawDescGZIP(), []int{18} } func (x *ApplyListRes) GetTotal() int64 { @@ -1362,7 +1370,7 @@ type ApplyShowReq struct { func (x *ApplyShowReq) Reset() { *x = ApplyShowReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[19] + mi := &file_pb_artshow_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1375,7 +1383,7 @@ func (x *ApplyShowReq) String() string { func (*ApplyShowReq) ProtoMessage() {} func (x *ApplyShowReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[19] + mi := &file_pb_artshow_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1388,7 +1396,7 @@ func (x *ApplyShowReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyShowReq.ProtoReflect.Descriptor instead. func (*ApplyShowReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{19} + return file_pb_artshow_proto_rawDescGZIP(), []int{19} } func (x *ApplyShowReq) GetApplyID() int64 { @@ -1411,7 +1419,7 @@ type ApplyShowRes struct { func (x *ApplyShowRes) Reset() { *x = ApplyShowRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[20] + mi := &file_pb_artshow_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1424,7 +1432,7 @@ func (x *ApplyShowRes) String() string { func (*ApplyShowRes) ProtoMessage() {} func (x *ApplyShowRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[20] + mi := &file_pb_artshow_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1437,7 +1445,7 @@ func (x *ApplyShowRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyShowRes.ProtoReflect.Descriptor instead. func (*ApplyShowRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{20} + return file_pb_artshow_proto_rawDescGZIP(), []int{20} } func (x *ApplyShowRes) GetApply() *ApplyDetail { @@ -1479,7 +1487,7 @@ type ApplyDetail struct { func (x *ApplyDetail) Reset() { *x = ApplyDetail{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[21] + mi := &file_pb_artshow_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1492,7 +1500,7 @@ func (x *ApplyDetail) String() string { func (*ApplyDetail) ProtoMessage() {} func (x *ApplyDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[21] + mi := &file_pb_artshow_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1505,7 +1513,7 @@ func (x *ApplyDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyDetail.ProtoReflect.Descriptor instead. func (*ApplyDetail) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{21} + return file_pb_artshow_proto_rawDescGZIP(), []int{21} } func (x *ApplyDetail) GetID() int64 { @@ -1575,7 +1583,7 @@ type ShowRelListReq struct { func (x *ShowRelListReq) Reset() { *x = ShowRelListReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[22] + mi := &file_pb_artshow_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1588,7 +1596,7 @@ func (x *ShowRelListReq) String() string { func (*ShowRelListReq) ProtoMessage() {} func (x *ShowRelListReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[22] + mi := &file_pb_artshow_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1601,7 +1609,7 @@ func (x *ShowRelListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowRelListReq.ProtoReflect.Descriptor instead. func (*ShowRelListReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{22} + return file_pb_artshow_proto_rawDescGZIP(), []int{22} } func (x *ShowRelListReq) GetApplyID() int64 { @@ -1623,7 +1631,7 @@ type ShowRelListRes struct { func (x *ShowRelListRes) Reset() { *x = ShowRelListRes{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[23] + mi := &file_pb_artshow_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1636,7 +1644,7 @@ func (x *ShowRelListRes) String() string { func (*ShowRelListRes) ProtoMessage() {} func (x *ShowRelListRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[23] + mi := &file_pb_artshow_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1649,7 +1657,7 @@ func (x *ShowRelListRes) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowRelListRes.ProtoReflect.Descriptor instead. func (*ShowRelListRes) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{23} + return file_pb_artshow_proto_rawDescGZIP(), []int{23} } func (x *ShowRelListRes) GetMsg() string { @@ -1679,7 +1687,7 @@ type UpdateApplyStatusReq struct { func (x *UpdateApplyStatusReq) Reset() { *x = UpdateApplyStatusReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[24] + mi := &file_pb_artshow_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1692,7 +1700,7 @@ func (x *UpdateApplyStatusReq) String() string { func (*UpdateApplyStatusReq) ProtoMessage() {} func (x *UpdateApplyStatusReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[24] + mi := &file_pb_artshow_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1705,7 +1713,7 @@ func (x *UpdateApplyStatusReq) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateApplyStatusReq.ProtoReflect.Descriptor instead. func (*UpdateApplyStatusReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{24} + return file_pb_artshow_proto_rawDescGZIP(), []int{24} } func (x *UpdateApplyStatusReq) GetStatus() int32 { @@ -1740,7 +1748,7 @@ type DelApplyReq struct { func (x *DelApplyReq) Reset() { *x = DelApplyReq{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[25] + mi := &file_pb_artshow_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1753,7 +1761,7 @@ func (x *DelApplyReq) String() string { func (*DelApplyReq) ProtoMessage() {} func (x *DelApplyReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[25] + mi := &file_pb_artshow_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1766,7 +1774,7 @@ func (x *DelApplyReq) ProtoReflect() protoreflect.Message { // Deprecated: Use DelApplyReq.ProtoReflect.Descriptor instead. func (*DelApplyReq) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{25} + return file_pb_artshow_proto_rawDescGZIP(), []int{25} } func (x *DelApplyReq) GetApplyID() []int64 { @@ -1788,7 +1796,7 @@ type ShowStatisticalInfoRes_Num struct { func (x *ShowStatisticalInfoRes_Num) Reset() { *x = ShowStatisticalInfoRes_Num{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[26] + mi := &file_pb_artshow_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1801,7 +1809,7 @@ func (x *ShowStatisticalInfoRes_Num) String() string { func (*ShowStatisticalInfoRes_Num) ProtoMessage() {} func (x *ShowStatisticalInfoRes_Num) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[26] + mi := &file_pb_artshow_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1814,7 +1822,7 @@ func (x *ShowStatisticalInfoRes_Num) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowStatisticalInfoRes_Num.ProtoReflect.Descriptor instead. func (*ShowStatisticalInfoRes_Num) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{11, 0} + return file_pb_artshow_proto_rawDescGZIP(), []int{11, 0} } func (x *ShowStatisticalInfoRes_Num) GetArtistNum() int64 { @@ -1846,7 +1854,7 @@ type ArtworkPriceRes_PriceInfo struct { func (x *ArtworkPriceRes_PriceInfo) Reset() { *x = ArtworkPriceRes_PriceInfo{} if protoimpl.UnsafeEnabled { - mi := &file_pb_artist_artshow_proto_msgTypes[27] + mi := &file_pb_artshow_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1859,7 +1867,7 @@ func (x *ArtworkPriceRes_PriceInfo) String() string { func (*ArtworkPriceRes_PriceInfo) ProtoMessage() {} func (x *ArtworkPriceRes_PriceInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_artist_artshow_proto_msgTypes[27] + mi := &file_pb_artshow_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1872,7 +1880,7 @@ func (x *ArtworkPriceRes_PriceInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ArtworkPriceRes_PriceInfo.ProtoReflect.Descriptor instead. func (*ArtworkPriceRes_PriceInfo) Descriptor() ([]byte, []int) { - return file_pb_artist_artshow_proto_rawDescGZIP(), []int{13, 0} + return file_pb_artshow_proto_rawDescGZIP(), []int{13, 0} } func (x *ArtworkPriceRes_PriceInfo) GetPrice() int64 { @@ -1910,290 +1918,291 @@ func (x *ArtworkPriceRes_PriceInfo) GetCopyrightPrice() int64 { return 0 } -var File_pb_artist_artshow_proto protoreflect.FileDescriptor +var File_pb_artshow_proto protoreflect.FileDescriptor -var file_pb_artist_artshow_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x70, 0x62, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x2f, 0x61, 0x72, 0x74, 0x73, - 0x68, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x41, 0x72, 0x74, 0x53, 0x68, - 0x6f, 0x77, 0x22, 0xd2, 0x02, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, - 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1f, 0x0a, - 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x14, - 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, - 0x75, 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, - 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, - 0x72, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x08, 0x53, - 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x68, 0x6f, 0x77, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, - 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x65, 0x53, - 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, - 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, - 0x64, 0x22, 0x1d, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, - 0x22, 0x28, 0x0a, 0x0d, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x71, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x22, 0xad, 0x02, 0x0a, 0x0a, 0x53, - 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x53, 0x68, 0x6f, - 0x77, 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x73, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, - 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, - 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, - 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x22, 0x58, 0x0a, 0x14, 0x53, 0x68, - 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, - 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6d, 0x73, 0x67, 0x22, 0xae, 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, - 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, - 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x22, 0xb4, 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x0f, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, - 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x75, - 0x6d, 0x12, 0x27, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, - 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x25, 0x0a, 0x0a, - 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, - 0x6f, 0x77, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x69, 0x64, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, - 0x77, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, - 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x44, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, - 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x08, 0x53, - 0x6d, 0x61, 0x6c, 0x6c, 0x50, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x69, 0x63, 0x22, 0x31, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x77, - 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x22, 0xaa, 0x01, 0x0a, 0x16, - 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, - 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x73, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, +var file_pb_artshow_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x70, 0x62, 0x2f, 0x61, 0x72, 0x74, 0x73, 0x68, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x07, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xd2, 0x02, 0x0a, 0x0b, + 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x08, 0x53, + 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, + 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, + 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x49, + 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, + 0x73, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, + 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x38, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, + 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, + 0x67, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x09, 0x43, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x28, 0x0a, 0x0d, 0x53, 0x68, 0x6f, + 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, + 0x6f, 0x77, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, + 0x5f, 0x69, 0x64, 0x22, 0xad, 0x02, 0x0a, 0x0a, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x71, 0x12, 0x1b, 0x0a, + 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, + 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, + 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, + 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, + 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, + 0x08, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, + 0x53, 0x68, 0x6f, 0x77, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, + 0x68, 0x6f, 0x77, 0x22, 0x58, 0x0a, 0x14, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x53, + 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, + 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xae, 0x01, + 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, + 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, + 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d, + 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, + 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x22, 0xb4, + 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, + 0x12, 0x28, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, + 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x27, 0x0a, 0x04, 0x44, 0x61, + 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, + 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x25, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, + 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x22, 0xd2, 0x01, 0x0a, + 0x11, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x41, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, + 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, + 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x50, 0x69, 0x63, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x69, + 0x63, 0x22, 0x31, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x49, + 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, + 0x73, 0x68, 0x6f, 0x77, 0x22, 0xaa, 0x01, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, + 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x12, + 0x37, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x2e, 0x4e, + 0x75, 0x6d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x1a, 0x45, 0x0a, 0x03, 0x4e, 0x75, + 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, + 0x12, 0x1f, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, + 0x6d, 0x22, 0x30, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x5f, 0x69, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, + 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x2e, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, - 0x67, 0x1a, 0x45, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, - 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x1f, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x22, 0x30, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x09, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x0f, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, - 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x41, - 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x1a, 0xb3, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0a, - 0x52, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, - 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x69, - 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, - 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0e, 0x43, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, - 0x68, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, - 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x22, 0x7d, - 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, - 0x6c, 0x79, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, - 0x79, 0x5f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xe4, 0x01, - 0x0a, 0x0c, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1c, - 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0b, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, - 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, - 0x72, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, - 0x12, 0x22, 0x0a, 0x03, 0x52, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x52, - 0x03, 0x72, 0x65, 0x6c, 0x22, 0x3b, 0x0a, 0x0c, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, - 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, - 0x64, 0x22, 0x3f, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x22, 0x60, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6d, 0x73, 0x67, 0x22, 0x29, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, - 0x77, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, - 0x75, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, - 0x2a, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x53, - 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, - 0x73, 0x68, 0x6f, 0x77, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xdc, 0x01, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, - 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, - 0x73, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, - 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x49, 0x44, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, - 0x74, 0x5f, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x54, - 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x6c, 0x79, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, - 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, - 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0x2b, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, - 0x69, 0x64, 0x22, 0x48, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, - 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x61, 0x0a, 0x14, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, - 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, - 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, - 0x28, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x12, 0x19, - 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, - 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x32, 0x96, 0x07, 0x0a, 0x07, 0x41, 0x72, - 0x74, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x3a, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x68, 0x6f, 0x77, 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, - 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x22, - 0x00, 0x12, 0x3a, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x12, - 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, - 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, - 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x34, 0x0a, - 0x07, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, - 0x6f, 0x77, 0x2e, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, - 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x43, 0x0a, - 0x08, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x71, 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, - 0x22, 0x00, 0x12, 0x59, 0x0a, 0x13, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, - 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, - 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x41, 0x72, 0x74, + 0x67, 0x1a, 0xb3, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x72, + 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x61, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x27, + 0x0a, 0x0e, 0x43, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, + 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x52, + 0x65, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x12, 0x17, 0x0a, + 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, + 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0c, 0x53, 0x61, 0x76, 0x65, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, + 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x22, 0x0a, 0x03, 0x52, 0x65, 0x6c, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, + 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x52, 0x03, 0x72, 0x65, 0x6c, 0x22, 0x3b, 0x0a, + 0x0c, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, + 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, + 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, 0x57, 0x0a, 0x0c, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, + 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x22, 0x60, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x44, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, + 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x29, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, + 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, + 0x22, 0x75, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x12, 0x2a, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x04, + 0x53, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x72, 0x74, + 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, + 0x04, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xdc, 0x01, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, + 0x5f, 0x73, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x49, + 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x6c, + 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, + 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0x2b, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, + 0x5f, 0x69, 0x64, 0x22, 0x48, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, + 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x61, 0x0a, + 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, + 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, + 0x22, 0x28, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x12, + 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, + 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x32, 0x96, 0x07, 0x0a, 0x07, 0x41, + 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x3a, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x68, 0x6f, 0x77, 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, + 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, + 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x6f, 0x77, + 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, + 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, + 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x34, + 0x0a, 0x07, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, + 0x68, 0x6f, 0x77, 0x2e, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x12, + 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, + 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x43, + 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x41, 0x72, 0x74, + 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, + 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, + 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x73, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x13, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, + 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, - 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x44, 0x0a, - 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x18, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, - 0x77, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, + 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x41, 0x72, + 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, + 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x44, + 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x18, + 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, + 0x6f, 0x77, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, + 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, + 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, + 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, - 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, - 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, - 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x22, - 0x00, 0x12, 0x36, 0x0a, 0x08, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x11, 0x53, 0x68, 0x6f, - 0x77, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x14, - 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, - 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x11, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, - 0x1a, 0x12, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, - 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, - 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, - 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x61, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x22, 0x00, 0x12, 0x36, 0x0a, 0x08, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x14, + 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x11, 0x53, 0x68, + 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, + 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, + 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x48, 0x0a, + 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x71, 0x1a, 0x12, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, + 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, + 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, + 0x73, 0x22, 0x00, 0x42, 0x13, 0x5a, 0x11, 0x2e, 0x2f, 0x61, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, + 0x3b, 0x61, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_pb_artist_artshow_proto_rawDescOnce sync.Once - file_pb_artist_artshow_proto_rawDescData = file_pb_artist_artshow_proto_rawDesc + file_pb_artshow_proto_rawDescOnce sync.Once + file_pb_artshow_proto_rawDescData = file_pb_artshow_proto_rawDesc ) -func file_pb_artist_artshow_proto_rawDescGZIP() []byte { - file_pb_artist_artshow_proto_rawDescOnce.Do(func() { - file_pb_artist_artshow_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_artist_artshow_proto_rawDescData) +func file_pb_artshow_proto_rawDescGZIP() []byte { + file_pb_artshow_proto_rawDescOnce.Do(func() { + file_pb_artshow_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_artshow_proto_rawDescData) }) - return file_pb_artist_artshow_proto_rawDescData + return file_pb_artshow_proto_rawDescData } -var file_pb_artist_artshow_proto_msgTypes = make([]protoimpl.MessageInfo, 28) -var file_pb_artist_artshow_proto_goTypes = []interface{}{ +var file_pb_artshow_proto_msgTypes = make([]protoimpl.MessageInfo, 28) +var file_pb_artshow_proto_goTypes = []interface{}{ (*SaveShowReq)(nil), // 0: ArtShow.SaveShowReq (*SaveShowRes)(nil), // 1: ArtShow.SaveShowRes (*CommonRes)(nil), // 2: ArtShow.CommonRes @@ -2223,7 +2232,7 @@ var file_pb_artist_artshow_proto_goTypes = []interface{}{ (*ShowStatisticalInfoRes_Num)(nil), // 26: ArtShow.ShowStatisticalInfoRes.Num (*ArtworkPriceRes_PriceInfo)(nil), // 27: ArtShow.ArtworkPriceRes.PriceInfo } -var file_pb_artist_artshow_proto_depIdxs = []int32{ +var file_pb_artshow_proto_depIdxs = []int32{ 9, // 0: ArtShow.SaveShowReq.ShowArtwork:type_name -> ArtShow.ShowArtworkDetail 9, // 1: ArtShow.ShowArtworkDetailRes.data:type_name -> ArtShow.ShowArtworkDetail 4, // 2: ArtShow.ShowListRes.Data:type_name -> ArtShow.ShowDetail @@ -2269,13 +2278,13 @@ var file_pb_artist_artshow_proto_depIdxs = []int32{ 0, // [0:10] is the sub-list for field type_name } -func init() { file_pb_artist_artshow_proto_init() } -func file_pb_artist_artshow_proto_init() { - if File_pb_artist_artshow_proto != nil { +func init() { file_pb_artshow_proto_init() } +func file_pb_artshow_proto_init() { + if File_pb_artshow_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_pb_artist_artshow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveShowReq); i { case 0: return &v.state @@ -2287,7 +2296,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveShowRes); i { case 0: return &v.state @@ -2299,7 +2308,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommonRes); i { case 0: return &v.state @@ -2311,7 +2320,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowDetailReq); i { case 0: return &v.state @@ -2323,7 +2332,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowDetail); i { case 0: return &v.state @@ -2335,7 +2344,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowArtworkDetailRes); i { case 0: return &v.state @@ -2347,7 +2356,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowListReq); i { case 0: return &v.state @@ -2359,7 +2368,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowListRes); i { case 0: return &v.state @@ -2371,7 +2380,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelShowReq); i { case 0: return &v.state @@ -2383,7 +2392,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowArtworkDetail); i { case 0: return &v.state @@ -2395,7 +2404,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowStatisticalInfoReq); i { case 0: return &v.state @@ -2407,7 +2416,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowStatisticalInfoRes); i { case 0: return &v.state @@ -2419,7 +2428,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArtworkPriceReq); i { case 0: return &v.state @@ -2431,7 +2440,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArtworkPriceRes); i { case 0: return &v.state @@ -2443,7 +2452,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowRel); i { case 0: return &v.state @@ -2455,7 +2464,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveApplyReq); i { case 0: return &v.state @@ -2467,7 +2476,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SaveApplyRes); i { case 0: return &v.state @@ -2479,7 +2488,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyListReq); i { case 0: return &v.state @@ -2491,7 +2500,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyListRes); i { case 0: return &v.state @@ -2503,7 +2512,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyShowReq); i { case 0: return &v.state @@ -2515,7 +2524,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyShowRes); i { case 0: return &v.state @@ -2527,7 +2536,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyDetail); i { case 0: return &v.state @@ -2539,7 +2548,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowRelListReq); i { case 0: return &v.state @@ -2551,7 +2560,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowRelListRes); i { case 0: return &v.state @@ -2563,7 +2572,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateApplyStatusReq); i { case 0: return &v.state @@ -2575,7 +2584,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelApplyReq); i { case 0: return &v.state @@ -2587,7 +2596,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowStatisticalInfoRes_Num); i { case 0: return &v.state @@ -2599,7 +2608,7 @@ func file_pb_artist_artshow_proto_init() { return nil } } - file_pb_artist_artshow_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_pb_artshow_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArtworkPriceRes_PriceInfo); i { case 0: return &v.state @@ -2616,18 +2625,18 @@ func file_pb_artist_artshow_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_artist_artshow_proto_rawDesc, + RawDescriptor: file_pb_artshow_proto_rawDesc, NumEnums: 0, NumMessages: 28, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_pb_artist_artshow_proto_goTypes, - DependencyIndexes: file_pb_artist_artshow_proto_depIdxs, - MessageInfos: file_pb_artist_artshow_proto_msgTypes, + GoTypes: file_pb_artshow_proto_goTypes, + DependencyIndexes: file_pb_artshow_proto_depIdxs, + MessageInfos: file_pb_artshow_proto_msgTypes, }.Build() - File_pb_artist_artshow_proto = out.File - file_pb_artist_artshow_proto_rawDesc = nil - file_pb_artist_artshow_proto_goTypes = nil - file_pb_artist_artshow_proto_depIdxs = nil + File_pb_artshow_proto = out.File + file_pb_artshow_proto_rawDesc = nil + file_pb_artshow_proto_goTypes = nil + file_pb_artshow_proto_depIdxs = nil } diff --git a/pb/artShow/artshow.validator.pb.go b/pb/artShow/artshow.validator.pb.go index 324788b..1d098d3 100644 --- a/pb/artShow/artshow.validator.pb.go +++ b/pb/artShow/artshow.validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pb/artist/artshow.proto +// source: pb/artshow.proto package artShow diff --git a/pb/artShow/artshow_triple.pb.go b/pb/artShow/artshow_triple.pb.go index 92069eb..958edae 100644 --- a/pb/artShow/artshow_triple.pb.go +++ b/pb/artShow/artshow_triple.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-triple. DO NOT EDIT. // versions: // - protoc-gen-go-triple v1.0.8 -// - protoc v3.21.1 -// source: pb/artist/artshow.proto +// - protoc v3.21.4 +// source: pb/artshow.proto package artShow @@ -728,5 +728,5 @@ var ArtShow_ServiceDesc = grpc_go.ServiceDesc{ }, }, Streams: []grpc_go.StreamDesc{}, - Metadata: "pb/artist/artshow.proto", + Metadata: "pb/artshow.proto", } diff --git a/pb/artshow.proto b/pb/artshow.proto index 5e6add2..76706fb 100644 --- a/pb/artshow.proto +++ b/pb/artshow.proto @@ -167,6 +167,7 @@ message SaveApplyRes { message ApplyListReq { int32 Page = 1 [json_name = "page"]; int32 PageSize = 2 [json_name = "page_size"]; + int32 Status = 3 [json_name = "status"]; } message ApplyListRes { diff --git a/pb/test/artshow.pb.go b/pb/test/artshow.pb.go deleted file mode 100644 index 72aca65..0000000 --- a/pb/test/artshow.pb.go +++ /dev/null @@ -1,3185 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.10.1 -// source: pb/artshow.proto - -package test - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// 创建 更新画展包 -type SaveShowReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ShowName string `protobuf:"bytes,1,opt,name=ShowName,json=show_name,proto3" json:"ShowName,omitempty"` - ArtistName string `protobuf:"bytes,2,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` - ArtistID string `protobuf:"bytes,3,opt,name=ArtistID,json=artist_id,proto3" json:"ArtistID,omitempty"` - ArtworkNum int32 `protobuf:"varint,4,opt,name=ArtworkNum,json=artwork_num,proto3" json:"ArtworkNum,omitempty"` - Ruler int32 `protobuf:"varint,5,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` - Price int64 `protobuf:"varint,6,opt,name=Price,json=price,proto3" json:"Price,omitempty"` - Reward int64 `protobuf:"varint,7,opt,name=Reward,json=reward,proto3" json:"Reward,omitempty"` - IsShow int32 `protobuf:"varint,8,opt,name=IsShow,json=is_show,proto3" json:"IsShow,omitempty"` - ShowTime string `protobuf:"bytes,9,opt,name=ShowTime,json=show_time,proto3" json:"ShowTime,omitempty"` - ShowArtwork []*ShowArtworkDetail `protobuf:"bytes,10,rep,name=ShowArtwork,json=show_artwork,proto3" json:"ShowArtwork,omitempty"` - ID int64 `protobuf:"varint,11,opt,name=ID,json=id,proto3" json:"ID,omitempty"` -} - -func (x *SaveShowReq) Reset() { - *x = SaveShowReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SaveShowReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SaveShowReq) ProtoMessage() {} - -func (x *SaveShowReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SaveShowReq.ProtoReflect.Descriptor instead. -func (*SaveShowReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{0} -} - -func (x *SaveShowReq) GetShowName() string { - if x != nil { - return x.ShowName - } - return "" -} - -func (x *SaveShowReq) GetArtistName() string { - if x != nil { - return x.ArtistName - } - return "" -} - -func (x *SaveShowReq) GetArtistID() string { - if x != nil { - return x.ArtistID - } - return "" -} - -func (x *SaveShowReq) GetArtworkNum() int32 { - if x != nil { - return x.ArtworkNum - } - return 0 -} - -func (x *SaveShowReq) GetRuler() int32 { - if x != nil { - return x.Ruler - } - return 0 -} - -func (x *SaveShowReq) GetPrice() int64 { - if x != nil { - return x.Price - } - return 0 -} - -func (x *SaveShowReq) GetReward() int64 { - if x != nil { - return x.Reward - } - return 0 -} - -func (x *SaveShowReq) GetIsShow() int32 { - if x != nil { - return x.IsShow - } - return 0 -} - -func (x *SaveShowReq) GetShowTime() string { - if x != nil { - return x.ShowTime - } - return "" -} - -func (x *SaveShowReq) GetShowArtwork() []*ShowArtworkDetail { - if x != nil { - return x.ShowArtwork - } - return nil -} - -func (x *SaveShowReq) GetID() int64 { - if x != nil { - return x.ID - } - return 0 -} - -type SaveShowRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` - ShowID int64 `protobuf:"varint,2,opt,name=ShowID,json=show_id,proto3" json:"ShowID,omitempty"` -} - -func (x *SaveShowRes) Reset() { - *x = SaveShowRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SaveShowRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SaveShowRes) ProtoMessage() {} - -func (x *SaveShowRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SaveShowRes.ProtoReflect.Descriptor instead. -func (*SaveShowRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{1} -} - -func (x *SaveShowRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -func (x *SaveShowRes) GetShowID() int64 { - if x != nil { - return x.ShowID - } - return 0 -} - -type CommonRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *CommonRes) Reset() { - *x = CommonRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonRes) ProtoMessage() {} - -func (x *CommonRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonRes.ProtoReflect.Descriptor instead. -func (*CommonRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{2} -} - -func (x *CommonRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -// 画展包详情 -type ShowDetailReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ShowID int64 `protobuf:"varint,1,opt,name=ShowID,json=show_id,proto3" json:"ShowID,omitempty"` -} - -func (x *ShowDetailReq) Reset() { - *x = ShowDetailReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowDetailReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowDetailReq) ProtoMessage() {} - -func (x *ShowDetailReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowDetailReq.ProtoReflect.Descriptor instead. -func (*ShowDetailReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{3} -} - -func (x *ShowDetailReq) GetShowID() int64 { - if x != nil { - return x.ShowID - } - return 0 -} - -type ShowDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ShowSeq string `protobuf:"bytes,2,opt,name=ShowSeq,json=show_seq,proto3" json:"ShowSeq,omitempty"` - ShowName string `protobuf:"bytes,3,opt,name=ShowName,json=show_name,proto3" json:"ShowName,omitempty"` - ArtistName string `protobuf:"bytes,4,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` - ArtistID string `protobuf:"bytes,5,opt,name=ArtistID,json=artist_id,proto3" json:"ArtistID,omitempty"` - ArtworkNum int32 `protobuf:"varint,6,opt,name=ArtworkNum,json=artwork_num,proto3" json:"ArtworkNum,omitempty"` - Ruler int32 `protobuf:"varint,7,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` - Price int64 `protobuf:"varint,8,opt,name=Price,json=price,proto3" json:"Price,omitempty"` - Reward int64 `protobuf:"varint,9,opt,name=Reward,json=reward,proto3" json:"Reward,omitempty"` - ShowTime string `protobuf:"bytes,10,opt,name=ShowTime,json=show_time,proto3" json:"ShowTime,omitempty"` - IsShow int32 `protobuf:"varint,11,opt,name=IsShow,json=is_show,proto3" json:"IsShow,omitempty"` -} - -func (x *ShowDetail) Reset() { - *x = ShowDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowDetail) ProtoMessage() {} - -func (x *ShowDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowDetail.ProtoReflect.Descriptor instead. -func (*ShowDetail) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{4} -} - -func (x *ShowDetail) GetID() int64 { - if x != nil { - return x.ID - } - return 0 -} - -func (x *ShowDetail) GetShowSeq() string { - if x != nil { - return x.ShowSeq - } - return "" -} - -func (x *ShowDetail) GetShowName() string { - if x != nil { - return x.ShowName - } - return "" -} - -func (x *ShowDetail) GetArtistName() string { - if x != nil { - return x.ArtistName - } - return "" -} - -func (x *ShowDetail) GetArtistID() string { - if x != nil { - return x.ArtistID - } - return "" -} - -func (x *ShowDetail) GetArtworkNum() int32 { - if x != nil { - return x.ArtworkNum - } - return 0 -} - -func (x *ShowDetail) GetRuler() int32 { - if x != nil { - return x.Ruler - } - return 0 -} - -func (x *ShowDetail) GetPrice() int64 { - if x != nil { - return x.Price - } - return 0 -} - -func (x *ShowDetail) GetReward() int64 { - if x != nil { - return x.Reward - } - return 0 -} - -func (x *ShowDetail) GetShowTime() string { - if x != nil { - return x.ShowTime - } - return "" -} - -func (x *ShowDetail) GetIsShow() int32 { - if x != nil { - return x.IsShow - } - return 0 -} - -type ShowArtworkDetailRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data []*ShowArtworkDetail `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *ShowArtworkDetailRes) Reset() { - *x = ShowArtworkDetailRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowArtworkDetailRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowArtworkDetailRes) ProtoMessage() {} - -func (x *ShowArtworkDetailRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowArtworkDetailRes.ProtoReflect.Descriptor instead. -func (*ShowArtworkDetailRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{5} -} - -func (x *ShowArtworkDetailRes) GetData() []*ShowArtworkDetail { - if x != nil { - return x.Data - } - return nil -} - -func (x *ShowArtworkDetailRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -// 画展包列表 -type ShowListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page int32 `protobuf:"varint,1,opt,name=Page,json=page,proto3" json:"Page,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` - StartTime string `protobuf:"bytes,3,opt,name=StartTime,json=start_time,proto3" json:"StartTime,omitempty"` - EndTime string `protobuf:"bytes,4,opt,name=EndTime,json=end_time,proto3" json:"EndTime,omitempty"` - ArtistID string `protobuf:"bytes,5,opt,name=ArtistID,json=artist_id,proto3" json:"ArtistID,omitempty"` - IsShow int32 `protobuf:"varint,6,opt,name=IsShow,json=is_show,proto3" json:"IsShow,omitempty"` -} - -func (x *ShowListReq) Reset() { - *x = ShowListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowListReq) ProtoMessage() {} - -func (x *ShowListReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowListReq.ProtoReflect.Descriptor instead. -func (*ShowListReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{6} -} - -func (x *ShowListReq) GetPage() int32 { - if x != nil { - return x.Page - } - return 0 -} - -func (x *ShowListReq) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ShowListReq) GetStartTime() string { - if x != nil { - return x.StartTime - } - return "" -} - -func (x *ShowListReq) GetEndTime() string { - if x != nil { - return x.EndTime - } - return "" -} - -func (x *ShowListReq) GetArtistID() string { - if x != nil { - return x.ArtistID - } - return "" -} - -func (x *ShowListReq) GetIsShow() int32 { - if x != nil { - return x.IsShow - } - return 0 -} - -type ShowListRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total int64 `protobuf:"varint,1,opt,name=Total,json=total,proto3" json:"Total,omitempty"` - TotalPackageNum int64 `protobuf:"varint,2,opt,name=TotalPackageNum,json=total_package_num,proto3" json:"TotalPackageNum,omitempty"` - TotalArtistNum int64 `protobuf:"varint,3,opt,name=TotalArtistNum,json=total_artist_num,proto3" json:"TotalArtistNum,omitempty"` - Data []*ShowDetail `protobuf:"bytes,4,rep,name=Data,json=data,proto3" json:"Data,omitempty"` - Msg string `protobuf:"bytes,5,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *ShowListRes) Reset() { - *x = ShowListRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowListRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowListRes) ProtoMessage() {} - -func (x *ShowListRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowListRes.ProtoReflect.Descriptor instead. -func (*ShowListRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{7} -} - -func (x *ShowListRes) GetTotal() int64 { - if x != nil { - return x.Total - } - return 0 -} - -func (x *ShowListRes) GetTotalPackageNum() int64 { - if x != nil { - return x.TotalPackageNum - } - return 0 -} - -func (x *ShowListRes) GetTotalArtistNum() int64 { - if x != nil { - return x.TotalArtistNum - } - return 0 -} - -func (x *ShowListRes) GetData() []*ShowDetail { - if x != nil { - return x.Data - } - return nil -} - -func (x *ShowListRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -// 删除画展包 -type DelShowReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ShowID []int64 `protobuf:"varint,1,rep,packed,name=ShowID,json=show_id,proto3" json:"ShowID,omitempty"` -} - -func (x *DelShowReq) Reset() { - *x = DelShowReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelShowReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelShowReq) ProtoMessage() {} - -func (x *DelShowReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelShowReq.ProtoReflect.Descriptor instead. -func (*DelShowReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{8} -} - -func (x *DelShowReq) GetShowID() []int64 { - if x != nil { - return x.ShowID - } - return nil -} - -// 画展包中画作详情 除价格 -type ShowArtworkDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ShowID int64 `protobuf:"varint,2,opt,name=ShowID,json=show_id,proto3" json:"ShowID,omitempty"` - ArtworkID int64 `protobuf:"varint,3,opt,name=ArtworkID,json=artwork_id,proto3" json:"ArtworkID,omitempty"` - ArtworkName string `protobuf:"bytes,4,opt,name=ArtworkName,json=artwork_name,proto3" json:"ArtworkName,omitempty"` - ArtistName string `protobuf:"bytes,5,opt,name=ArtistName,json=artist_name,proto3" json:"ArtistName,omitempty"` - Ruler int32 `protobuf:"varint,6,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` - SmallPic string `protobuf:"bytes,7,opt,name=SmallPic,json=small_pic,proto3" json:"SmallPic,omitempty"` -} - -func (x *ShowArtworkDetail) Reset() { - *x = ShowArtworkDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowArtworkDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowArtworkDetail) ProtoMessage() {} - -func (x *ShowArtworkDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowArtworkDetail.ProtoReflect.Descriptor instead. -func (*ShowArtworkDetail) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{9} -} - -func (x *ShowArtworkDetail) GetID() int64 { - if x != nil { - return x.ID - } - return 0 -} - -func (x *ShowArtworkDetail) GetShowID() int64 { - if x != nil { - return x.ShowID - } - return 0 -} - -func (x *ShowArtworkDetail) GetArtworkID() int64 { - if x != nil { - return x.ArtworkID - } - return 0 -} - -func (x *ShowArtworkDetail) GetArtworkName() string { - if x != nil { - return x.ArtworkName - } - return "" -} - -func (x *ShowArtworkDetail) GetArtistName() string { - if x != nil { - return x.ArtistName - } - return "" -} - -func (x *ShowArtworkDetail) GetRuler() int32 { - if x != nil { - return x.Ruler - } - return 0 -} - -func (x *ShowArtworkDetail) GetSmallPic() string { - if x != nil { - return x.SmallPic - } - return "" -} - -// 画展包 画家 画作 统计数据 -type ShowStatisticalInfoReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsShow int32 `protobuf:"varint,1,opt,name=IsShow,json=is_show,proto3" json:"IsShow,omitempty"` -} - -func (x *ShowStatisticalInfoReq) Reset() { - *x = ShowStatisticalInfoReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowStatisticalInfoReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowStatisticalInfoReq) ProtoMessage() {} - -func (x *ShowStatisticalInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowStatisticalInfoReq.ProtoReflect.Descriptor instead. -func (*ShowStatisticalInfoReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{10} -} - -func (x *ShowStatisticalInfoReq) GetIsShow() int32 { - if x != nil { - return x.IsShow - } - return 0 -} - -type ShowStatisticalInfoRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data *ShowStatisticalInfoRes_Num `protobuf:"bytes,1,opt,name=Data,json=data,proto3" json:"Data,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *ShowStatisticalInfoRes) Reset() { - *x = ShowStatisticalInfoRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowStatisticalInfoRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowStatisticalInfoRes) ProtoMessage() {} - -func (x *ShowStatisticalInfoRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowStatisticalInfoRes.ProtoReflect.Descriptor instead. -func (*ShowStatisticalInfoRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{11} -} - -func (x *ShowStatisticalInfoRes) GetData() *ShowStatisticalInfoRes_Num { - if x != nil { - return x.Data - } - return nil -} - -func (x *ShowStatisticalInfoRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -type ArtworkPriceReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ArtworkID int64 `protobuf:"varint,1,opt,name=ArtworkID,json=artwork_id,proto3" json:"ArtworkID,omitempty"` -} - -func (x *ArtworkPriceReq) Reset() { - *x = ArtworkPriceReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArtworkPriceReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArtworkPriceReq) ProtoMessage() {} - -func (x *ArtworkPriceReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArtworkPriceReq.ProtoReflect.Descriptor instead. -func (*ArtworkPriceReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{12} -} - -func (x *ArtworkPriceReq) GetArtworkID() int64 { - if x != nil { - return x.ArtworkID - } - return 0 -} - -type ArtworkPriceRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data *ArtworkPriceRes_PriceInfo `protobuf:"bytes,1,opt,name=Data,json=data,proto3" json:"Data,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *ArtworkPriceRes) Reset() { - *x = ArtworkPriceRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArtworkPriceRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArtworkPriceRes) ProtoMessage() {} - -func (x *ArtworkPriceRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArtworkPriceRes.ProtoReflect.Descriptor instead. -func (*ArtworkPriceRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{13} -} - -func (x *ArtworkPriceRes) GetData() *ArtworkPriceRes_PriceInfo { - if x != nil { - return x.Data - } - return nil -} - -func (x *ArtworkPriceRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -type ShowRel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ApplyID int64 `protobuf:"varint,2,opt,name=ApplyID,json=apply_id,proto3" json:"ApplyID,omitempty"` - ShowID int64 `protobuf:"varint,3,opt,name=ShowID,json=show_id,proto3" json:"ShowID,omitempty"` - Index int32 `protobuf:"varint,4,opt,name=Index,json=index,proto3" json:"Index,omitempty"` - Address string `protobuf:"bytes,5,opt,name=Address,json=address,proto3" json:"Address,omitempty"` -} - -func (x *ShowRel) Reset() { - *x = ShowRel{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowRel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowRel) ProtoMessage() {} - -func (x *ShowRel) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowRel.ProtoReflect.Descriptor instead. -func (*ShowRel) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{14} -} - -func (x *ShowRel) GetID() int64 { - if x != nil { - return x.ID - } - return 0 -} - -func (x *ShowRel) GetApplyID() int64 { - if x != nil { - return x.ApplyID - } - return 0 -} - -func (x *ShowRel) GetShowID() int64 { - if x != nil { - return x.ShowID - } - return 0 -} - -func (x *ShowRel) GetIndex() int32 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *ShowRel) GetAddress() string { - if x != nil { - return x.Address - } - return "" -} - -type SaveApplyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Applicant string `protobuf:"bytes,1,opt,name=Applicant,json=applicant,proto3" json:"Applicant,omitempty"` - ApplicantID int64 `protobuf:"varint,2,opt,name=ApplicantID,json=applicant_id,proto3" json:"ApplicantID,omitempty"` - Num int32 `protobuf:"varint,3,opt,name=Num,json=num,proto3" json:"Num,omitempty"` - ApplyTime string `protobuf:"bytes,4,opt,name=ApplyTime,json=apply_time,proto3" json:"ApplyTime,omitempty"` - ID int64 `protobuf:"varint,5,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - Status int32 `protobuf:"varint,6,opt,name=Status,json=status,proto3" json:"Status,omitempty"` - Remark string `protobuf:"bytes,7,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Rel []*ShowRel `protobuf:"bytes,8,rep,name=Rel,json=rel,proto3" json:"Rel,omitempty"` -} - -func (x *SaveApplyReq) Reset() { - *x = SaveApplyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SaveApplyReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SaveApplyReq) ProtoMessage() {} - -func (x *SaveApplyReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SaveApplyReq.ProtoReflect.Descriptor instead. -func (*SaveApplyReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{15} -} - -func (x *SaveApplyReq) GetApplicant() string { - if x != nil { - return x.Applicant - } - return "" -} - -func (x *SaveApplyReq) GetApplicantID() int64 { - if x != nil { - return x.ApplicantID - } - return 0 -} - -func (x *SaveApplyReq) GetNum() int32 { - if x != nil { - return x.Num - } - return 0 -} - -func (x *SaveApplyReq) GetApplyTime() string { - if x != nil { - return x.ApplyTime - } - return "" -} - -func (x *SaveApplyReq) GetID() int64 { - if x != nil { - return x.ID - } - return 0 -} - -func (x *SaveApplyReq) GetStatus() int32 { - if x != nil { - return x.Status - } - return 0 -} - -func (x *SaveApplyReq) GetRemark() string { - if x != nil { - return x.Remark - } - return "" -} - -func (x *SaveApplyReq) GetRel() []*ShowRel { - if x != nil { - return x.Rel - } - return nil -} - -type SaveApplyRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` - ApplyID int64 `protobuf:"varint,2,opt,name=ApplyID,json=apply_id,proto3" json:"ApplyID,omitempty"` -} - -func (x *SaveApplyRes) Reset() { - *x = SaveApplyRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SaveApplyRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SaveApplyRes) ProtoMessage() {} - -func (x *SaveApplyRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SaveApplyRes.ProtoReflect.Descriptor instead. -func (*SaveApplyRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{16} -} - -func (x *SaveApplyRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -func (x *SaveApplyRes) GetApplyID() int64 { - if x != nil { - return x.ApplyID - } - return 0 -} - -type ApplyListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page int32 `protobuf:"varint,1,opt,name=Page,json=page,proto3" json:"Page,omitempty"` - PageSize int32 `protobuf:"varint,2,opt,name=PageSize,json=page_size,proto3" json:"PageSize,omitempty"` -} - -func (x *ApplyListReq) Reset() { - *x = ApplyListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyListReq) ProtoMessage() {} - -func (x *ApplyListReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyListReq.ProtoReflect.Descriptor instead. -func (*ApplyListReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{17} -} - -func (x *ApplyListReq) GetPage() int32 { - if x != nil { - return x.Page - } - return 0 -} - -func (x *ApplyListReq) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -type ApplyListRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total int64 `protobuf:"varint,1,opt,name=Total,json=total,proto3" json:"Total,omitempty"` - Data []*ApplyDetail `protobuf:"bytes,2,rep,name=Data,json=data,proto3" json:"Data,omitempty"` - Msg string `protobuf:"bytes,3,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *ApplyListRes) Reset() { - *x = ApplyListRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyListRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyListRes) ProtoMessage() {} - -func (x *ApplyListRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyListRes.ProtoReflect.Descriptor instead. -func (*ApplyListRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{18} -} - -func (x *ApplyListRes) GetTotal() int64 { - if x != nil { - return x.Total - } - return 0 -} - -func (x *ApplyListRes) GetData() []*ApplyDetail { - if x != nil { - return x.Data - } - return nil -} - -func (x *ApplyListRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -type ApplyShowReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ApplyID int64 `protobuf:"varint,1,opt,name=ApplyID,json=apply_id,proto3" json:"ApplyID,omitempty"` -} - -func (x *ApplyShowReq) Reset() { - *x = ApplyShowReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyShowReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyShowReq) ProtoMessage() {} - -func (x *ApplyShowReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyShowReq.ProtoReflect.Descriptor instead. -func (*ApplyShowReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{19} -} - -func (x *ApplyShowReq) GetApplyID() int64 { - if x != nil { - return x.ApplyID - } - return 0 -} - -type ApplyShowRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Apply *ApplyDetail `protobuf:"bytes,1,opt,name=Apply,json=apply,proto3" json:"Apply,omitempty"` - Show []*ShowDetail `protobuf:"bytes,2,rep,name=Show,json=show,proto3" json:"Show,omitempty"` - Msg string `protobuf:"bytes,3,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` -} - -func (x *ApplyShowRes) Reset() { - *x = ApplyShowRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyShowRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyShowRes) ProtoMessage() {} - -func (x *ApplyShowRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyShowRes.ProtoReflect.Descriptor instead. -func (*ApplyShowRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{20} -} - -func (x *ApplyShowRes) GetApply() *ApplyDetail { - if x != nil { - return x.Apply - } - return nil -} - -func (x *ApplyShowRes) GetShow() []*ShowDetail { - if x != nil { - return x.Show - } - return nil -} - -func (x *ApplyShowRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -type ApplyDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ApplySeq string `protobuf:"bytes,2,opt,name=ApplySeq,json=apply_seq,proto3" json:"ApplySeq,omitempty"` - Applicant string `protobuf:"bytes,3,opt,name=Applicant,json=applicant,proto3" json:"Applicant,omitempty"` - ApplicantID int64 `protobuf:"varint,4,opt,name=ApplicantID,json=applicant_id,proto3" json:"ApplicantID,omitempty"` - Num int32 `protobuf:"varint,5,opt,name=Num,json=num,proto3" json:"Num,omitempty"` - ApplyTime string `protobuf:"bytes,6,opt,name=ApplyTime,json=apply_time,proto3" json:"ApplyTime,omitempty"` - Status int32 `protobuf:"varint,7,opt,name=Status,json=status,proto3" json:"Status,omitempty"` - Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` -} - -func (x *ApplyDetail) Reset() { - *x = ApplyDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyDetail) ProtoMessage() {} - -func (x *ApplyDetail) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyDetail.ProtoReflect.Descriptor instead. -func (*ApplyDetail) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{21} -} - -func (x *ApplyDetail) GetID() int64 { - if x != nil { - return x.ID - } - return 0 -} - -func (x *ApplyDetail) GetApplySeq() string { - if x != nil { - return x.ApplySeq - } - return "" -} - -func (x *ApplyDetail) GetApplicant() string { - if x != nil { - return x.Applicant - } - return "" -} - -func (x *ApplyDetail) GetApplicantID() int64 { - if x != nil { - return x.ApplicantID - } - return 0 -} - -func (x *ApplyDetail) GetNum() int32 { - if x != nil { - return x.Num - } - return 0 -} - -func (x *ApplyDetail) GetApplyTime() string { - if x != nil { - return x.ApplyTime - } - return "" -} - -func (x *ApplyDetail) GetStatus() int32 { - if x != nil { - return x.Status - } - return 0 -} - -func (x *ApplyDetail) GetRemark() string { - if x != nil { - return x.Remark - } - return "" -} - -type ShowRelListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ApplyID int64 `protobuf:"varint,1,opt,name=ApplyID,json=apply_id,proto3" json:"ApplyID,omitempty"` -} - -func (x *ShowRelListReq) Reset() { - *x = ShowRelListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowRelListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowRelListReq) ProtoMessage() {} - -func (x *ShowRelListReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowRelListReq.ProtoReflect.Descriptor instead. -func (*ShowRelListReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{22} -} - -func (x *ShowRelListReq) GetApplyID() int64 { - if x != nil { - return x.ApplyID - } - return 0 -} - -type ShowRelListRes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg string `protobuf:"bytes,1,opt,name=Msg,json=msg,proto3" json:"Msg,omitempty"` - Data []*ShowRel `protobuf:"bytes,2,rep,name=Data,json=data,proto3" json:"Data,omitempty"` -} - -func (x *ShowRelListRes) Reset() { - *x = ShowRelListRes{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowRelListRes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowRelListRes) ProtoMessage() {} - -func (x *ShowRelListRes) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowRelListRes.ProtoReflect.Descriptor instead. -func (*ShowRelListRes) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{23} -} - -func (x *ShowRelListRes) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -func (x *ShowRelListRes) GetData() []*ShowRel { - if x != nil { - return x.Data - } - return nil -} - -type UpdateApplyStatusReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status int32 `protobuf:"varint,1,opt,name=Status,json=status,proto3" json:"Status,omitempty"` - Remark string `protobuf:"bytes,2,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - ApplyID int64 `protobuf:"varint,3,opt,name=ApplyID,json=apply_id,proto3" json:"ApplyID,omitempty"` -} - -func (x *UpdateApplyStatusReq) Reset() { - *x = UpdateApplyStatusReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateApplyStatusReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateApplyStatusReq) ProtoMessage() {} - -func (x *UpdateApplyStatusReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateApplyStatusReq.ProtoReflect.Descriptor instead. -func (*UpdateApplyStatusReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{24} -} - -func (x *UpdateApplyStatusReq) GetStatus() int32 { - if x != nil { - return x.Status - } - return 0 -} - -func (x *UpdateApplyStatusReq) GetRemark() string { - if x != nil { - return x.Remark - } - return "" -} - -func (x *UpdateApplyStatusReq) GetApplyID() int64 { - if x != nil { - return x.ApplyID - } - return 0 -} - -type DelApplyReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ApplyID []int64 `protobuf:"varint,1,rep,packed,name=ApplyID,json=apply_id,proto3" json:"ApplyID,omitempty"` -} - -func (x *DelApplyReq) Reset() { - *x = DelApplyReq{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelApplyReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelApplyReq) ProtoMessage() {} - -func (x *DelApplyReq) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelApplyReq.ProtoReflect.Descriptor instead. -func (*DelApplyReq) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{25} -} - -func (x *DelApplyReq) GetApplyID() []int64 { - if x != nil { - return x.ApplyID - } - return nil -} - -type ShowStatisticalInfoRes_Num struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ArtistNum int64 `protobuf:"varint,1,opt,name=ArtistNum,json=artist_num,proto3" json:"ArtistNum,omitempty"` - PackageNum int64 `protobuf:"varint,2,opt,name=PackageNum,json=package_num,proto3" json:"PackageNum,omitempty"` -} - -func (x *ShowStatisticalInfoRes_Num) Reset() { - *x = ShowStatisticalInfoRes_Num{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowStatisticalInfoRes_Num) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowStatisticalInfoRes_Num) ProtoMessage() {} - -func (x *ShowStatisticalInfoRes_Num) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShowStatisticalInfoRes_Num.ProtoReflect.Descriptor instead. -func (*ShowStatisticalInfoRes_Num) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *ShowStatisticalInfoRes_Num) GetArtistNum() int64 { - if x != nil { - return x.ArtistNum - } - return 0 -} - -func (x *ShowStatisticalInfoRes_Num) GetPackageNum() int64 { - if x != nil { - return x.PackageNum - } - return 0 -} - -type ArtworkPriceRes_PriceInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Price int64 `protobuf:"varint,1,opt,name=Price,json=price,proto3" json:"Price,omitempty"` - RulerPrice int64 `protobuf:"varint,2,opt,name=RulerPrice,json=ruler_price,proto3" json:"RulerPrice,omitempty"` - ArtworkPrice int64 `protobuf:"varint,3,opt,name=ArtworkPrice,json=artwork_price,proto3" json:"ArtworkPrice,omitempty"` - MarketPrice int64 `protobuf:"varint,4,opt,name=MarketPrice,json=market_price,proto3" json:"MarketPrice,omitempty"` - CopyrightPrice int64 `protobuf:"varint,5,opt,name=CopyrightPrice,json=copyright_price,proto3" json:"CopyrightPrice,omitempty"` -} - -func (x *ArtworkPriceRes_PriceInfo) Reset() { - *x = ArtworkPriceRes_PriceInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artshow_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArtworkPriceRes_PriceInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArtworkPriceRes_PriceInfo) ProtoMessage() {} - -func (x *ArtworkPriceRes_PriceInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_artshow_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArtworkPriceRes_PriceInfo.ProtoReflect.Descriptor instead. -func (*ArtworkPriceRes_PriceInfo) Descriptor() ([]byte, []int) { - return file_pb_artshow_proto_rawDescGZIP(), []int{13, 0} -} - -func (x *ArtworkPriceRes_PriceInfo) GetPrice() int64 { - if x != nil { - return x.Price - } - return 0 -} - -func (x *ArtworkPriceRes_PriceInfo) GetRulerPrice() int64 { - if x != nil { - return x.RulerPrice - } - return 0 -} - -func (x *ArtworkPriceRes_PriceInfo) GetArtworkPrice() int64 { - if x != nil { - return x.ArtworkPrice - } - return 0 -} - -func (x *ArtworkPriceRes_PriceInfo) GetMarketPrice() int64 { - if x != nil { - return x.MarketPrice - } - return 0 -} - -func (x *ArtworkPriceRes_PriceInfo) GetCopyrightPrice() int64 { - if x != nil { - return x.CopyrightPrice - } - return 0 -} - -var File_pb_artshow_proto protoreflect.FileDescriptor - -var file_pb_artshow_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x70, 0x62, 0x2f, 0x61, 0x72, 0x74, 0x73, 0x68, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x07, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xd2, 0x02, 0x0a, 0x0b, - 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x08, 0x53, - 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, - 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, - 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, - 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, - 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x49, - 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, - 0x73, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x38, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, - 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, - 0x67, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x09, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x28, 0x0a, 0x0d, 0x53, 0x68, 0x6f, - 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, - 0x6f, 0x77, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x69, 0x64, 0x22, 0xad, 0x02, 0x0a, 0x0a, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x71, 0x12, 0x1b, 0x0a, - 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, - 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, - 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, - 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x72, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, - 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, - 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, - 0x08, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, - 0x53, 0x68, 0x6f, 0x77, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, - 0x68, 0x6f, 0x77, 0x22, 0x58, 0x0a, 0x14, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, - 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xae, 0x01, - 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, - 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d, - 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, - 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x22, 0xb4, - 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x12, 0x14, - 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x0f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, - 0x12, 0x28, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, - 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, - 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x12, 0x27, 0x0a, 0x04, 0x44, 0x61, - 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, - 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x25, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, 0x77, - 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x22, 0xd2, 0x01, 0x0a, - 0x11, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x72, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, - 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, - 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x08, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x50, 0x69, 0x63, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x69, - 0x63, 0x22, 0x31, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, - 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x06, 0x49, - 0x73, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x5f, - 0x73, 0x68, 0x6f, 0x77, 0x22, 0xaa, 0x01, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, - 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x12, - 0x37, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, - 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x2e, 0x4e, - 0x75, 0x6d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x1a, 0x45, 0x0a, 0x03, 0x4e, 0x75, - 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, - 0x12, 0x1f, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, - 0x6d, 0x22, 0x30, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x5f, 0x69, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x2e, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, - 0x67, 0x1a, 0xb3, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x72, - 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x72, - 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x61, 0x72, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x27, - 0x0a, 0x0e, 0x43, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, - 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x52, - 0x65, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x12, 0x17, 0x0a, - 0x06, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, - 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0c, 0x53, 0x61, 0x76, 0x65, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, - 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x22, 0x0a, 0x03, 0x52, 0x65, 0x6c, - 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x52, 0x03, 0x72, 0x65, 0x6c, 0x22, 0x3b, 0x0a, - 0x0c, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, - 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, - 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, 0x3f, 0x0a, 0x0c, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, - 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, - 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x60, 0x0a, 0x0c, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x12, 0x28, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, - 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x29, 0x0a, - 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, - 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, 0x75, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, - 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x61, - 0x70, 0x70, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x53, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, - 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x10, 0x0a, - 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, - 0xdc, 0x01, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, - 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x1b, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x73, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x41, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x10, 0x0a, - 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, - 0x1d, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0x2b, - 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, - 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, 0x48, 0x0a, 0x0e, 0x53, - 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, - 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, - 0x24, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x61, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, - 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x19, 0x0a, - 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x22, 0x28, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, - 0x69, 0x64, 0x32, 0x96, 0x07, 0x0a, 0x07, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x3a, - 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x14, 0x2e, 0x41, - 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, - 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, - 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0a, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, - 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x14, - 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x68, 0x6f, - 0x77, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x07, 0x44, 0x65, 0x6c, 0x53, 0x68, 0x6f, - 0x77, 0x12, 0x13, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x44, 0x65, 0x6c, 0x53, - 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x08, - 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, - 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x14, - 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x08, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, - 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, - 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x13, 0x53, - 0x68, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, - 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, - 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x18, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x1a, 0x18, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x15, 0x2e, 0x41, 0x72, - 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, - 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, - 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x15, 0x2e, 0x41, 0x72, 0x74, - 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, - 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x61, 0x76, 0x65, - 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x36, 0x0a, 0x08, 0x44, 0x65, - 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x2e, 0x44, 0x65, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x41, - 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x22, 0x00, 0x12, 0x41, 0x0a, 0x11, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, - 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, - 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x2e, 0x41, 0x72, 0x74, - 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x41, 0x72, 0x74, 0x53, - 0x68, 0x6f, 0x77, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, - 0x3b, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x41, - 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, - 0x41, 0x70, 0x70, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x15, 0x2e, 0x41, 0x72, - 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, - 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x41, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, - 0x6c, 0x79, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x22, 0x00, 0x42, 0x13, 0x5a, 0x11, 0x2e, - 0x2f, 0x61, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x3b, 0x61, 0x72, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_pb_artshow_proto_rawDescOnce sync.Once - file_pb_artshow_proto_rawDescData = file_pb_artshow_proto_rawDesc -) - -func file_pb_artshow_proto_rawDescGZIP() []byte { - file_pb_artshow_proto_rawDescOnce.Do(func() { - file_pb_artshow_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_artshow_proto_rawDescData) - }) - return file_pb_artshow_proto_rawDescData -} - -var file_pb_artshow_proto_msgTypes = make([]protoimpl.MessageInfo, 28) -var file_pb_artshow_proto_goTypes = []interface{}{ - (*SaveShowReq)(nil), // 0: ArtShow.SaveShowReq - (*SaveShowRes)(nil), // 1: ArtShow.SaveShowRes - (*CommonRes)(nil), // 2: ArtShow.CommonRes - (*ShowDetailReq)(nil), // 3: ArtShow.ShowDetailReq - (*ShowDetail)(nil), // 4: ArtShow.ShowDetail - (*ShowArtworkDetailRes)(nil), // 5: ArtShow.ShowArtworkDetailRes - (*ShowListReq)(nil), // 6: ArtShow.ShowListReq - (*ShowListRes)(nil), // 7: ArtShow.ShowListRes - (*DelShowReq)(nil), // 8: ArtShow.DelShowReq - (*ShowArtworkDetail)(nil), // 9: ArtShow.ShowArtworkDetail - (*ShowStatisticalInfoReq)(nil), // 10: ArtShow.ShowStatisticalInfoReq - (*ShowStatisticalInfoRes)(nil), // 11: ArtShow.ShowStatisticalInfoRes - (*ArtworkPriceReq)(nil), // 12: ArtShow.ArtworkPriceReq - (*ArtworkPriceRes)(nil), // 13: ArtShow.ArtworkPriceRes - (*ShowRel)(nil), // 14: ArtShow.ShowRel - (*SaveApplyReq)(nil), // 15: ArtShow.SaveApplyReq - (*SaveApplyRes)(nil), // 16: ArtShow.SaveApplyRes - (*ApplyListReq)(nil), // 17: ArtShow.ApplyListReq - (*ApplyListRes)(nil), // 18: ArtShow.ApplyListRes - (*ApplyShowReq)(nil), // 19: ArtShow.ApplyShowReq - (*ApplyShowRes)(nil), // 20: ArtShow.ApplyShowRes - (*ApplyDetail)(nil), // 21: ArtShow.ApplyDetail - (*ShowRelListReq)(nil), // 22: ArtShow.ShowRelListReq - (*ShowRelListRes)(nil), // 23: ArtShow.ShowRelListRes - (*UpdateApplyStatusReq)(nil), // 24: ArtShow.UpdateApplyStatusReq - (*DelApplyReq)(nil), // 25: ArtShow.DelApplyReq - (*ShowStatisticalInfoRes_Num)(nil), // 26: ArtShow.ShowStatisticalInfoRes.Num - (*ArtworkPriceRes_PriceInfo)(nil), // 27: ArtShow.ArtworkPriceRes.PriceInfo -} -var file_pb_artshow_proto_depIdxs = []int32{ - 9, // 0: ArtShow.SaveShowReq.ShowArtwork:type_name -> ArtShow.ShowArtworkDetail - 9, // 1: ArtShow.ShowArtworkDetailRes.data:type_name -> ArtShow.ShowArtworkDetail - 4, // 2: ArtShow.ShowListRes.Data:type_name -> ArtShow.ShowDetail - 26, // 3: ArtShow.ShowStatisticalInfoRes.Data:type_name -> ArtShow.ShowStatisticalInfoRes.Num - 27, // 4: ArtShow.ArtworkPriceRes.Data:type_name -> ArtShow.ArtworkPriceRes.PriceInfo - 14, // 5: ArtShow.SaveApplyReq.Rel:type_name -> ArtShow.ShowRel - 21, // 6: ArtShow.ApplyListRes.Data:type_name -> ArtShow.ApplyDetail - 21, // 7: ArtShow.ApplyShowRes.Apply:type_name -> ArtShow.ApplyDetail - 4, // 8: ArtShow.ApplyShowRes.Show:type_name -> ArtShow.ShowDetail - 14, // 9: ArtShow.ShowRelListRes.Data:type_name -> ArtShow.ShowRel - 0, // 10: ArtShow.ArtShow.CreateShow:input_type -> ArtShow.SaveShowReq - 0, // 11: ArtShow.ArtShow.UpdateShow:input_type -> ArtShow.SaveShowReq - 8, // 12: ArtShow.ArtShow.DelShow:input_type -> ArtShow.DelShowReq - 6, // 13: ArtShow.ArtShow.ShowList:input_type -> ArtShow.ShowListReq - 3, // 14: ArtShow.ArtShow.ShowInfo:input_type -> ArtShow.ShowDetailReq - 10, // 15: ArtShow.ArtShow.ShowStatisticalInfo:input_type -> ArtShow.ShowStatisticalInfoReq - 12, // 16: ArtShow.ArtShow.ArtworkPrice:input_type -> ArtShow.ArtworkPriceReq - 15, // 17: ArtShow.ArtShow.CreateApply:input_type -> ArtShow.SaveApplyReq - 15, // 18: ArtShow.ArtShow.UpdateApply:input_type -> ArtShow.SaveApplyReq - 25, // 19: ArtShow.ArtShow.DelApply:input_type -> ArtShow.DelApplyReq - 6, // 20: ArtShow.ArtShow.ShowListWithApply:input_type -> ArtShow.ShowListReq - 24, // 21: ArtShow.ArtShow.UpdateApplyStatus:input_type -> ArtShow.UpdateApplyStatusReq - 17, // 22: ArtShow.ArtShow.ApplyList:input_type -> ArtShow.ApplyListReq - 19, // 23: ArtShow.ArtShow.ApplyDetail:input_type -> ArtShow.ApplyShowReq - 1, // 24: ArtShow.ArtShow.CreateShow:output_type -> ArtShow.SaveShowRes - 1, // 25: ArtShow.ArtShow.UpdateShow:output_type -> ArtShow.SaveShowRes - 2, // 26: ArtShow.ArtShow.DelShow:output_type -> ArtShow.CommonRes - 7, // 27: ArtShow.ArtShow.ShowList:output_type -> ArtShow.ShowListRes - 5, // 28: ArtShow.ArtShow.ShowInfo:output_type -> ArtShow.ShowArtworkDetailRes - 11, // 29: ArtShow.ArtShow.ShowStatisticalInfo:output_type -> ArtShow.ShowStatisticalInfoRes - 13, // 30: ArtShow.ArtShow.ArtworkPrice:output_type -> ArtShow.ArtworkPriceRes - 16, // 31: ArtShow.ArtShow.CreateApply:output_type -> ArtShow.SaveApplyRes - 16, // 32: ArtShow.ArtShow.UpdateApply:output_type -> ArtShow.SaveApplyRes - 2, // 33: ArtShow.ArtShow.DelApply:output_type -> ArtShow.CommonRes - 7, // 34: ArtShow.ArtShow.ShowListWithApply:output_type -> ArtShow.ShowListRes - 2, // 35: ArtShow.ArtShow.UpdateApplyStatus:output_type -> ArtShow.CommonRes - 18, // 36: ArtShow.ArtShow.ApplyList:output_type -> ArtShow.ApplyListRes - 20, // 37: ArtShow.ArtShow.ApplyDetail:output_type -> ArtShow.ApplyShowRes - 24, // [24:38] is the sub-list for method output_type - 10, // [10:24] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_pb_artshow_proto_init() } -func file_pb_artshow_proto_init() { - if File_pb_artshow_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pb_artshow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SaveShowReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SaveShowRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowDetailReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowArtworkDetailRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowListRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelShowReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowArtworkDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowStatisticalInfoReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowStatisticalInfoRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtworkPriceReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtworkPriceRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowRel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SaveApplyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SaveApplyRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyListRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyShowReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyShowRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowRelListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowRelListRes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateApplyStatusReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelApplyReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowStatisticalInfoRes_Num); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pb_artshow_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtworkPriceRes_PriceInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pb_artshow_proto_rawDesc, - NumEnums: 0, - NumMessages: 28, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_pb_artshow_proto_goTypes, - DependencyIndexes: file_pb_artshow_proto_depIdxs, - MessageInfos: file_pb_artshow_proto_msgTypes, - }.Build() - File_pb_artshow_proto = out.File - file_pb_artshow_proto_rawDesc = nil - file_pb_artshow_proto_goTypes = nil - file_pb_artshow_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// ArtShowClient is the client API for ArtShow service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ArtShowClient interface { - CreateShow(ctx context.Context, in *SaveShowReq, opts ...grpc.CallOption) (*SaveShowRes, error) - UpdateShow(ctx context.Context, in *SaveShowReq, opts ...grpc.CallOption) (*SaveShowRes, error) - DelShow(ctx context.Context, in *DelShowReq, opts ...grpc.CallOption) (*CommonRes, error) - ShowList(ctx context.Context, in *ShowListReq, opts ...grpc.CallOption) (*ShowListRes, error) - ShowInfo(ctx context.Context, in *ShowDetailReq, opts ...grpc.CallOption) (*ShowArtworkDetailRes, error) - ShowStatisticalInfo(ctx context.Context, in *ShowStatisticalInfoReq, opts ...grpc.CallOption) (*ShowStatisticalInfoRes, error) - ArtworkPrice(ctx context.Context, in *ArtworkPriceReq, opts ...grpc.CallOption) (*ArtworkPriceRes, error) - CreateApply(ctx context.Context, in *SaveApplyReq, opts ...grpc.CallOption) (*SaveApplyRes, error) - UpdateApply(ctx context.Context, in *SaveApplyReq, opts ...grpc.CallOption) (*SaveApplyRes, error) - DelApply(ctx context.Context, in *DelApplyReq, opts ...grpc.CallOption) (*CommonRes, error) - ShowListWithApply(ctx context.Context, in *ShowListReq, opts ...grpc.CallOption) (*ShowListRes, error) - UpdateApplyStatus(ctx context.Context, in *UpdateApplyStatusReq, opts ...grpc.CallOption) (*CommonRes, error) - ApplyList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListRes, error) - ApplyDetail(ctx context.Context, in *ApplyShowReq, opts ...grpc.CallOption) (*ApplyShowRes, error) -} - -type artShowClient struct { - cc grpc.ClientConnInterface -} - -func NewArtShowClient(cc grpc.ClientConnInterface) ArtShowClient { - return &artShowClient{cc} -} - -func (c *artShowClient) CreateShow(ctx context.Context, in *SaveShowReq, opts ...grpc.CallOption) (*SaveShowRes, error) { - out := new(SaveShowRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/CreateShow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) UpdateShow(ctx context.Context, in *SaveShowReq, opts ...grpc.CallOption) (*SaveShowRes, error) { - out := new(SaveShowRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/UpdateShow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) DelShow(ctx context.Context, in *DelShowReq, opts ...grpc.CallOption) (*CommonRes, error) { - out := new(CommonRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/DelShow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ShowList(ctx context.Context, in *ShowListReq, opts ...grpc.CallOption) (*ShowListRes, error) { - out := new(ShowListRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ShowList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ShowInfo(ctx context.Context, in *ShowDetailReq, opts ...grpc.CallOption) (*ShowArtworkDetailRes, error) { - out := new(ShowArtworkDetailRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ShowInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ShowStatisticalInfo(ctx context.Context, in *ShowStatisticalInfoReq, opts ...grpc.CallOption) (*ShowStatisticalInfoRes, error) { - out := new(ShowStatisticalInfoRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ShowStatisticalInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ArtworkPrice(ctx context.Context, in *ArtworkPriceReq, opts ...grpc.CallOption) (*ArtworkPriceRes, error) { - out := new(ArtworkPriceRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ArtworkPrice", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) CreateApply(ctx context.Context, in *SaveApplyReq, opts ...grpc.CallOption) (*SaveApplyRes, error) { - out := new(SaveApplyRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/CreateApply", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) UpdateApply(ctx context.Context, in *SaveApplyReq, opts ...grpc.CallOption) (*SaveApplyRes, error) { - out := new(SaveApplyRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/UpdateApply", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) DelApply(ctx context.Context, in *DelApplyReq, opts ...grpc.CallOption) (*CommonRes, error) { - out := new(CommonRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/DelApply", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ShowListWithApply(ctx context.Context, in *ShowListReq, opts ...grpc.CallOption) (*ShowListRes, error) { - out := new(ShowListRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ShowListWithApply", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) UpdateApplyStatus(ctx context.Context, in *UpdateApplyStatusReq, opts ...grpc.CallOption) (*CommonRes, error) { - out := new(CommonRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/UpdateApplyStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ApplyList(ctx context.Context, in *ApplyListReq, opts ...grpc.CallOption) (*ApplyListRes, error) { - out := new(ApplyListRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ApplyList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *artShowClient) ApplyDetail(ctx context.Context, in *ApplyShowReq, opts ...grpc.CallOption) (*ApplyShowRes, error) { - out := new(ApplyShowRes) - err := c.cc.Invoke(ctx, "/ArtShow.ArtShow/ApplyDetail", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ArtShowServer is the server API for ArtShow service. -type ArtShowServer interface { - CreateShow(context.Context, *SaveShowReq) (*SaveShowRes, error) - UpdateShow(context.Context, *SaveShowReq) (*SaveShowRes, error) - DelShow(context.Context, *DelShowReq) (*CommonRes, error) - ShowList(context.Context, *ShowListReq) (*ShowListRes, error) - ShowInfo(context.Context, *ShowDetailReq) (*ShowArtworkDetailRes, error) - ShowStatisticalInfo(context.Context, *ShowStatisticalInfoReq) (*ShowStatisticalInfoRes, error) - ArtworkPrice(context.Context, *ArtworkPriceReq) (*ArtworkPriceRes, error) - CreateApply(context.Context, *SaveApplyReq) (*SaveApplyRes, error) - UpdateApply(context.Context, *SaveApplyReq) (*SaveApplyRes, error) - DelApply(context.Context, *DelApplyReq) (*CommonRes, error) - ShowListWithApply(context.Context, *ShowListReq) (*ShowListRes, error) - UpdateApplyStatus(context.Context, *UpdateApplyStatusReq) (*CommonRes, error) - ApplyList(context.Context, *ApplyListReq) (*ApplyListRes, error) - ApplyDetail(context.Context, *ApplyShowReq) (*ApplyShowRes, error) -} - -// UnimplementedArtShowServer can be embedded to have forward compatible implementations. -type UnimplementedArtShowServer struct { -} - -func (*UnimplementedArtShowServer) CreateShow(context.Context, *SaveShowReq) (*SaveShowRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShow not implemented") -} -func (*UnimplementedArtShowServer) UpdateShow(context.Context, *SaveShowReq) (*SaveShowRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateShow not implemented") -} -func (*UnimplementedArtShowServer) DelShow(context.Context, *DelShowReq) (*CommonRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method DelShow not implemented") -} -func (*UnimplementedArtShowServer) ShowList(context.Context, *ShowListReq) (*ShowListRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShowList not implemented") -} -func (*UnimplementedArtShowServer) ShowInfo(context.Context, *ShowDetailReq) (*ShowArtworkDetailRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShowInfo not implemented") -} -func (*UnimplementedArtShowServer) ShowStatisticalInfo(context.Context, *ShowStatisticalInfoReq) (*ShowStatisticalInfoRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShowStatisticalInfo not implemented") -} -func (*UnimplementedArtShowServer) ArtworkPrice(context.Context, *ArtworkPriceReq) (*ArtworkPriceRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ArtworkPrice not implemented") -} -func (*UnimplementedArtShowServer) CreateApply(context.Context, *SaveApplyReq) (*SaveApplyRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateApply not implemented") -} -func (*UnimplementedArtShowServer) UpdateApply(context.Context, *SaveApplyReq) (*SaveApplyRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateApply not implemented") -} -func (*UnimplementedArtShowServer) DelApply(context.Context, *DelApplyReq) (*CommonRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method DelApply not implemented") -} -func (*UnimplementedArtShowServer) ShowListWithApply(context.Context, *ShowListReq) (*ShowListRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShowListWithApply not implemented") -} -func (*UnimplementedArtShowServer) UpdateApplyStatus(context.Context, *UpdateApplyStatusReq) (*CommonRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateApplyStatus not implemented") -} -func (*UnimplementedArtShowServer) ApplyList(context.Context, *ApplyListReq) (*ApplyListRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ApplyList not implemented") -} -func (*UnimplementedArtShowServer) ApplyDetail(context.Context, *ApplyShowReq) (*ApplyShowRes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ApplyDetail not implemented") -} - -func RegisterArtShowServer(s *grpc.Server, srv ArtShowServer) { - s.RegisterService(&_ArtShow_serviceDesc, srv) -} - -func _ArtShow_CreateShow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SaveShowReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).CreateShow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/CreateShow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).CreateShow(ctx, req.(*SaveShowReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_UpdateShow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SaveShowReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).UpdateShow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/UpdateShow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).UpdateShow(ctx, req.(*SaveShowReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_DelShow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelShowReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).DelShow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/DelShow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).DelShow(ctx, req.(*DelShowReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ShowList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ShowListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ShowList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ShowList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ShowList(ctx, req.(*ShowListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ShowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ShowDetailReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ShowInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ShowInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ShowInfo(ctx, req.(*ShowDetailReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ShowStatisticalInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ShowStatisticalInfoReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ShowStatisticalInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ShowStatisticalInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ShowStatisticalInfo(ctx, req.(*ShowStatisticalInfoReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ArtworkPrice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ArtworkPriceReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ArtworkPrice(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ArtworkPrice", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ArtworkPrice(ctx, req.(*ArtworkPriceReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_CreateApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SaveApplyReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).CreateApply(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/CreateApply", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).CreateApply(ctx, req.(*SaveApplyReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_UpdateApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SaveApplyReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).UpdateApply(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/UpdateApply", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).UpdateApply(ctx, req.(*SaveApplyReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_DelApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelApplyReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).DelApply(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/DelApply", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).DelApply(ctx, req.(*DelApplyReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ShowListWithApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ShowListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ShowListWithApply(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ShowListWithApply", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ShowListWithApply(ctx, req.(*ShowListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_UpdateApplyStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateApplyStatusReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).UpdateApplyStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/UpdateApplyStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).UpdateApplyStatus(ctx, req.(*UpdateApplyStatusReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ApplyListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ApplyList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ApplyList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ApplyList(ctx, req.(*ApplyListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArtShow_ApplyDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ApplyShowReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArtShowServer).ApplyDetail(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ArtShow.ArtShow/ApplyDetail", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtShowServer).ApplyDetail(ctx, req.(*ApplyShowReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _ArtShow_serviceDesc = grpc.ServiceDesc{ - ServiceName: "ArtShow.ArtShow", - HandlerType: (*ArtShowServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateShow", - Handler: _ArtShow_CreateShow_Handler, - }, - { - MethodName: "UpdateShow", - Handler: _ArtShow_UpdateShow_Handler, - }, - { - MethodName: "DelShow", - Handler: _ArtShow_DelShow_Handler, - }, - { - MethodName: "ShowList", - Handler: _ArtShow_ShowList_Handler, - }, - { - MethodName: "ShowInfo", - Handler: _ArtShow_ShowInfo_Handler, - }, - { - MethodName: "ShowStatisticalInfo", - Handler: _ArtShow_ShowStatisticalInfo_Handler, - }, - { - MethodName: "ArtworkPrice", - Handler: _ArtShow_ArtworkPrice_Handler, - }, - { - MethodName: "CreateApply", - Handler: _ArtShow_CreateApply_Handler, - }, - { - MethodName: "UpdateApply", - Handler: _ArtShow_UpdateApply_Handler, - }, - { - MethodName: "DelApply", - Handler: _ArtShow_DelApply_Handler, - }, - { - MethodName: "ShowListWithApply", - Handler: _ArtShow_ShowListWithApply_Handler, - }, - { - MethodName: "UpdateApplyStatus", - Handler: _ArtShow_UpdateApplyStatus_Handler, - }, - { - MethodName: "ApplyList", - Handler: _ArtShow_ApplyList_Handler, - }, - { - MethodName: "ApplyDetail", - Handler: _ArtShow_ApplyDetail_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "pb/artshow.proto", -} diff --git a/pkg/logger/zap_rotate.go b/pkg/logger/zap_rotate.go index 778091e..efd9a04 100644 --- a/pkg/logger/zap_rotate.go +++ b/pkg/logger/zap_rotate.go @@ -43,14 +43,14 @@ func InitLogger() { SugarLogger = logger.Sugar() } -func getEncoderTest() zapcore.Encoder { +func getEncoderartShow() zapcore.Encoder { encoderConfig := zap.NewProductionEncoderConfig() encoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder encoderConfig.EncodeLevel = zapcore.CapitalLevelEncoder return zapcore.NewConsoleEncoder(encoderConfig) } -func getLogWriterTest(filePath string) zapcore.WriteSyncer { +func getLogWriterartShow(filePath string) zapcore.WriteSyncer { warnIoWriter := getWriter(filePath) return zapcore.AddSync(warnIoWriter) } diff --git a/pkg/serializer/art_show.go b/pkg/serializer/art_show.go index 77a9605..08bdd1c 100644 --- a/pkg/serializer/art_show.go +++ b/pkg/serializer/art_show.go @@ -2,13 +2,13 @@ package serializer import ( "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/m" "strings" "time" ) -func BuildArtShowM(in *test.SaveShowReq) (out *model.ArtShow) { +func BuildArtShowM(in *artShow.SaveShowReq) (out *model.ArtShow) { out = new(model.ArtShow) if in.ID == 0 { out.ShowSeq = strings.Join([]string{m.ARTSHOW_PREFIX, time.Now().Format("20060102150405")}, "") @@ -23,13 +23,17 @@ func BuildArtShowM(in *test.SaveShowReq) (out *model.ArtShow) { out.Ruler = in.Ruler out.Reward = in.Reward out.ShowTime = in.ShowTime - out.IsShow = int8(in.IsShow) + if in.IsShow == 0 { + out.IsShow = m.ARTSHOW_INSIDE + } else { + out.IsShow = int8(in.IsShow) + } return } -func BuildArtShowListRes(artShows []*model.ArtShow) (out []*test.ShowDetail) { - out = make([]*test.ShowDetail, 0) +func BuildArtShowListRes(artShows []*model.ArtShow) (out []*artShow.ShowDetail) { + out = make([]*artShow.ShowDetail, 0) for i := 0; i < len(artShows); i++ { artShowM := BuildArtShowRpc(artShows[i]) out = append(out, artShowM) @@ -37,8 +41,8 @@ func BuildArtShowListRes(artShows []*model.ArtShow) (out []*test.ShowDetail) { return } -func BuildArtShowRpc(artShowM *model.ArtShow) (out *test.ShowDetail) { - out = new(test.ShowDetail) +func BuildArtShowRpc(artShowM *model.ArtShow) (out *artShow.ShowDetail) { + out = new(artShow.ShowDetail) out.ID = int64(artShowM.ID) out.ShowSeq = artShowM.ShowSeq out.ShowName = artShowM.ShowName diff --git a/pkg/serializer/artwork_price.go b/pkg/serializer/artwork_price.go index e6f93ee..22ba6bf 100644 --- a/pkg/serializer/artwork_price.go +++ b/pkg/serializer/artwork_price.go @@ -2,10 +2,10 @@ package serializer import ( "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" ) -func BuildShowArtworkM(in []*test.ShowArtworkDetail, showID uint) (out []*model.ArtworkPrice) { +func BuildShowArtworkM(in []*artShow.ShowArtworkDetail, showID uint) (out []*model.ArtworkPrice) { out = make([]*model.ArtworkPrice, len(in)) for i := 0; i < len(in); i++ { artworkPrice := new(model.ArtworkPrice) @@ -27,10 +27,10 @@ func BuildShowArtworkM(in []*test.ShowArtworkDetail, showID uint) (out []*model. return } -func BuildShowArtworkRpc(in []*model.ArtworkPrice) (out []*test.ShowArtworkDetail) { - out = make([]*test.ShowArtworkDetail, len(in)) +func BuildShowArtworkRpc(in []*model.ArtworkPrice) (out []*artShow.ShowArtworkDetail) { + out = make([]*artShow.ShowArtworkDetail, len(in)) for i := 0; i < len(in); i++ { - artworkPrice := new(test.ShowArtworkDetail) + artworkPrice := new(artShow.ShowArtworkDetail) artworkPrice.ShowID = int64(in[i].ShowID) artworkPrice.ArtworkID = in[i].ArtworkID artworkPrice.ArtworkName = in[i].ArtworkName @@ -43,9 +43,9 @@ func BuildShowArtworkRpc(in []*model.ArtworkPrice) (out []*test.ShowArtworkDetai return } -func BuildArtworkPriceRes(artworkPrice *model.ArtworkPrice) (out *test.ArtworkPriceRes) { - out = new(test.ArtworkPriceRes) - out.Data = new(test.ArtworkPriceRes_PriceInfo) +func BuildArtworkPriceRes(artworkPrice *model.ArtworkPrice) (out *artShow.ArtworkPriceRes) { + out = new(artShow.ArtworkPriceRes) + out.Data = new(artShow.ArtworkPriceRes_PriceInfo) out.Data.Price = artworkPrice.Price out.Data.RulerPrice = artworkPrice.RulerPrice out.Data.ArtworkPrice = artworkPrice.ArtworkPrice diff --git a/pkg/serializer/show_apply.go b/pkg/serializer/show_apply.go index f7ec59e..57ad8fb 100644 --- a/pkg/serializer/show_apply.go +++ b/pkg/serializer/show_apply.go @@ -2,13 +2,13 @@ package serializer import ( "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" "fonchain-artshow/pkg/m" "strings" "time" ) -func BuildShowApply(in *test.SaveApplyReq) (out *model.ShowApply) { +func BuildShowApply(in *artShow.SaveApplyReq) (out *model.ShowApply) { out = new(model.ShowApply) if in.ID == 0 { out.ApplySeq = strings.Join([]string{m.ARTSHOWAPPLY_PREFIX, time.Now().Format("20060102150405")}, "") @@ -25,8 +25,8 @@ func BuildShowApply(in *test.SaveApplyReq) (out *model.ShowApply) { return } -func BuildShowApplyRes(in *model.ShowApply) (out *test.ApplyDetail) { - out = new(test.ApplyDetail) +func BuildShowApplyRes(in *model.ShowApply) (out *artShow.ApplyDetail) { + out = new(artShow.ApplyDetail) out.ID = int64(in.ID) out.ApplySeq = in.ApplySeq diff --git a/pkg/serializer/show_rel.go b/pkg/serializer/show_rel.go index 3d5d936..34e91dc 100644 --- a/pkg/serializer/show_rel.go +++ b/pkg/serializer/show_rel.go @@ -2,10 +2,10 @@ package serializer import ( "fonchain-artshow/cmd/model" - "fonchain-artshow/pb/test" + "fonchain-artshow/pb/artShow" ) -func BuildShowRelM(in []*test.ShowRel, applyID uint) (out []*model.ShowRel) { +func BuildShowRelM(in []*artShow.ShowRel, applyID uint) (out []*model.ShowRel) { for i := 0; i < len(in); i++ { showRel := &model.ShowRel{ ShowID: uint(in[i].ShowID), @@ -21,9 +21,9 @@ func BuildShowRelM(in []*test.ShowRel, applyID uint) (out []*model.ShowRel) { return } -func BuildShowRelRes(in []*model.ShowRel) (out []*test.ShowRel) { +func BuildShowRelRes(in []*model.ShowRel) (out []*artShow.ShowRel) { for i := 0; i < len(in); i++ { - showRel := &test.ShowRel{ + showRel := &artShow.ShowRel{ ID: int64(in[i].ID), ApplyID: int64(in[i].ApplyID), ShowID: int64(in[i].ShowID),