2 Star 0 Fork 0

jmash / rbac

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rbac_dept_message.pb.go 50.76 KB
一键复制 编辑 原始数据 按行查看 历史
百圆汽车保养 提交于 2024-02-05 11:48 . rbac 网关.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.25.1
// source: jmash/rbac/protobuf/rbac_dept_message.proto
package rbac
import (
basic "gitee.com/jmash/jmash/trunk/jmash-core-gateway/src/jmash/basic"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 DeptReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 排序名称
OrderName string `protobuf:"bytes,3,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"`
// 是否升序排序
OrderAsc bool `protobuf:"varint,4,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"`
// 创建人
CreateBy string `protobuf:"bytes,5,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
// 部门名称
LikeDeptName string `protobuf:"bytes,6,opt,name=like_dept_name,json=likeDeptName,proto3" json:"like_dept_name,omitempty"`
// 是否包含状态字段
HasStatus bool `protobuf:"varint,7,opt,name=has_status,json=hasStatus,proto3" json:"has_status,omitempty"`
// 部门状态
Status bool `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
// 需要隐藏的部门
ExcludeId string `protobuf:"bytes,9,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"`
}
func (x *DeptReq) Reset() {
*x = DeptReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptReq) ProtoMessage() {}
func (x *DeptReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptReq.ProtoReflect.Descriptor instead.
func (*DeptReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{0}
}
func (x *DeptReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptReq) GetOrderName() string {
if x != nil {
return x.OrderName
}
return ""
}
func (x *DeptReq) GetOrderAsc() bool {
if x != nil {
return x.OrderAsc
}
return false
}
func (x *DeptReq) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *DeptReq) GetLikeDeptName() string {
if x != nil {
return x.LikeDeptName
}
return ""
}
func (x *DeptReq) GetHasStatus() bool {
if x != nil {
return x.HasStatus
}
return false
}
func (x *DeptReq) GetStatus() bool {
if x != nil {
return x.Status
}
return false
}
func (x *DeptReq) GetExcludeId() string {
if x != nil {
return x.ExcludeId
}
return ""
}
// 组织机构实体
type DeptModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 部门ID
DeptId string `protobuf:"bytes,1,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
// 部门编码
DeptCode string `protobuf:"bytes,2,opt,name=dept_code,json=deptCode,proto3" json:"dept_code,omitempty"`
// 部门名称
DeptName string `protobuf:"bytes,3,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"`
// 部门类型
DeptType string `protobuf:"bytes,4,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"`
// 父部门
ParentId string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 部门描述
Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
// 深度
Depth_ int32 `protobuf:"varint,7,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"`
// 排序
OrderBy int32 `protobuf:"varint,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// 状态
Status_ bool `protobuf:"varint,9,opt,name=status_,json=status,proto3" json:"status_,omitempty"`
// 乐观锁
Vision_ int32 `protobuf:"varint,10,opt,name=vision_,json=vision,proto3" json:"vision_,omitempty"`
// 创建人
CreateBy string `protobuf:"bytes,11,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
// 创建时间
CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// 更新人
UpdateBy string `protobuf:"bytes,13,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"`
// 更新时间
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// 孩子资源列表
Children []*DeptModel `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"`
}
func (x *DeptModel) Reset() {
*x = DeptModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptModel) ProtoMessage() {}
func (x *DeptModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptModel.ProtoReflect.Descriptor instead.
func (*DeptModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{1}
}
func (x *DeptModel) GetDeptId() string {
if x != nil {
return x.DeptId
}
return ""
}
func (x *DeptModel) GetDeptCode() string {
if x != nil {
return x.DeptCode
}
return ""
}
func (x *DeptModel) GetDeptName() string {
if x != nil {
return x.DeptName
}
return ""
}
func (x *DeptModel) GetDeptType() string {
if x != nil {
return x.DeptType
}
return ""
}
func (x *DeptModel) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *DeptModel) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
func (x *DeptModel) GetDepth_() int32 {
if x != nil {
return x.Depth_
}
return 0
}
func (x *DeptModel) GetOrderBy() int32 {
if x != nil {
return x.OrderBy
}
return 0
}
func (x *DeptModel) GetStatus_() bool {
if x != nil {
return x.Status_
}
return false
}
func (x *DeptModel) GetVision_() int32 {
if x != nil {
return x.Vision_
}
return 0
}
func (x *DeptModel) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *DeptModel) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *DeptModel) GetUpdateBy() string {
if x != nil {
return x.UpdateBy
}
return ""
}
func (x *DeptModel) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *DeptModel) GetChildren() []*DeptModel {
if x != nil {
return x.Children
}
return nil
}
// 组织机构列表
type DeptList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*DeptModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *DeptList) Reset() {
*x = DeptList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptList) ProtoMessage() {}
func (x *DeptList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptList.ProtoReflect.Descriptor instead.
func (*DeptList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{2}
}
func (x *DeptList) GetResults() []*DeptModel {
if x != nil {
return x.Results
}
return nil
}
// 组织机构分页
type DeptPage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*DeptModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// 当前页码
CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
// 页尺寸
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// 总记录数
TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// 本页小计
SubTotalDto *DeptModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
// 合计
TotalDto *DeptModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
}
func (x *DeptPage) Reset() {
*x = DeptPage{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptPage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptPage) ProtoMessage() {}
func (x *DeptPage) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptPage.ProtoReflect.Descriptor instead.
func (*DeptPage) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{3}
}
func (x *DeptPage) GetResults() []*DeptModel {
if x != nil {
return x.Results
}
return nil
}
func (x *DeptPage) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *DeptPage) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *DeptPage) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *DeptPage) GetSubTotalDto() *DeptModelTotal {
if x != nil {
return x.SubTotalDto
}
return nil
}
func (x *DeptPage) GetTotalDto() *DeptModelTotal {
if x != nil {
return x.TotalDto
}
return nil
}
// 合计
type DeptModelTotal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 总记录数
TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
}
func (x *DeptModelTotal) Reset() {
*x = DeptModelTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptModelTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptModelTotal) ProtoMessage() {}
func (x *DeptModelTotal) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptModelTotal.ProtoReflect.Descriptor instead.
func (*DeptModelTotal) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{4}
}
func (x *DeptModelTotal) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
// 组织机构Key
type DeptKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
DeptId string `protobuf:"bytes,2,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
}
func (x *DeptKey) Reset() {
*x = DeptKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptKey) ProtoMessage() {}
func (x *DeptKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptKey.ProtoReflect.Descriptor instead.
func (*DeptKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{5}
}
func (x *DeptKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptKey) GetDeptId() string {
if x != nil {
return x.DeptId
}
return ""
}
// 组织机构List
type DeptKeyList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
DeptId []string `protobuf:"bytes,2,rep,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
}
func (x *DeptKeyList) Reset() {
*x = DeptKeyList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptKeyList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptKeyList) ProtoMessage() {}
func (x *DeptKeyList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptKeyList.ProtoReflect.Descriptor instead.
func (*DeptKeyList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{6}
}
func (x *DeptKeyList) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptKeyList) GetDeptId() []string {
if x != nil {
return x.DeptId
}
return nil
}
// 组织机构新增实体
type DeptCreateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// 部门编码
DeptCode string `protobuf:"bytes,4,opt,name=dept_code,json=deptCode,proto3" json:"dept_code,omitempty"`
// 部门名称
DeptName string `protobuf:"bytes,5,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"`
// 部门类型
DeptType string `protobuf:"bytes,6,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"`
// 父部门
ParentId string `protobuf:"bytes,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 部门描述
Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
// 状态
Status_ bool `protobuf:"varint,11,opt,name=status_,json=status,proto3" json:"status_,omitempty"`
}
func (x *DeptCreateReq) Reset() {
*x = DeptCreateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptCreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptCreateReq) ProtoMessage() {}
func (x *DeptCreateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptCreateReq.ProtoReflect.Descriptor instead.
func (*DeptCreateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{7}
}
func (x *DeptCreateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptCreateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *DeptCreateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *DeptCreateReq) GetDeptCode() string {
if x != nil {
return x.DeptCode
}
return ""
}
func (x *DeptCreateReq) GetDeptName() string {
if x != nil {
return x.DeptName
}
return ""
}
func (x *DeptCreateReq) GetDeptType() string {
if x != nil {
return x.DeptType
}
return ""
}
func (x *DeptCreateReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *DeptCreateReq) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
func (x *DeptCreateReq) GetStatus_() bool {
if x != nil {
return x.Status_
}
return false
}
// 组织机构修改实体
type DeptUpdateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// 更新字段掩码.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// 部门ID
DeptId string `protobuf:"bytes,5,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
// 部门编码
DeptCode string `protobuf:"bytes,6,opt,name=dept_code,json=deptCode,proto3" json:"dept_code,omitempty"`
// 部门名称
DeptName string `protobuf:"bytes,7,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"`
// 部门类型
DeptType string `protobuf:"bytes,8,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"`
// 父部门
ParentId string `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// 部门描述
Description_ string `protobuf:"bytes,10,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
// 状态
Status_ bool `protobuf:"varint,11,opt,name=status_,json=status,proto3" json:"status_,omitempty"`
}
func (x *DeptUpdateReq) Reset() {
*x = DeptUpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptUpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptUpdateReq) ProtoMessage() {}
func (x *DeptUpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptUpdateReq.ProtoReflect.Descriptor instead.
func (*DeptUpdateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{8}
}
func (x *DeptUpdateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptUpdateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *DeptUpdateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *DeptUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *DeptUpdateReq) GetDeptId() string {
if x != nil {
return x.DeptId
}
return ""
}
func (x *DeptUpdateReq) GetDeptCode() string {
if x != nil {
return x.DeptCode
}
return ""
}
func (x *DeptUpdateReq) GetDeptName() string {
if x != nil {
return x.DeptName
}
return ""
}
func (x *DeptUpdateReq) GetDeptType() string {
if x != nil {
return x.DeptType
}
return ""
}
func (x *DeptUpdateReq) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *DeptUpdateReq) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
func (x *DeptUpdateReq) GetStatus_() bool {
if x != nil {
return x.Status_
}
return false
}
type DeptExportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 标题
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// 字段列表
TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"`
// 显示文件名
FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 筛选条件
Req *DeptReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"`
}
func (x *DeptExportReq) Reset() {
*x = DeptExportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptExportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptExportReq) ProtoMessage() {}
func (x *DeptExportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptExportReq.ProtoReflect.Descriptor instead.
func (*DeptExportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{9}
}
func (x *DeptExportReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptExportReq) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *DeptExportReq) GetTableHeads() []*basic.TableHead {
if x != nil {
return x.TableHeads
}
return nil
}
func (x *DeptExportReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *DeptExportReq) GetReq() *DeptReq {
if x != nil {
return x.Req
}
return nil
}
// 部门导入请求
type DeptImportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 文件名
FileNames string `protobuf:"bytes,3,opt,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"`
// 是否新增标识
AddFlag bool `protobuf:"varint,4,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"`
// 更新字段掩码.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
func (x *DeptImportReq) Reset() {
*x = DeptImportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeptImportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeptImportReq) ProtoMessage() {}
func (x *DeptImportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 DeptImportReq.ProtoReflect.Descriptor instead.
func (*DeptImportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{10}
}
func (x *DeptImportReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DeptImportReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *DeptImportReq) GetFileNames() string {
if x != nil {
return x.FileNames
}
return ""
}
func (x *DeptImportReq) GetAddFlag() bool {
if x != nil {
return x.AddFlag
}
return false
}
func (x *DeptImportReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
type EnableDeptReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 是否启用
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
// 部门
DeptId []string `protobuf:"bytes,3,rep,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
}
func (x *EnableDeptReq) Reset() {
*x = EnableDeptReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EnableDeptReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnableDeptReq) ProtoMessage() {}
func (x *EnableDeptReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_dept_message_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 EnableDeptReq.ProtoReflect.Descriptor instead.
func (*EnableDeptReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP(), []int{11}
}
func (x *EnableDeptReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *EnableDeptReq) GetEnable() bool {
if x != nil {
return x.Enable
}
return false
}
func (x *EnableDeptReq) GetDeptId() []string {
if x != nil {
return x.DeptId
}
return nil
}
var File_jmash_rbac_protobuf_rbac_dept_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDesc = []byte{
0x0a, 0x2b, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x5f,
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c,
0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6a, 0x6d,
0x61, 0x73, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x62, 0x61, 0x73,
0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x01, 0x0a, 0x07, 0x44, 0x65, 0x70,
0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f,
0x72, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
0x6f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x73, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61,
0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65,
0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x64, 0x65,
0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c,
0x69, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x68,
0x61, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
0x09, 0x68, 0x61, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x64,
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49,
0x64, 0x22, 0x86, 0x04, 0x0a, 0x09, 0x44, 0x65, 0x70, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
0x17, 0x0a, 0x07, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x64, 0x65, 0x70, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74,
0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70,
0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x06, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
0x15, 0x0a, 0x06, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
0x62, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42,
0x79, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x18, 0x09, 0x20, 0x01,
0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x76, 0x69,
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x76, 0x69, 0x73,
0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79,
0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70,
0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64,
0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64,
0x72, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73,
0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x44, 0x65, 0x70, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x22, 0x3b, 0x0a, 0x08, 0x44, 0x65,
0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e,
0x72, 0x62, 0x61, 0x63, 0x2e, 0x44, 0x65, 0x70, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07,
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x8b, 0x02, 0x0a, 0x08, 0x44, 0x65, 0x70, 0x74,
0x50, 0x61, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x44, 0x65, 0x70, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x67,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x75, 0x72, 0x50, 0x61, 0x67, 0x65,
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, 0x1d, 0x0a,
0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3e, 0x0a, 0x0d,
0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18, 0x05, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x44, 0x65, 0x70, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52,
0x0b, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x12, 0x37, 0x0a, 0x09,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x44, 0x65, 0x70,
0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x08, 0x74, 0x6f, 0x74,
0x61, 0x6c, 0x44, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x74, 0x4d, 0x6f, 0x64,
0x65, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74,
0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3a, 0x0a, 0x07, 0x44, 0x65, 0x70, 0x74, 0x4b, 0x65,
0x79, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x65, 0x70,
0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x70, 0x74,
0x49, 0x64, 0x22, 0x3e, 0x0a, 0x0b, 0x44, 0x65, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x4c, 0x69, 0x73,
0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x65, 0x70,
0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x70, 0x74,
0x49, 0x64, 0x22, 0x9b, 0x02, 0x0a, 0x0d, 0x44, 0x65, 0x70, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74,
0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76,
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01,
0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79,
0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a,
0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65,
0x70, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64,
0x65, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e,
0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65,
0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x5f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
0x22, 0xf1, 0x02, 0x0a, 0x0d, 0x44, 0x65, 0x70, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c,
0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x3b,
0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52,
0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x64,
0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65,
0x70, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x63, 0x6f, 0x64,
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x43, 0x6f, 0x64,
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
0x0a, 0x09, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x64, 0x65, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70,
0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x70, 0x74, 0x45, 0x78, 0x70,
0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x14,
0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
0x69, 0x74, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x65,
0x61, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73,
0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65,
0x48, 0x65, 0x61, 0x64, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x73,
0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
0x03, 0x72, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6a, 0x6d, 0x61,
0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x44, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x52,
0x03, 0x72, 0x65, 0x71, 0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x70, 0x74, 0x49, 0x6d, 0x70,
0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1d,
0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a,
0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08,
0x61, 0x64, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
0x61, 0x64, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
0x4d, 0x61, 0x73, 0x6b, 0x22, 0x58, 0x0a, 0x0d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65,
0x70, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x16, 0x0a,
0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64,
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x70, 0x74, 0x49, 0x64, 0x42, 0x33,
0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x09, 0x44, 0x65, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x0f, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x3b, 0x72,
0x62, 0x61, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_jmash_rbac_protobuf_rbac_dept_message_proto_goTypes = []interface{}{
(*DeptReq)(nil), // 0: jmash.rbac.DeptReq
(*DeptModel)(nil), // 1: jmash.rbac.DeptModel
(*DeptList)(nil), // 2: jmash.rbac.DeptList
(*DeptPage)(nil), // 3: jmash.rbac.DeptPage
(*DeptModelTotal)(nil), // 4: jmash.rbac.DeptModelTotal
(*DeptKey)(nil), // 5: jmash.rbac.DeptKey
(*DeptKeyList)(nil), // 6: jmash.rbac.DeptKeyList
(*DeptCreateReq)(nil), // 7: jmash.rbac.DeptCreateReq
(*DeptUpdateReq)(nil), // 8: jmash.rbac.DeptUpdateReq
(*DeptExportReq)(nil), // 9: jmash.rbac.DeptExportReq
(*DeptImportReq)(nil), // 10: jmash.rbac.DeptImportReq
(*EnableDeptReq)(nil), // 11: jmash.rbac.EnableDeptReq
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
(*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
(*basic.TableHead)(nil), // 14: jmash.protobuf.TableHead
}
var file_jmash_rbac_protobuf_rbac_dept_message_proto_depIdxs = []int32{
12, // 0: jmash.rbac.DeptModel.create_time:type_name -> google.protobuf.Timestamp
12, // 1: jmash.rbac.DeptModel.update_time:type_name -> google.protobuf.Timestamp
1, // 2: jmash.rbac.DeptModel.children:type_name -> jmash.rbac.DeptModel
1, // 3: jmash.rbac.DeptList.results:type_name -> jmash.rbac.DeptModel
1, // 4: jmash.rbac.DeptPage.results:type_name -> jmash.rbac.DeptModel
4, // 5: jmash.rbac.DeptPage.sub_total_dto:type_name -> jmash.rbac.DeptModelTotal
4, // 6: jmash.rbac.DeptPage.total_dto:type_name -> jmash.rbac.DeptModelTotal
13, // 7: jmash.rbac.DeptUpdateReq.update_mask:type_name -> google.protobuf.FieldMask
14, // 8: jmash.rbac.DeptExportReq.table_heads:type_name -> jmash.protobuf.TableHead
0, // 9: jmash.rbac.DeptExportReq.req:type_name -> jmash.rbac.DeptReq
13, // 10: jmash.rbac.DeptImportReq.update_mask:type_name -> google.protobuf.FieldMask
11, // [11:11] is the sub-list for method output_type
11, // [11:11] is the sub-list for method input_type
11, // [11:11] is the sub-list for extension type_name
11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_rbac_dept_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_dept_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_dept_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptPage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptModelTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptKeyList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptCreateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptUpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptExportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeptImportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EnableDeptReq); 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_jmash_rbac_protobuf_rbac_dept_message_proto_rawDesc,
NumEnums: 0,
NumMessages: 12,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_dept_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_dept_message_proto_depIdxs,
MessageInfos: file_jmash_rbac_protobuf_rbac_dept_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_dept_message_proto = out.File
file_jmash_rbac_protobuf_rbac_dept_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_dept_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_dept_message_proto_depIdxs = nil
}
Java
1
https://gitee.com/jmash/rbac.git
git@gitee.com:jmash/rbac.git
jmash
rbac
rbac
51cf8a90f5e4

搜索帮助