123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.21.9
- // source: backend/operation/system.proto
- package operationPb
- import (
- 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 CommonOK struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *Success `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *CommonOK) Reset() {
- *x = CommonOK{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CommonOK) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CommonOK) ProtoMessage() {}
- func (x *CommonOK) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 CommonOK.ProtoReflect.Descriptor instead.
- func (*CommonOK) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{0}
- }
- func (x *CommonOK) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *CommonOK) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *CommonOK) GetData() *Success {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type Success struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
- }
- func (x *Success) Reset() {
- *x = Success{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Success) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Success) ProtoMessage() {}
- func (x *Success) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 Success.ProtoReflect.Descriptor instead.
- func (*Success) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
- }
- func (x *Success) GetSuccess() bool {
- if x != nil {
- return x.Success
- }
- return false
- }
- type WxOpenId struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Openid string `protobuf:"bytes,1,opt,name=openid,proto3" json:"openid,omitempty"`
- }
- func (x *WxOpenId) Reset() {
- *x = WxOpenId{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WxOpenId) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WxOpenId) ProtoMessage() {}
- func (x *WxOpenId) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 WxOpenId.ProtoReflect.Descriptor instead.
- func (*WxOpenId) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
- }
- func (x *WxOpenId) GetOpenid() string {
- if x != nil {
- return x.Openid
- }
- return ""
- }
- // 用户角色
- type AddRoleRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
- Remarks string `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"` // 角色备注
- IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
- PastureId []uint32 `protobuf:"varint,5,rep,packed,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
- MenuId []uint32 `protobuf:"varint,6,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 菜单id
- MobileId []uint32 `protobuf:"varint,7,rep,packed,name=mobile_id,json=mobileId,proto3" json:"mobile_id,omitempty"` // 移动端id
- CreateUser string `protobuf:"bytes,8,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建用户
- CreatedAt uint32 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
- CreatedAtFormat string `protobuf:"bytes,10,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
- }
- func (x *AddRoleRequest) Reset() {
- *x = AddRoleRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddRoleRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddRoleRequest) ProtoMessage() {}
- func (x *AddRoleRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 AddRoleRequest.ProtoReflect.Descriptor instead.
- func (*AddRoleRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
- }
- func (x *AddRoleRequest) GetId() uint32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *AddRoleRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *AddRoleRequest) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
- func (x *AddRoleRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *AddRoleRequest) GetPastureId() []uint32 {
- if x != nil {
- return x.PastureId
- }
- return nil
- }
- func (x *AddRoleRequest) GetMenuId() []uint32 {
- if x != nil {
- return x.MenuId
- }
- return nil
- }
- func (x *AddRoleRequest) GetMobileId() []uint32 {
- if x != nil {
- return x.MobileId
- }
- return nil
- }
- func (x *AddRoleRequest) GetCreateUser() string {
- if x != nil {
- return x.CreateUser
- }
- return ""
- }
- func (x *AddRoleRequest) GetCreatedAt() uint32 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *AddRoleRequest) GetCreatedAtFormat() string {
- if x != nil {
- return x.CreatedAtFormat
- }
- return ""
- }
- type SearchRoleRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
- Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
- }
- func (x *SearchRoleRequest) Reset() {
- *x = SearchRoleRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchRoleRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchRoleRequest) ProtoMessage() {}
- func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchRoleRequest.ProtoReflect.Descriptor instead.
- func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
- }
- func (x *SearchRoleRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SearchRoleRequest) GetPagination() *PaginationModel {
- if x != nil {
- return x.Pagination
- }
- return nil
- }
- type SearchRoleResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *SearchRoleData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *SearchRoleResponse) Reset() {
- *x = SearchRoleResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchRoleResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchRoleResponse) ProtoMessage() {}
- func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchRoleResponse.ProtoReflect.Descriptor instead.
- func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
- }
- func (x *SearchRoleResponse) GetCode() uint32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *SearchRoleResponse) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *SearchRoleResponse) GetData() *SearchRoleData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type SearchRoleData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- List []*AddRoleRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
- }
- func (x *SearchRoleData) Reset() {
- *x = SearchRoleData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchRoleData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchRoleData) ProtoMessage() {}
- func (x *SearchRoleData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchRoleData.ProtoReflect.Descriptor instead.
- func (*SearchRoleData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{6}
- }
- func (x *SearchRoleData) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *SearchRoleData) GetTotal() int32 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *SearchRoleData) GetPageSize() int32 {
- if x != nil {
- return x.PageSize
- }
- return 0
- }
- func (x *SearchRoleData) GetList() []*AddRoleRequest {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 角色对应权限列表
- type RolePermissionsList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *RolePermissionsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *RolePermissionsList) Reset() {
- *x = RolePermissionsList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RolePermissionsList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RolePermissionsList) ProtoMessage() {}
- func (x *RolePermissionsList) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 RolePermissionsList.ProtoReflect.Descriptor instead.
- func (*RolePermissionsList) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{7}
- }
- func (x *RolePermissionsList) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *RolePermissionsList) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *RolePermissionsList) GetData() *RolePermissionsData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type RolePermissionsData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- MobileList []uint32 `protobuf:"varint,1,rep,packed,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限id
- PastureList []uint32 `protobuf:"varint,2,rep,packed,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场端列表
- MenuList []uint32 `protobuf:"varint,3,rep,packed,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 后端权限列表
- }
- func (x *RolePermissionsData) Reset() {
- *x = RolePermissionsData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RolePermissionsData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RolePermissionsData) ProtoMessage() {}
- func (x *RolePermissionsData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 RolePermissionsData.ProtoReflect.Descriptor instead.
- func (*RolePermissionsData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{8}
- }
- func (x *RolePermissionsData) GetMobileList() []uint32 {
- if x != nil {
- return x.MobileList
- }
- return nil
- }
- func (x *RolePermissionsData) GetPastureList() []uint32 {
- if x != nil {
- return x.PastureList
- }
- return nil
- }
- func (x *RolePermissionsData) GetMenuList() []uint32 {
- if x != nil {
- return x.MenuList
- }
- return nil
- }
- // 用户token
- type SystemToken struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *TokenData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *SystemToken) Reset() {
- *x = SystemToken{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SystemToken) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SystemToken) ProtoMessage() {}
- func (x *SystemToken) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SystemToken.ProtoReflect.Descriptor instead.
- func (*SystemToken) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{9}
- }
- func (x *SystemToken) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *SystemToken) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *SystemToken) GetData() *TokenData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type TokenData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
- }
- func (x *TokenData) Reset() {
- *x = TokenData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TokenData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TokenData) ProtoMessage() {}
- func (x *TokenData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 TokenData.ProtoReflect.Descriptor instead.
- func (*TokenData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{10}
- }
- func (x *TokenData) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
- // 用户登录
- type UserAuth struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *UserAuthData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *UserAuth) Reset() {
- *x = UserAuth{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserAuth) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserAuth) ProtoMessage() {}
- func (x *UserAuth) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 UserAuth.ProtoReflect.Descriptor instead.
- func (*UserAuth) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{11}
- }
- func (x *UserAuth) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *UserAuth) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *UserAuth) GetData() *UserAuthData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type UserAuthData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
- Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 用户角色
- EmployeeName string `protobuf:"bytes,5,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工名称
- Pastures []*UserPasture `protobuf:"bytes,6,rep,name=pastures,proto3" json:"pastures,omitempty"` // 用户角色牧场牧场
- }
- func (x *UserAuthData) Reset() {
- *x = UserAuthData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserAuthData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserAuthData) ProtoMessage() {}
- func (x *UserAuthData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 UserAuthData.ProtoReflect.Descriptor instead.
- func (*UserAuthData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{12}
- }
- func (x *UserAuthData) GetUserName() string {
- if x != nil {
- return x.UserName
- }
- return ""
- }
- func (x *UserAuthData) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *UserAuthData) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *UserAuthData) GetRoles() []*UserRole {
- if x != nil {
- return x.Roles
- }
- return nil
- }
- func (x *UserAuthData) GetEmployeeName() string {
- if x != nil {
- return x.EmployeeName
- }
- return ""
- }
- func (x *UserAuthData) GetPastures() []*UserPasture {
- if x != nil {
- return x.Pastures
- }
- return nil
- }
- type UserRole struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色id
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
- }
- func (x *UserRole) Reset() {
- *x = UserRole{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserRole) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserRole) ProtoMessage() {}
- func (x *UserRole) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 UserRole.ProtoReflect.Descriptor instead.
- func (*UserRole) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{13}
- }
- func (x *UserRole) GetId() int32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *UserRole) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- // 用户详情
- type UserDetails struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *AddSystemUser `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *UserDetails) Reset() {
- *x = UserDetails{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserDetails) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserDetails) ProtoMessage() {}
- func (x *UserDetails) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 UserDetails.ProtoReflect.Descriptor instead.
- func (*UserDetails) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{14}
- }
- func (x *UserDetails) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *UserDetails) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *UserDetails) GetData() *AddSystemUser {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type AddSystemUser struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
- Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 角色
- IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
- EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
- CreateUser string `protobuf:"bytes,7,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建人
- CreatedAt int32 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
- CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
- RoleName string `protobuf:"bytes,10,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色名称
- RoleIds []int32 `protobuf:"varint,11,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 角色ids
- }
- func (x *AddSystemUser) Reset() {
- *x = AddSystemUser{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddSystemUser) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddSystemUser) ProtoMessage() {}
- func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 AddSystemUser.ProtoReflect.Descriptor instead.
- func (*AddSystemUser) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{15}
- }
- func (x *AddSystemUser) GetId() int32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *AddSystemUser) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *AddSystemUser) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *AddSystemUser) GetRoles() []*UserRole {
- if x != nil {
- return x.Roles
- }
- return nil
- }
- func (x *AddSystemUser) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *AddSystemUser) GetEmployeeName() string {
- if x != nil {
- return x.EmployeeName
- }
- return ""
- }
- func (x *AddSystemUser) GetCreateUser() string {
- if x != nil {
- return x.CreateUser
- }
- return ""
- }
- func (x *AddSystemUser) GetCreatedAt() int32 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *AddSystemUser) GetCreatedAtFormat() string {
- if x != nil {
- return x.CreatedAtFormat
- }
- return ""
- }
- func (x *AddSystemUser) GetRoleName() string {
- if x != nil {
- return x.RoleName
- }
- return ""
- }
- func (x *AddSystemUser) GetRoleIds() []int32 {
- if x != nil {
- return x.RoleIds
- }
- return nil
- }
- // 查询用户
- type SearchUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
- EmployeeName string `protobuf:"bytes,2,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
- IsShow IsShow_Kind `protobuf:"varint,3,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
- CreatedStartTime uint32 `protobuf:"varint,4,opt,name=created_start_time,json=createdStartTime,proto3" json:"created_start_time,omitempty"` // 开始时间
- CreatedEndTime uint32 `protobuf:"varint,5,opt,name=created_end_time,json=createdEndTime,proto3" json:"created_end_time,omitempty"` // 结束时间
- Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
- }
- func (x *SearchUserRequest) Reset() {
- *x = SearchUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchUserRequest) ProtoMessage() {}
- func (x *SearchUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchUserRequest.ProtoReflect.Descriptor instead.
- func (*SearchUserRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{16}
- }
- func (x *SearchUserRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SearchUserRequest) GetEmployeeName() string {
- if x != nil {
- return x.EmployeeName
- }
- return ""
- }
- func (x *SearchUserRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *SearchUserRequest) GetCreatedStartTime() uint32 {
- if x != nil {
- return x.CreatedStartTime
- }
- return 0
- }
- func (x *SearchUserRequest) GetCreatedEndTime() uint32 {
- if x != nil {
- return x.CreatedEndTime
- }
- return 0
- }
- func (x *SearchUserRequest) GetPagination() *PaginationModel {
- if x != nil {
- return x.Pagination
- }
- return nil
- }
- type SearchUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *SearchUserData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *SearchUserResponse) Reset() {
- *x = SearchUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchUserResponse) ProtoMessage() {}
- func (x *SearchUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchUserResponse.ProtoReflect.Descriptor instead.
- func (*SearchUserResponse) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{17}
- }
- func (x *SearchUserResponse) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *SearchUserResponse) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *SearchUserResponse) GetData() *SearchUserData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type SearchUserData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- List []*AddSystemUser `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
- }
- func (x *SearchUserData) Reset() {
- *x = SearchUserData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchUserData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchUserData) ProtoMessage() {}
- func (x *SearchUserData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchUserData.ProtoReflect.Descriptor instead.
- func (*SearchUserData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{18}
- }
- func (x *SearchUserData) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *SearchUserData) GetTotal() int32 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *SearchUserData) GetPageSize() int32 {
- if x != nil {
- return x.PageSize
- }
- return 0
- }
- func (x *SearchUserData) GetList() []*AddSystemUser {
- if x != nil {
- return x.List
- }
- return nil
- }
- type IsShowSystemUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
- }
- func (x *IsShowSystemUserRequest) Reset() {
- *x = IsShowSystemUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *IsShowSystemUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IsShowSystemUserRequest) ProtoMessage() {}
- func (x *IsShowSystemUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 IsShowSystemUserRequest.ProtoReflect.Descriptor instead.
- func (*IsShowSystemUserRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{19}
- }
- func (x *IsShowSystemUserRequest) GetUserId() int32 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *IsShowSystemUserRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- // 系统菜单权限
- type AddMenuRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
- ParentId int32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父id
- MenuType int32 `protobuf:"varint,4,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` // 菜单类型 1 菜单 2 按钮
- Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 标题
- Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // 路径 path
- IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否显示
- Component string `protobuf:"bytes,8,opt,name=component,proto3" json:"component,omitempty"` // 组件
- Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"` // 图标
- Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
- Redirect string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect,omitempty"` // 重定向
- CreatedAt int32 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
- CreatedAtFormat string `protobuf:"bytes,13,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
- Level int32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` // 菜单等级
- Children []*AddMenuRequest `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"` // 子分类
- Affix bool `protobuf:"varint,16,opt,name=affix,proto3" json:"affix,omitempty"`
- KeepAlive bool `protobuf:"varint,17,opt,name=keepAlive,proto3" json:"keepAlive,omitempty"`
- }
- func (x *AddMenuRequest) Reset() {
- *x = AddMenuRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddMenuRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddMenuRequest) ProtoMessage() {}
- func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 AddMenuRequest.ProtoReflect.Descriptor instead.
- func (*AddMenuRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{20}
- }
- func (x *AddMenuRequest) GetId() int32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *AddMenuRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *AddMenuRequest) GetParentId() int32 {
- if x != nil {
- return x.ParentId
- }
- return 0
- }
- func (x *AddMenuRequest) GetMenuType() int32 {
- if x != nil {
- return x.MenuType
- }
- return 0
- }
- func (x *AddMenuRequest) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
- }
- func (x *AddMenuRequest) GetPath() string {
- if x != nil {
- return x.Path
- }
- return ""
- }
- func (x *AddMenuRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *AddMenuRequest) GetComponent() string {
- if x != nil {
- return x.Component
- }
- return ""
- }
- func (x *AddMenuRequest) GetIcon() string {
- if x != nil {
- return x.Icon
- }
- return ""
- }
- func (x *AddMenuRequest) GetSort() int32 {
- if x != nil {
- return x.Sort
- }
- return 0
- }
- func (x *AddMenuRequest) GetRedirect() string {
- if x != nil {
- return x.Redirect
- }
- return ""
- }
- func (x *AddMenuRequest) GetCreatedAt() int32 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *AddMenuRequest) GetCreatedAtFormat() string {
- if x != nil {
- return x.CreatedAtFormat
- }
- return ""
- }
- func (x *AddMenuRequest) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- func (x *AddMenuRequest) GetChildren() []*AddMenuRequest {
- if x != nil {
- return x.Children
- }
- return nil
- }
- func (x *AddMenuRequest) GetAffix() bool {
- if x != nil {
- return x.Affix
- }
- return false
- }
- func (x *AddMenuRequest) GetKeepAlive() bool {
- if x != nil {
- return x.KeepAlive
- }
- return false
- }
- type IsShowSystemMenuRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- MenuId int32 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 角色id
- IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
- }
- func (x *IsShowSystemMenuRequest) Reset() {
- *x = IsShowSystemMenuRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *IsShowSystemMenuRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IsShowSystemMenuRequest) ProtoMessage() {}
- func (x *IsShowSystemMenuRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 IsShowSystemMenuRequest.ProtoReflect.Descriptor instead.
- func (*IsShowSystemMenuRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{21}
- }
- func (x *IsShowSystemMenuRequest) GetMenuId() int32 {
- if x != nil {
- return x.MenuId
- }
- return 0
- }
- func (x *IsShowSystemMenuRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- // 查询菜单权限
- type SearchMenuRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 菜单名称
- Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
- }
- func (x *SearchMenuRequest) Reset() {
- *x = SearchMenuRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchMenuRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchMenuRequest) ProtoMessage() {}
- func (x *SearchMenuRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchMenuRequest.ProtoReflect.Descriptor instead.
- func (*SearchMenuRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{22}
- }
- func (x *SearchMenuRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SearchMenuRequest) GetPagination() *PaginationModel {
- if x != nil {
- return x.Pagination
- }
- return nil
- }
- type SearchMenuResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *SearchMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *SearchMenuResponse) Reset() {
- *x = SearchMenuResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchMenuResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchMenuResponse) ProtoMessage() {}
- func (x *SearchMenuResponse) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchMenuResponse.ProtoReflect.Descriptor instead.
- func (*SearchMenuResponse) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{23}
- }
- func (x *SearchMenuResponse) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *SearchMenuResponse) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *SearchMenuResponse) GetData() *SearchMenuData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type SearchMenuData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- List []*AddMenuRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
- }
- func (x *SearchMenuData) Reset() {
- *x = SearchMenuData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchMenuData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchMenuData) ProtoMessage() {}
- func (x *SearchMenuData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SearchMenuData.ProtoReflect.Descriptor instead.
- func (*SearchMenuData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{24}
- }
- func (x *SearchMenuData) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *SearchMenuData) GetTotal() int32 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *SearchMenuData) GetList() []*AddMenuRequest {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 系统用户权限相关
- type SystemUserMenuPermissions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *SystemUserMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *SystemUserMenuPermissions) Reset() {
- *x = SystemUserMenuPermissions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SystemUserMenuPermissions) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SystemUserMenuPermissions) ProtoMessage() {}
- func (x *SystemUserMenuPermissions) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SystemUserMenuPermissions.ProtoReflect.Descriptor instead.
- func (*SystemUserMenuPermissions) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{25}
- }
- func (x *SystemUserMenuPermissions) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *SystemUserMenuPermissions) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *SystemUserMenuPermissions) GetData() *SystemUserMenuData {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type SystemUserMenuData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PastureList []*AddPastureRequest `protobuf:"bytes,1,rep,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场列表
- MenuList []*AddMenuRequest `protobuf:"bytes,2,rep,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 菜单列表
- MobileList []*AddMobileRequest `protobuf:"bytes,3,rep,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限
- MenuButtonsPath []*MenuButtonsPath `protobuf:"bytes,4,rep,name=menu_buttons_path,json=menuButtonsPath,proto3" json:"menu_buttons_path,omitempty"` // 按钮级别权限path,前端需要特别处理
- }
- func (x *SystemUserMenuData) Reset() {
- *x = SystemUserMenuData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SystemUserMenuData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SystemUserMenuData) ProtoMessage() {}
- func (x *SystemUserMenuData) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 SystemUserMenuData.ProtoReflect.Descriptor instead.
- func (*SystemUserMenuData) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{26}
- }
- func (x *SystemUserMenuData) GetPastureList() []*AddPastureRequest {
- if x != nil {
- return x.PastureList
- }
- return nil
- }
- func (x *SystemUserMenuData) GetMenuList() []*AddMenuRequest {
- if x != nil {
- return x.MenuList
- }
- return nil
- }
- func (x *SystemUserMenuData) GetMobileList() []*AddMobileRequest {
- if x != nil {
- return x.MobileList
- }
- return nil
- }
- func (x *SystemUserMenuData) GetMenuButtonsPath() []*MenuButtonsPath {
- if x != nil {
- return x.MenuButtonsPath
- }
- return nil
- }
- type MenuButtonsPath struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
- MenuId int32 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
- }
- func (x *MenuButtonsPath) Reset() {
- *x = MenuButtonsPath{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MenuButtonsPath) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MenuButtonsPath) ProtoMessage() {}
- func (x *MenuButtonsPath) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_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 MenuButtonsPath.ProtoReflect.Descriptor instead.
- func (*MenuButtonsPath) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{27}
- }
- func (x *MenuButtonsPath) GetPath() string {
- if x != nil {
- return x.Path
- }
- return ""
- }
- func (x *MenuButtonsPath) GetMenuId() int32 {
- if x != nil {
- return x.MenuId
- }
- return 0
- }
- // 移动端
- type AddMobileRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
- }
- func (x *AddMobileRequest) Reset() {
- *x = AddMobileRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_system_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddMobileRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddMobileRequest) ProtoMessage() {}
- func (x *AddMobileRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_system_proto_msgTypes[28]
- 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 AddMobileRequest.ProtoReflect.Descriptor instead.
- func (*AddMobileRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_system_proto_rawDescGZIP(), []int{28}
- }
- func (x *AddMobileRequest) GetId() uint32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *AddMobileRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- var File_backend_operation_system_proto protoreflect.FileDescriptor
- var file_backend_operation_system_proto_rawDesc = []byte{
- 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
- 0x4f, 0x4b, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
- 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65,
- 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x22, 0x0a,
- 0x08, 0x57, 0x78, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65,
- 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69,
- 0x64, 0x22, 0xc8, 0x02, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
- 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
- 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
- 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
- 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
- 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52,
- 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65,
- 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x6e,
- 0x75, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
- 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x49, 0x64,
- 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
- 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
- 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66,
- 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x6b, 0x0a, 0x11,
- 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b,
- 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61,
- 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70,
- 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61,
- 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63,
- 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f,
- 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a,
- 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12,
- 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
- 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
- 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
- 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x77, 0x0a,
- 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61,
- 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
- 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6c,
- 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61,
- 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x76, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65,
- 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a,
- 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21,
- 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02,
- 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73,
- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
- 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x65,
- 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a,
- 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
- 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52,
- 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x21, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61,
- 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
- 0x41, 0x75, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61,
- 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
- 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65,
- 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
- 0xf1, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61,
- 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
- 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
- 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
- 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
- 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c,
- 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f,
- 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x74, 0x75,
- 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b,
- 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
- 0x65, 0x72, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x70, 0x61, 0x73, 0x74, 0x75,
- 0x72, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12,
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x22, 0x69, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69,
- 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
- 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79,
- 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfe,
- 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f,
- 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b,
- 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a,
- 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e,
- 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06,
- 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79,
- 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
- 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
- 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65,
- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73,
- 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22,
- 0xa1, 0x02, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
- 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37,
- 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
- 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x72,
- 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
- 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
- 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
- 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12,
- 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
- 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
- 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8d, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
- 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
- 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
- 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
- 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,
- 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
- 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
- 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
- 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
- 0x68, 0x6f, 0x77, 0x22, 0x87, 0x04, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
- 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37,
- 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
- 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
- 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70,
- 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72,
- 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
- 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0d, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f,
- 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3d, 0x0a, 0x08, 0x63, 0x68,
- 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62,
- 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
- 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x66,
- 0x69, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x12,
- 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x11, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x22, 0x6b, 0x0a,
- 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x6e,
- 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49,
- 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
- 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x65,
- 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
- 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69,
- 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67,
- 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63,
- 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
- 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75,
- 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71, 0x0a, 0x0e, 0x53, 0x65,
- 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
- 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7c, 0x0a,
- 0x19, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x50,
- 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
- 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10,
- 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67,
- 0x12, 0x39, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
- 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e,
- 0x75, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb3, 0x02, 0x0a, 0x12,
- 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61,
- 0x74, 0x61, 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69,
- 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
- 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
- 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b,
- 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x09, 0x6d,
- 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
- 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6d,
- 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73,
- 0x74, 0x12, 0x4e, 0x0a, 0x11, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e,
- 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62,
- 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x74, 0x68,
- 0x52, 0x0f, 0x6d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x74,
- 0x68, 0x22, 0x3e, 0x0a, 0x0f, 0x4d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73,
- 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75,
- 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49,
- 0x64, 0x22, 0x36, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
- }
- var (
- file_backend_operation_system_proto_rawDescOnce sync.Once
- file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
- )
- func file_backend_operation_system_proto_rawDescGZIP() []byte {
- file_backend_operation_system_proto_rawDescOnce.Do(func() {
- file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
- })
- return file_backend_operation_system_proto_rawDescData
- }
- var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
- var file_backend_operation_system_proto_goTypes = []interface{}{
- (*CommonOK)(nil), // 0: backend.operation.CommonOK
- (*Success)(nil), // 1: backend.operation.Success
- (*WxOpenId)(nil), // 2: backend.operation.WxOpenId
- (*AddRoleRequest)(nil), // 3: backend.operation.AddRoleRequest
- (*SearchRoleRequest)(nil), // 4: backend.operation.SearchRoleRequest
- (*SearchRoleResponse)(nil), // 5: backend.operation.SearchRoleResponse
- (*SearchRoleData)(nil), // 6: backend.operation.SearchRoleData
- (*RolePermissionsList)(nil), // 7: backend.operation.RolePermissionsList
- (*RolePermissionsData)(nil), // 8: backend.operation.RolePermissionsData
- (*SystemToken)(nil), // 9: backend.operation.SystemToken
- (*TokenData)(nil), // 10: backend.operation.TokenData
- (*UserAuth)(nil), // 11: backend.operation.UserAuth
- (*UserAuthData)(nil), // 12: backend.operation.UserAuthData
- (*UserRole)(nil), // 13: backend.operation.UserRole
- (*UserDetails)(nil), // 14: backend.operation.UserDetails
- (*AddSystemUser)(nil), // 15: backend.operation.AddSystemUser
- (*SearchUserRequest)(nil), // 16: backend.operation.SearchUserRequest
- (*SearchUserResponse)(nil), // 17: backend.operation.SearchUserResponse
- (*SearchUserData)(nil), // 18: backend.operation.SearchUserData
- (*IsShowSystemUserRequest)(nil), // 19: backend.operation.IsShowSystemUserRequest
- (*AddMenuRequest)(nil), // 20: backend.operation.AddMenuRequest
- (*IsShowSystemMenuRequest)(nil), // 21: backend.operation.IsShowSystemMenuRequest
- (*SearchMenuRequest)(nil), // 22: backend.operation.SearchMenuRequest
- (*SearchMenuResponse)(nil), // 23: backend.operation.SearchMenuResponse
- (*SearchMenuData)(nil), // 24: backend.operation.SearchMenuData
- (*SystemUserMenuPermissions)(nil), // 25: backend.operation.SystemUserMenuPermissions
- (*SystemUserMenuData)(nil), // 26: backend.operation.SystemUserMenuData
- (*MenuButtonsPath)(nil), // 27: backend.operation.MenuButtonsPath
- (*AddMobileRequest)(nil), // 28: backend.operation.AddMobileRequest
- (IsShow_Kind)(0), // 29: backend.operation.IsShow.Kind
- (*PaginationModel)(nil), // 30: backend.operation.PaginationModel
- (*UserPasture)(nil), // 31: backend.operation.UserPasture
- (*AddPastureRequest)(nil), // 32: backend.operation.AddPastureRequest
- }
- var file_backend_operation_system_proto_depIdxs = []int32{
- 1, // 0: backend.operation.CommonOK.data:type_name -> backend.operation.Success
- 29, // 1: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 30, // 2: backend.operation.SearchRoleRequest.pagination:type_name -> backend.operation.PaginationModel
- 6, // 3: backend.operation.SearchRoleResponse.data:type_name -> backend.operation.SearchRoleData
- 3, // 4: backend.operation.SearchRoleData.list:type_name -> backend.operation.AddRoleRequest
- 8, // 5: backend.operation.RolePermissionsList.data:type_name -> backend.operation.RolePermissionsData
- 10, // 6: backend.operation.SystemToken.data:type_name -> backend.operation.TokenData
- 12, // 7: backend.operation.UserAuth.data:type_name -> backend.operation.UserAuthData
- 13, // 8: backend.operation.UserAuthData.roles:type_name -> backend.operation.UserRole
- 31, // 9: backend.operation.UserAuthData.pastures:type_name -> backend.operation.UserPasture
- 15, // 10: backend.operation.UserDetails.data:type_name -> backend.operation.AddSystemUser
- 13, // 11: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
- 29, // 12: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
- 29, // 13: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 30, // 14: backend.operation.SearchUserRequest.pagination:type_name -> backend.operation.PaginationModel
- 18, // 15: backend.operation.SearchUserResponse.data:type_name -> backend.operation.SearchUserData
- 15, // 16: backend.operation.SearchUserData.list:type_name -> backend.operation.AddSystemUser
- 29, // 17: backend.operation.IsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 29, // 18: backend.operation.AddMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 20, // 19: backend.operation.AddMenuRequest.children:type_name -> backend.operation.AddMenuRequest
- 29, // 20: backend.operation.IsShowSystemMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 30, // 21: backend.operation.SearchMenuRequest.pagination:type_name -> backend.operation.PaginationModel
- 24, // 22: backend.operation.SearchMenuResponse.data:type_name -> backend.operation.SearchMenuData
- 20, // 23: backend.operation.SearchMenuData.list:type_name -> backend.operation.AddMenuRequest
- 26, // 24: backend.operation.SystemUserMenuPermissions.data:type_name -> backend.operation.SystemUserMenuData
- 32, // 25: backend.operation.SystemUserMenuData.pasture_list:type_name -> backend.operation.AddPastureRequest
- 20, // 26: backend.operation.SystemUserMenuData.menu_list:type_name -> backend.operation.AddMenuRequest
- 28, // 27: backend.operation.SystemUserMenuData.mobile_list:type_name -> backend.operation.AddMobileRequest
- 27, // 28: backend.operation.SystemUserMenuData.menu_buttons_path:type_name -> backend.operation.MenuButtonsPath
- 29, // [29:29] is the sub-list for method output_type
- 29, // [29:29] is the sub-list for method input_type
- 29, // [29:29] is the sub-list for extension type_name
- 29, // [29:29] is the sub-list for extension extendee
- 0, // [0:29] is the sub-list for field type_name
- }
- func init() { file_backend_operation_system_proto_init() }
- func file_backend_operation_system_proto_init() {
- if File_backend_operation_system_proto != nil {
- return
- }
- file_backend_operation_enum_proto_init()
- file_backend_operation_pagination_proto_init()
- file_backend_operation_pasture_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CommonOK); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Success); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WxOpenId); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddRoleRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchRoleRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchRoleResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchRoleData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RolePermissionsList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RolePermissionsData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SystemToken); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserAuth); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserAuthData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserRole); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserDetails); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddSystemUser); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchUserData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsShowSystemUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddMenuRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsShowSystemMenuRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchMenuRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchMenuResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchMenuData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SystemUserMenuPermissions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SystemUserMenuData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MenuButtonsPath); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_system_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddMobileRequest); 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_backend_operation_system_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 29,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_backend_operation_system_proto_goTypes,
- DependencyIndexes: file_backend_operation_system_proto_depIdxs,
- MessageInfos: file_backend_operation_system_proto_msgTypes,
- }.Build()
- File_backend_operation_system_proto = out.File
- file_backend_operation_system_proto_rawDesc = nil
- file_backend_operation_system_proto_goTypes = nil
- file_backend_operation_system_proto_depIdxs = nil
- }
|