3320 lines
100 KiB
Go
3320 lines
100 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v5.29.3
|
|
// source: organize.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
_ "git.nobla.cn/golang/aeus/pkg/proto/rest"
|
|
_ "github.com/envoyproxy/protoc-gen-validate/validate"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
_ "google.golang.org/protobuf/types/descriptorpb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
// Menu 菜单模型定义
|
|
type Menu struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
|
Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
|
|
Uri string `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"`
|
|
ViewPath string `protobuf:"bytes,8,opt,name=view_path,json=viewPath,proto3" json:"view_path,omitempty"`
|
|
Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
Hidden bool `protobuf:"varint,10,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
Public bool `protobuf:"varint,11,opt,name=public,proto3" json:"public,omitempty"`
|
|
Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
|
|
Position int64 `protobuf:"varint,13,opt,name=position,proto3" json:"position,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Menu) Reset() {
|
|
*x = Menu{}
|
|
mi := &file_organize_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Menu) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Menu) ProtoMessage() {}
|
|
|
|
func (x *Menu) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Menu.ProtoReflect.Descriptor instead.
|
|
func (*Menu) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Menu) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Menu) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Menu) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Menu) GetParent() string {
|
|
if x != nil {
|
|
return x.Parent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetViewPath() string {
|
|
if x != nil {
|
|
return x.ViewPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetIcon() string {
|
|
if x != nil {
|
|
return x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Menu) GetPublic() bool {
|
|
if x != nil {
|
|
return x.Public
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Menu) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetPosition() int64 {
|
|
if x != nil {
|
|
return x.Position
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Role 角色模型定义
|
|
type Role struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
|
|
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Role) Reset() {
|
|
*x = Role{}
|
|
mi := &file_organize_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Role) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Role) ProtoMessage() {}
|
|
|
|
func (x *Role) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Role.ProtoReflect.Descriptor instead.
|
|
func (*Role) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Role) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Role) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Role) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Role) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Role) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Role) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Permission 权限模型定义
|
|
type Permission struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Menu string `protobuf:"bytes,4,opt,name=menu,proto3" json:"menu,omitempty"`
|
|
Permission string `protobuf:"bytes,5,opt,name=permission,proto3" json:"permission,omitempty"`
|
|
Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Permission) Reset() {
|
|
*x = Permission{}
|
|
mi := &file_organize_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Permission) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Permission) ProtoMessage() {}
|
|
|
|
func (x *Permission) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Permission.ProtoReflect.Descriptor instead.
|
|
func (*Permission) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Permission) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Permission) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Permission) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Permission) GetMenu() string {
|
|
if x != nil {
|
|
return x.Menu
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Permission) GetPermission() string {
|
|
if x != nil {
|
|
return x.Permission
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Permission) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// RolePermission 角色权限关联表
|
|
type RolePermission struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
|
Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RolePermission) Reset() {
|
|
*x = RolePermission{}
|
|
mi := &file_organize_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RolePermission) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RolePermission) ProtoMessage() {}
|
|
|
|
func (x *RolePermission) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RolePermission.ProtoReflect.Descriptor instead.
|
|
func (*RolePermission) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RolePermission) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RolePermission) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RolePermission) GetPermission() string {
|
|
if x != nil {
|
|
return x.Permission
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// User 用户模型定义
|
|
type User struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
|
|
Role string `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"`
|
|
Admin bool `protobuf:"varint,7,opt,name=admin,proto3" json:"admin,omitempty"`
|
|
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
|
DeptId int64 `protobuf:"varint,9,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
|
|
Tag string `protobuf:"bytes,10,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
|
|
Email string `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"`
|
|
Avatar string `protobuf:"bytes,13,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Gender string `protobuf:"bytes,14,opt,name=gender,proto3" json:"gender,omitempty"`
|
|
Description string `protobuf:"bytes,15,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *User) Reset() {
|
|
*x = User{}
|
|
mi := &file_organize_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *User) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*User) ProtoMessage() {}
|
|
|
|
func (x *User) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *User) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetAdmin() bool {
|
|
if x != nil {
|
|
return x.Admin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *User) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetDeptId() int64 {
|
|
if x != nil {
|
|
return x.DeptId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetTag() string {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetGender() string {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Department 部门模型定义
|
|
type Department struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
|
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Department) Reset() {
|
|
*x = Department{}
|
|
mi := &file_organize_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Department) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Department) ProtoMessage() {}
|
|
|
|
func (x *Department) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Department.ProtoReflect.Descriptor instead.
|
|
func (*Department) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *Department) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Department) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Department) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Department) GetParentId() int64 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Department) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Department) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Login struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
Browser string `protobuf:"bytes,6,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
Os string `protobuf:"bytes,7,opt,name=os,proto3" json:"os,omitempty"`
|
|
Platform string `protobuf:"bytes,8,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
AccessToken string `protobuf:"bytes,9,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
UserAgent string `protobuf:"bytes,10,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Login) Reset() {
|
|
*x = Login{}
|
|
mi := &file_organize_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Login) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Login) ProtoMessage() {}
|
|
|
|
func (x *Login) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Login.ProtoReflect.Descriptor instead.
|
|
func (*Login) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Login) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Login) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Login) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Login) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Login) GetBrowser() string {
|
|
if x != nil {
|
|
return x.Browser
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Login) GetOs() string {
|
|
if x != nil {
|
|
return x.Os
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Login) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Login) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Login) GetUserAgent() string {
|
|
if x != nil {
|
|
return x.UserAgent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LabelValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LabelValue) Reset() {
|
|
*x = LabelValue{}
|
|
mi := &file_organize_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LabelValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LabelValue) ProtoMessage() {}
|
|
|
|
func (x *LabelValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LabelValue.ProtoReflect.Descriptor instead.
|
|
func (*LabelValue) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *LabelValue) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LabelValue) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PermissionItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PermissionItem) Reset() {
|
|
*x = PermissionItem{}
|
|
mi := &file_organize_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PermissionItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PermissionItem) ProtoMessage() {}
|
|
|
|
func (x *PermissionItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PermissionItem.ProtoReflect.Descriptor instead.
|
|
func (*PermissionItem) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *PermissionItem) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PermissionItem) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// MenuItem 菜单数据
|
|
type MenuItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
Public bool `protobuf:"varint,5,opt,name=public,proto3" json:"public,omitempty"`
|
|
Route string `protobuf:"bytes,6,opt,name=route,proto3" json:"route,omitempty"`
|
|
View string `protobuf:"bytes,7,opt,name=view,proto3" json:"view,omitempty"`
|
|
Permissions []*PermissionItem `protobuf:"bytes,8,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
Children []*MenuItem `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenuItem) Reset() {
|
|
*x = MenuItem{}
|
|
mi := &file_organize_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenuItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenuItem) ProtoMessage() {}
|
|
|
|
func (x *MenuItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MenuItem.ProtoReflect.Descriptor instead.
|
|
func (*MenuItem) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *MenuItem) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetIcon() string {
|
|
if x != nil {
|
|
return x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MenuItem) GetPublic() bool {
|
|
if x != nil {
|
|
return x.Public
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MenuItem) GetRoute() string {
|
|
if x != nil {
|
|
return x.Route
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetView() string {
|
|
if x != nil {
|
|
return x.View
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetPermissions() []*PermissionItem {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MenuItem) GetChildren() []*MenuItem {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取菜单的请求
|
|
type GetUserMenuRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Permission bool `protobuf:"varint,1,opt,name=permission,proto3" json:"permission,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserMenuRequest) Reset() {
|
|
*x = GetUserMenuRequest{}
|
|
mi := &file_organize_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserMenuRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserMenuRequest) ProtoMessage() {}
|
|
|
|
func (x *GetUserMenuRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserMenuRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUserMenuRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetUserMenuRequest) GetPermission() bool {
|
|
if x != nil {
|
|
return x.Permission
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 获取菜单的响应
|
|
type GetUserMenuResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*MenuItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserMenuResponse) Reset() {
|
|
*x = GetUserMenuResponse{}
|
|
mi := &file_organize_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserMenuResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserMenuResponse) ProtoMessage() {}
|
|
|
|
func (x *GetUserMenuResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserMenuResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUserMenuResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GetUserMenuResponse) GetData() []*MenuItem {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取用户信息
|
|
type GetProfileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetProfileRequest) Reset() {
|
|
*x = GetProfileRequest{}
|
|
mi := &file_organize_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetProfileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetProfileRequest) ProtoMessage() {}
|
|
|
|
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetProfileRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetProfileRequest) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 获取用户信息
|
|
type GetProfileResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
|
|
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
|
|
Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Admin bool `protobuf:"varint,6,opt,name=admin,proto3" json:"admin,omitempty"`
|
|
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetProfileResponse) Reset() {
|
|
*x = GetProfileResponse{}
|
|
mi := &file_organize_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetProfileResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetProfileResponse) ProtoMessage() {}
|
|
|
|
func (x *GetProfileResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetProfileResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetAdmin() bool {
|
|
if x != nil {
|
|
return x.Admin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetProfileResponse) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResetPasswordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
OldPassword string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
|
|
NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetPasswordRequest) Reset() {
|
|
*x = ResetPasswordRequest{}
|
|
mi := &file_organize_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetPasswordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetPasswordRequest) ProtoMessage() {}
|
|
|
|
func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResetPasswordRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ResetPasswordRequest) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResetPasswordRequest) GetOldPassword() string {
|
|
if x != nil {
|
|
return x.OldPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResetPasswordRequest) GetNewPassword() string {
|
|
if x != nil {
|
|
return x.NewPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResetPasswordResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetPasswordResponse) Reset() {
|
|
*x = ResetPasswordResponse{}
|
|
mi := &file_organize_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetPasswordResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetPasswordResponse) ProtoMessage() {}
|
|
|
|
func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResetPasswordResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ResetPasswordResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateProfileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
|
|
Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) Reset() {
|
|
*x = UpdateProfileRequest{}
|
|
mi := &file_organize_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateProfileRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateProfileRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateProfileResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateProfileResponse) Reset() {
|
|
*x = UpdateProfileResponse{}
|
|
mi := &file_organize_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateProfileResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateProfileResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateProfileResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *UpdateProfileResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPermissionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPermissionRequest) Reset() {
|
|
*x = GetPermissionRequest{}
|
|
mi := &file_organize_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPermissionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPermissionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPermissionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPermissionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPermissionRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetPermissionRequest) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPermissionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPermissionResponse) Reset() {
|
|
*x = GetPermissionResponse{}
|
|
mi := &file_organize_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPermissionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPermissionResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPermissionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPermissionResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPermissionResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetPermissionResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPermissionResponse) GetPermissions() []string {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserLabelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserLabelRequest) Reset() {
|
|
*x = GetUserLabelRequest{}
|
|
mi := &file_organize_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserLabelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserLabelRequest) ProtoMessage() {}
|
|
|
|
func (x *GetUserLabelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserLabelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUserLabelRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type GetUserLabelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*LabelValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserLabelResponse) Reset() {
|
|
*x = GetUserLabelResponse{}
|
|
mi := &file_organize_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserLabelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserLabelResponse) ProtoMessage() {}
|
|
|
|
func (x *GetUserLabelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserLabelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUserLabelResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetUserLabelResponse) GetData() []*LabelValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserTagRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserTagRequest) Reset() {
|
|
*x = GetUserTagRequest{}
|
|
mi := &file_organize_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserTagRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserTagRequest) ProtoMessage() {}
|
|
|
|
func (x *GetUserTagRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserTagRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUserTagRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
type GetUserTagResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*LabelValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserTagResponse) Reset() {
|
|
*x = GetUserTagResponse{}
|
|
mi := &file_organize_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserTagResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserTagResponse) ProtoMessage() {}
|
|
|
|
func (x *GetUserTagResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserTagResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUserTagResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *GetUserTagResponse) GetData() []*LabelValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DepartmentLabelValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DepartmentLabelValue) Reset() {
|
|
*x = DepartmentLabelValue{}
|
|
mi := &file_organize_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DepartmentLabelValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DepartmentLabelValue) ProtoMessage() {}
|
|
|
|
func (x *DepartmentLabelValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DepartmentLabelValue.ProtoReflect.Descriptor instead.
|
|
func (*DepartmentLabelValue) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *DepartmentLabelValue) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DepartmentLabelValue) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DepartmentUserValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Isuser bool `protobuf:"varint,3,opt,name=isuser,proto3" json:"isuser,omitempty"`
|
|
Children []*DepartmentUserValue `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DepartmentUserValue) Reset() {
|
|
*x = DepartmentUserValue{}
|
|
mi := &file_organize_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DepartmentUserValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DepartmentUserValue) ProtoMessage() {}
|
|
|
|
func (x *DepartmentUserValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DepartmentUserValue.ProtoReflect.Descriptor instead.
|
|
func (*DepartmentUserValue) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *DepartmentUserValue) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DepartmentUserValue) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DepartmentUserValue) GetIsuser() bool {
|
|
if x != nil {
|
|
return x.Isuser
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DepartmentUserValue) GetChildren() []*DepartmentUserValue {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetDepartmentLabelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDepartmentLabelRequest) Reset() {
|
|
*x = GetDepartmentLabelRequest{}
|
|
mi := &file_organize_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDepartmentLabelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDepartmentLabelRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDepartmentLabelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDepartmentLabelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentLabelRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
type GetDepartmentLabelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*DepartmentLabelValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDepartmentLabelResponse) Reset() {
|
|
*x = GetDepartmentLabelResponse{}
|
|
mi := &file_organize_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDepartmentLabelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDepartmentLabelResponse) ProtoMessage() {}
|
|
|
|
func (x *GetDepartmentLabelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDepartmentLabelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentLabelResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *GetDepartmentLabelResponse) GetData() []*DepartmentLabelValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetDepartmentUserRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDepartmentUserRequest) Reset() {
|
|
*x = GetDepartmentUserRequest{}
|
|
mi := &file_organize_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDepartmentUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDepartmentUserRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDepartmentUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDepartmentUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
type GetDepartmentUserResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*DepartmentUserValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDepartmentUserResponse) Reset() {
|
|
*x = GetDepartmentUserResponse{}
|
|
mi := &file_organize_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDepartmentUserResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDepartmentUserResponse) ProtoMessage() {}
|
|
|
|
func (x *GetDepartmentUserResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDepartmentUserResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentUserResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *GetDepartmentUserResponse) GetData() []*DepartmentUserValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DepartmentLevelValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Children []*DepartmentLevelValue `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DepartmentLevelValue) Reset() {
|
|
*x = DepartmentLevelValue{}
|
|
mi := &file_organize_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DepartmentLevelValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DepartmentLevelValue) ProtoMessage() {}
|
|
|
|
func (x *DepartmentLevelValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DepartmentLevelValue.ProtoReflect.Descriptor instead.
|
|
func (*DepartmentLevelValue) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *DepartmentLevelValue) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DepartmentLevelValue) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DepartmentLevelValue) GetChildren() []*DepartmentLevelValue {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetDepartmentLevelLabelsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDepartmentLevelLabelsRequest) Reset() {
|
|
*x = GetDepartmentLevelLabelsRequest{}
|
|
mi := &file_organize_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDepartmentLevelLabelsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDepartmentLevelLabelsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDepartmentLevelLabelsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDepartmentLevelLabelsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentLevelLabelsRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
type GetDepartmentLevelLabelsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*DepartmentLevelValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetDepartmentLevelLabelsResponse) Reset() {
|
|
*x = GetDepartmentLevelLabelsResponse{}
|
|
mi := &file_organize_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetDepartmentLevelLabelsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDepartmentLevelLabelsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetDepartmentLevelLabelsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetDepartmentLevelLabelsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentLevelLabelsResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetDepartmentLevelLabelsResponse) GetData() []*DepartmentLevelValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRoleLabelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRoleLabelRequest) Reset() {
|
|
*x = GetRoleLabelRequest{}
|
|
mi := &file_organize_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRoleLabelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRoleLabelRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRoleLabelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRoleLabelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRoleLabelRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
type GetRoleLabelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*LabelValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRoleLabelResponse) Reset() {
|
|
*x = GetRoleLabelResponse{}
|
|
mi := &file_organize_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRoleLabelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRoleLabelResponse) ProtoMessage() {}
|
|
|
|
func (x *GetRoleLabelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRoleLabelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRoleLabelResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *GetRoleLabelResponse) GetData() []*LabelValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRolePermissionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRolePermissionRequest) Reset() {
|
|
*x = GetRolePermissionRequest{}
|
|
mi := &file_organize_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRolePermissionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRolePermissionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRolePermissionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRolePermissionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRolePermissionRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *GetRolePermissionRequest) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetRolePermissionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
|
|
Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRolePermissionResponse) Reset() {
|
|
*x = GetRolePermissionResponse{}
|
|
mi := &file_organize_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRolePermissionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRolePermissionResponse) ProtoMessage() {}
|
|
|
|
func (x *GetRolePermissionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRolePermissionResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRolePermissionResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *GetRolePermissionResponse) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetRolePermissionResponse) GetPermissions() []string {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SaveRolePermissionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
|
|
Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveRolePermissionRequest) Reset() {
|
|
*x = SaveRolePermissionRequest{}
|
|
mi := &file_organize_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveRolePermissionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveRolePermissionRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveRolePermissionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveRolePermissionRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveRolePermissionRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *SaveRolePermissionRequest) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SaveRolePermissionRequest) GetPermissions() []string {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SaveRolePermissionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveRolePermissionResponse) Reset() {
|
|
*x = SaveRolePermissionResponse{}
|
|
mi := &file_organize_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveRolePermissionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveRolePermissionResponse) ProtoMessage() {}
|
|
|
|
func (x *SaveRolePermissionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveRolePermissionResponse.ProtoReflect.Descriptor instead.
|
|
func (*SaveRolePermissionResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *SaveRolePermissionResponse) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MenuLevelValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Children []*MenuLevelValue `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenuLevelValue) Reset() {
|
|
*x = MenuLevelValue{}
|
|
mi := &file_organize_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenuLevelValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenuLevelValue) ProtoMessage() {}
|
|
|
|
func (x *MenuLevelValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MenuLevelValue.ProtoReflect.Descriptor instead.
|
|
func (*MenuLevelValue) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *MenuLevelValue) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuLevelValue) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuLevelValue) GetChildren() []*MenuLevelValue {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMenuLevelLabelsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMenuLevelLabelsRequest) Reset() {
|
|
*x = GetMenuLevelLabelsRequest{}
|
|
mi := &file_organize_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMenuLevelLabelsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMenuLevelLabelsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMenuLevelLabelsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMenuLevelLabelsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMenuLevelLabelsRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
type GetMenuLevelLabelsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*MenuLevelValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMenuLevelLabelsResponse) Reset() {
|
|
*x = GetMenuLevelLabelsResponse{}
|
|
mi := &file_organize_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMenuLevelLabelsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMenuLevelLabelsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMenuLevelLabelsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMenuLevelLabelsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMenuLevelLabelsResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *GetMenuLevelLabelsResponse) GetData() []*MenuLevelValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MenuValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
|
|
Children []*MenuValue `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenuValue) Reset() {
|
|
*x = MenuValue{}
|
|
mi := &file_organize_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenuValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenuValue) ProtoMessage() {}
|
|
|
|
func (x *MenuValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MenuValue.ProtoReflect.Descriptor instead.
|
|
func (*MenuValue) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *MenuValue) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MenuValue) GetParent() string {
|
|
if x != nil {
|
|
return x.Parent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuValue) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuValue) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuValue) GetChildren() []*MenuValue {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMenuRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMenuRequest) Reset() {
|
|
*x = GetMenuRequest{}
|
|
mi := &file_organize_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMenuRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMenuRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMenuRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMenuRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMenuRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
type GetMenuResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*MenuValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMenuResponse) Reset() {
|
|
*x = GetMenuResponse{}
|
|
mi := &file_organize_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMenuResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMenuResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMenuResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMenuResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMenuResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *GetMenuResponse) GetData() []*MenuValue {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LoginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginRequest) Reset() {
|
|
*x = LoginRequest{}
|
|
mi := &file_organize_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *LoginRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
|
|
Expires int64 `protobuf:"varint,4,opt,name=expires,proto3" json:"expires,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginResponse) Reset() {
|
|
*x = LoginResponse{}
|
|
mi := &file_organize_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginResponse) ProtoMessage() {}
|
|
|
|
func (x *LoginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
|
|
func (*LoginResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *LoginResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetExpires() int64 {
|
|
if x != nil {
|
|
return x.Expires
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LogoutRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LogoutRequest) Reset() {
|
|
*x = LogoutRequest{}
|
|
mi := &file_organize_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LogoutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LogoutRequest) ProtoMessage() {}
|
|
|
|
func (x *LogoutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
|
|
func (*LogoutRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *LogoutRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LogoutResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LogoutResponse) Reset() {
|
|
*x = LogoutResponse{}
|
|
mi := &file_organize_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LogoutResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LogoutResponse) ProtoMessage() {}
|
|
|
|
func (x *LogoutResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_organize_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
|
|
func (*LogoutResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *LogoutResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_organize_proto protoreflect.FileDescriptor
|
|
|
|
const file_organize_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0eorganize.proto\x12\borganize\x1a\x0faeus/rest.proto\x1a\x17validate/validate.proto\x1a google/protobuf/descriptor.proto\x1a\x1cgoogle/api/annotations.proto\"\xc2\b\n" +
|
|
"\x04Menu\x12*\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x1a\xb2\xb9\x19\x16\n" +
|
|
"\n" +
|
|
"primaryKey\x12\b菜单IDR\x02id\x12>\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B\x1f\xb2\xb9\x19\x1b\x12\f创建时间\x1a\vview;exportR\tcreatedAt\x12E\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\n" +
|
|
"\x05index\x12\f更新时间\x1a\vview;exportR\tupdatedAt\x12\x91\x01\n" +
|
|
"\x06parent\x18\x04 \x01(\tBy\xb2\xb9\x19u\n" +
|
|
"\rindex;size:60\x12\f父级菜单\x1a\x19create;update;view;export*\x04menu2\x0freadonly:updateB$type:dropdown;url:/menu/level-labelsR\x06parent\x12^\n" +
|
|
"\x04name\x18\x05 \x01(\tBJ\xfaB\x04r\x02\x18<\xb2\xb9\x19?\n" +
|
|
"\rindex;size:60\x12\f组件名称2\x0freadonly:update:\x0funique;requiredR\x04name\x12C\n" +
|
|
"\x05label\x18\x06 \x01(\tB-\xfaB\x04r\x02\x18x\xb2\xb9\x19\"\n" +
|
|
"\bsize:120\x12\f菜单标题:\brequiredR\x05label\x12[\n" +
|
|
"\x03uri\x18\a \x01(\tBI\xfaB\x05r\x03\x18\x80\x04\xb2\xb9\x19=\n" +
|
|
"\bsize:512\x12\f菜单链接\x1a\x19create;update;view;export:\brequiredR\x03uri\x12\\\n" +
|
|
"\tview_path\x18\b \x01(\tB?\xfaB\x05r\x03\x18\x80\x04\xb2\xb9\x193\n" +
|
|
"\bsize:512\x12\f视图路径\x1a\x19create;update;view;exportR\bviewPath\x12Q\n" +
|
|
"\x04icon\x18\t \x01(\tB=\xfaB\x04r\x02\x18<\xb2\xb9\x192\n" +
|
|
"\asize:60\x12\f菜单图标\x1a\x19create;update;view;exportR\x04icon\x12E\n" +
|
|
"\x06hidden\x18\n" +
|
|
" \x01(\bB-\xb2\xb9\x19)\x12\f是否隐藏\x1a\x19create;update;view;exportR\x06hidden\x12E\n" +
|
|
"\x06public\x18\v \x01(\bB-\xb2\xb9\x19)\x12\f是否公开\x1a\x19create;update;view;exportR\x06public\x12l\n" +
|
|
"\vdescription\x18\f \x01(\tBJ\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19>\n" +
|
|
"\tsize:1024\x12\f备注说明\x1a\x19create;update;view;export*\btextareaR\vdescription\x127\n" +
|
|
"\bposition\x18\r \x01(\x03B\x1b\xb2\xb9\x19\x17\x12\x06排序\x1a\rcreate;updateR\bposition:\v\xba\xb9\x19\a\n" +
|
|
"\x05menus\"\xd1\x03\n" +
|
|
"\x04Role\x12*\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x1a\xb2\xb9\x19\x16\n" +
|
|
"\n" +
|
|
"primaryKey\x12\b角色IDR\x02id\x12>\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B\x1f\xb2\xb9\x19\x1b\x12\f创建时间\x1a\vview;exportR\tcreatedAt\x12E\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\n" +
|
|
"\x05index\x12\f更新时间\x1a\vview;exportR\tupdatedAt\x12W\n" +
|
|
"\x04name\x18\x04 \x01(\tBC\xfaB\x04r\x02\x18<\xb2\xb9\x198\n" +
|
|
"\rindex;size:60\x12\f角色名称2\x0freadonly:update:\brequiredR\x04name\x12B\n" +
|
|
"\x05label\x18\x05 \x01(\tB,\xfaB\x04r\x02\x18<\xb2\xb9\x19!\n" +
|
|
"\asize:60\x12\f角色标题:\brequiredR\x05label\x12l\n" +
|
|
"\vdescription\x18\x06 \x01(\tBJ\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19>\n" +
|
|
"\tsize:1024\x12\f备注说明\x1a\x19list;create;update;export*\btextareaR\vdescription:\v\xba\xb9\x19\a\n" +
|
|
"\x05roles\"\xb1\x03\n" +
|
|
"\n" +
|
|
"Permission\x12*\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x1a\xb2\xb9\x19\x16\n" +
|
|
"\n" +
|
|
"primaryKey\x12\b权限IDR\x02id\x12>\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B\x1f\xb2\xb9\x19\x1b\x12\f创建时间\x1a\vview;exportR\tcreatedAt\x12E\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\n" +
|
|
"\x05index\x12\f更新时间\x1a\vview;exportR\tupdatedAt\x12E\n" +
|
|
"\x04menu\x18\x04 \x01(\tB1\xb2\xb9\x19-\n" +
|
|
"\rindex;size:60\x12\f所属菜单*\x04menu:\brequiredR\x04menu\x12R\n" +
|
|
"\n" +
|
|
"permission\x18\x05 \x01(\tB2\xfaB\x04r\x02\x18<\xb2\xb9\x19'\n" +
|
|
"\rindex;size:60\x12\f权限名称:\brequiredR\n" +
|
|
"permission\x12B\n" +
|
|
"\x05label\x18\x06 \x01(\tB,\xfaB\x04r\x02\x18<\xb2\xb9\x19!\n" +
|
|
"\asize:60\x12\f权限标题:\brequiredR\x05label:\x11\xba\xb9\x19\r\n" +
|
|
"\vpermissions\"\xd1\x01\n" +
|
|
"\x0eRolePermission\x12$\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" +
|
|
"\n" +
|
|
"primaryKey\x12\x02IDR\x02id\x12@\n" +
|
|
"\x04role\x18\x02 \x01(\tB,\xfaB\x04r\x02\x18<\xb2\xb9\x19!\n" +
|
|
"\rindex;size:60\x12\x06角色:\brequiredR\x04role\x12?\n" +
|
|
"\n" +
|
|
"permission\x18\x03 \x01(\tB\x1f\xb2\xb9\x19\x1b\n" +
|
|
"\asize:60\x12\x06权限:\brequiredR\n" +
|
|
"permission:\x16\xba\xb9\x19\x12\n" +
|
|
"\x10role_permissions\"\xa2\v\n" +
|
|
"\x04User\x12$\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" +
|
|
"\n" +
|
|
"primaryKey\x12\x02IDR\x02id\x12>\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B\x1f\xb2\xb9\x19\x1b\x12\f创建时间\x1a\vview;exportR\tcreatedAt\x12E\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\n" +
|
|
"\x05index\x12\f更新时间\x1a\vview;exportR\tupdatedAt\x12x\n" +
|
|
"\x03uid\x18\x04 \x01(\tBf\xfaB\x06r\x04\x10\x05\x18\x14\xb2\xb9\x19Y\n" +
|
|
"\rindex;size:20\x12\f用户工号2\x0freadonly:update:)required;unique;regexp:^[a-zA-Z0-9]{3,8}$R\x03uid\x12J\n" +
|
|
"\busername\x18\x05 \x01(\tB.\xfaB\x06r\x04\x10\x05\x18\x14\xb2\xb9\x19!\n" +
|
|
"\asize:20\x12\f用户名称:\brequiredR\busername\x12z\n" +
|
|
"\x04role\x18\x06 \x01(\tBf\xfaB\x04r\x02\x18<\xb2\xb9\x19[\n" +
|
|
"\x1bsize:60;not null;default:''\x12\f所属角色*\x04role:\brequiredB\x1etype:dropdown;url:/role/labelsR\x04role\x12-\n" +
|
|
"\x05admin\x18\a \x01(\bB\x17\xb2\xb9\x19\x13\x12\t管理员\x1a\x06createR\x05admin\x12u\n" +
|
|
"\x06status\x18\b \x01(\tB]\xb2\xb9\x19Y\n" +
|
|
"\x16size:20;default:normal\x12\x06状态\x1a\x19create,update,list,searchR\x1cnormal:正常;disable:禁用R\x06status\x12{\n" +
|
|
"\adept_id\x18\t \x01(\x03Bb\xb2\xb9\x19^\n" +
|
|
"\x12not null;default:0\x12\f所属部门*\n" +
|
|
"department:\brequiredB$type:dropdown;url:/department/labelsR\x06deptId\x12\x88\x01\n" +
|
|
"\x03tag\x18\n" +
|
|
" \x01(\tBv\xfaB\x04r\x02\x18<\xb2\xb9\x19k\n" +
|
|
"\asize:60\x12\f用户标签\x1a\x12list;create;updateB\x1ctype:dropdown;url:/user/tagsJ created;filterable;default_firstR\x03tag\x12P\n" +
|
|
"\bpassword\x18\v \x01(\tB4\xfaB\x04r\x02\x18<\xb2\xb9\x19)\n" +
|
|
"\asize:60\x12\f用户密码\x1a\x06create:\brequiredR\bpassword\x12X\n" +
|
|
"\x05email\x18\f \x01(\tBB\xfaB\x04r\x02\x18<\xb2\xb9\x197\n" +
|
|
"\asize:60\x12\f用户邮箱\x1a\x1ecreate;update;view;list;exportR\x05email\x12C\n" +
|
|
"\x06avatar\x18\r \x01(\tB+\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19\x1f\n" +
|
|
"\tsize:1024\x12\f用户头像\x1a\x04viewR\x06avatar\x12\x90\x01\n" +
|
|
"\x06gender\x18\x0e \x01(\tBx\xfaB\x04r\x02\x18\x14\xb2\xb9\x19m\n" +
|
|
"\x13size:20;default:man\x12\f用户性别\x1a\x1elist;create;update;view;export:\brequiredR\x1eman:男;woman:女;other:其他R\x06gender\x12l\n" +
|
|
"\vdescription\x18\x0f \x01(\tBJ\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19>\n" +
|
|
"\tsize:1024\x12\f备注说明\x1a\x19create;update;view;export*\btextareaR\vdescription:\v\xba\xb9\x19\a\n" +
|
|
"\x05users\"\xea\x03\n" +
|
|
"\n" +
|
|
"Department\x12$\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" +
|
|
"\n" +
|
|
"primaryKey\x12\x02IDR\x02id\x12>\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B\x1f\xb2\xb9\x19\x1b\x12\f创建时间\x1a\vview;exportR\tcreatedAt\x12E\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\n" +
|
|
"\x05index\x12\f更新时间\x1a\vview;exportR\tupdatedAt\x12g\n" +
|
|
"\tparent_id\x18\x04 \x01(\x03BJ\xb2\xb9\x19F\x12\f父级部门*\n" +
|
|
"departmentB*type:dropdown;url:/department/level-labelsR\bparentId\x12@\n" +
|
|
"\x04name\x18\x05 \x01(\tB,\xfaB\x04r\x02\x18\x14\xb2\xb9\x19!\n" +
|
|
"\asize:20\x12\f部门名称:\brequiredR\x04name\x12q\n" +
|
|
"\vdescription\x18\x06 \x01(\tBO\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19C\n" +
|
|
"\tsize:1024\x12\f备注说明\x1a\x1ecreate;update;view;export;list*\btextareaR\vdescription:\x11\xba\xb9\x19\r\n" +
|
|
"\vdepartments\"\x9e\x05\n" +
|
|
"\x05Login\x12$\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" +
|
|
"\n" +
|
|
"primaryKey\x12\x02IDR\x02id\x12J\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B+\xb2\xb9\x19'\x12\f登录时间\x1a\x17list;search;view;exportR\tcreatedAt\x12W\n" +
|
|
"\x03uid\x18\x04 \x01(\tBE\xfaB\x06r\x04\x10\x05\x18\x14\xb2\xb9\x198\n" +
|
|
"\rindex;size:20\x12\x06用户*\x04user2\x0freadonly:update:\brequiredR\x03uid\x12E\n" +
|
|
"\x02ip\x18\x05 \x01(\tB5\xb2\xb9\x191\n" +
|
|
"\bsize:128\x12\f登录地址\x1a\x17list;search;view;exportR\x02ip\x12E\n" +
|
|
"\abrowser\x18\x06 \x01(\tB+\xb2\xb9\x19'\n" +
|
|
"\bsize:128\x12\t浏览器\x1a\x10list;view;exportR\abrowser\x12>\n" +
|
|
"\x02os\x18\a \x01(\tB.\xb2\xb9\x19*\n" +
|
|
"\bsize:128\x12\f操作系统\x1a\x10list;view;exportR\x02os\x12J\n" +
|
|
"\bplatform\x18\b \x01(\tB.\xb2\xb9\x19*\n" +
|
|
"\bsize:128\x12\f系统平台\x1a\x10list;view;exportR\bplatform\x12R\n" +
|
|
"\faccess_token\x18\t \x01(\tB/\xb2\xb9\x19+\n" +
|
|
"\tsize:1024\x12\f访问令牌\x1a\x10list;view;exportR\vaccessToken\x12N\n" +
|
|
"\n" +
|
|
"user_agent\x18\n" +
|
|
" \x01(\tB/\xb2\xb9\x19+\n" +
|
|
"\tsize:1024\x12\f用户代理\x1a\x10list;view;exportR\tuserAgent:\f\xba\xb9\x19\b\n" +
|
|
"\x06logins\"8\n" +
|
|
"\n" +
|
|
"LabelValue\x12\x14\n" +
|
|
"\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value\"<\n" +
|
|
"\x0ePermissionItem\x12\x14\n" +
|
|
"\x05value\x18\x01 \x01(\tR\x05value\x12\x14\n" +
|
|
"\x05label\x18\x02 \x01(\tR\x05label\"\x8e\x02\n" +
|
|
"\bMenuItem\x12\x14\n" +
|
|
"\x05label\x18\x01 \x01(\tR\x05label\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04icon\x18\x03 \x01(\tR\x04icon\x12\x16\n" +
|
|
"\x06hidden\x18\x04 \x01(\bR\x06hidden\x12\x16\n" +
|
|
"\x06public\x18\x05 \x01(\bR\x06public\x12\x14\n" +
|
|
"\x05route\x18\x06 \x01(\tR\x05route\x12\x12\n" +
|
|
"\x04view\x18\a \x01(\tR\x04view\x12:\n" +
|
|
"\vpermissions\x18\b \x03(\v2\x18.organize.PermissionItemR\vpermissions\x12.\n" +
|
|
"\bchildren\x18\t \x03(\v2\x12.organize.MenuItemR\bchildren\"4\n" +
|
|
"\x12GetUserMenuRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"permission\x18\x01 \x01(\bR\n" +
|
|
"permission\"=\n" +
|
|
"\x13GetUserMenuResponse\x12&\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x12.organize.MenuItemR\x04data\"%\n" +
|
|
"\x11GetProfileRequest\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\"\xbc\x01\n" +
|
|
"\x12GetProfileResponse\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x12\n" +
|
|
"\x04role\x18\x03 \x01(\tR\x04role\x12\x14\n" +
|
|
"\x05email\x18\x04 \x01(\tR\x05email\x12\x16\n" +
|
|
"\x06avatar\x18\x05 \x01(\tR\x06avatar\x12\x14\n" +
|
|
"\x05admin\x18\x06 \x01(\bR\x05admin\x12 \n" +
|
|
"\vdescription\x18\a \x01(\tR\vdescription\"n\n" +
|
|
"\x14ResetPasswordRequest\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\x12!\n" +
|
|
"\fold_password\x18\x02 \x01(\tR\voldPassword\x12!\n" +
|
|
"\fnew_password\x18\x03 \x01(\tR\vnewPassword\")\n" +
|
|
"\x15ResetPasswordResponse\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\"\x94\x01\n" +
|
|
"\x14UpdateProfileRequest\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x14\n" +
|
|
"\x05email\x18\x04 \x01(\tR\x05email\x12\x16\n" +
|
|
"\x06avatar\x18\x05 \x01(\tR\x06avatar\x12 \n" +
|
|
"\vdescription\x18\a \x01(\tR\vdescription\")\n" +
|
|
"\x15UpdateProfileResponse\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\"(\n" +
|
|
"\x14GetPermissionRequest\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\"K\n" +
|
|
"\x15GetPermissionResponse\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\x12 \n" +
|
|
"\vpermissions\x18\x02 \x03(\tR\vpermissions\"\x15\n" +
|
|
"\x13GetUserLabelRequest\"@\n" +
|
|
"\x14GetUserLabelResponse\x12(\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x14.organize.LabelValueR\x04data\"\x13\n" +
|
|
"\x11GetUserTagRequest\">\n" +
|
|
"\x12GetUserTagResponse\x12(\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x14.organize.LabelValueR\x04data\"B\n" +
|
|
"\x14DepartmentLabelValue\x12\x14\n" +
|
|
"\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value\"\x94\x01\n" +
|
|
"\x13DepartmentUserValue\x12\x14\n" +
|
|
"\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value\x12\x16\n" +
|
|
"\x06isuser\x18\x03 \x01(\bR\x06isuser\x129\n" +
|
|
"\bchildren\x18\x04 \x03(\v2\x1d.organize.DepartmentUserValueR\bchildren\"\x1b\n" +
|
|
"\x19GetDepartmentLabelRequest\"P\n" +
|
|
"\x1aGetDepartmentLabelResponse\x122\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x1e.organize.DepartmentLabelValueR\x04data\"\x1a\n" +
|
|
"\x18GetDepartmentUserRequest\"N\n" +
|
|
"\x19GetDepartmentUserResponse\x121\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x1d.organize.DepartmentUserValueR\x04data\"~\n" +
|
|
"\x14DepartmentLevelValue\x12\x14\n" +
|
|
"\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value\x12:\n" +
|
|
"\bchildren\x18\x04 \x03(\v2\x1e.organize.DepartmentLevelValueR\bchildren\"!\n" +
|
|
"\x1fGetDepartmentLevelLabelsRequest\"V\n" +
|
|
" GetDepartmentLevelLabelsResponse\x122\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x1e.organize.DepartmentLevelValueR\x04data\"\x15\n" +
|
|
"\x13GetRoleLabelRequest\"@\n" +
|
|
"\x14GetRoleLabelResponse\x12(\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x14.organize.LabelValueR\x04data\".\n" +
|
|
"\x18GetRolePermissionRequest\x12\x12\n" +
|
|
"\x04role\x18\x01 \x01(\tR\x04role\"Q\n" +
|
|
"\x19GetRolePermissionResponse\x12\x12\n" +
|
|
"\x04role\x18\x01 \x01(\tR\x04role\x12 \n" +
|
|
"\vpermissions\x18\x02 \x03(\tR\vpermissions\"Q\n" +
|
|
"\x19SaveRolePermissionRequest\x12\x12\n" +
|
|
"\x04role\x18\x01 \x01(\tR\x04role\x12 \n" +
|
|
"\vpermissions\x18\x02 \x03(\tR\vpermissions\"0\n" +
|
|
"\x1aSaveRolePermissionResponse\x12\x12\n" +
|
|
"\x04role\x18\x01 \x01(\tR\x04role\"r\n" +
|
|
"\x0eMenuLevelValue\x12\x14\n" +
|
|
"\x05label\x18\x01 \x01(\tR\x05label\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value\x124\n" +
|
|
"\bchildren\x18\x04 \x03(\v2\x18.organize.MenuLevelValueR\bchildren\"\x1b\n" +
|
|
"\x19GetMenuLevelLabelsRequest\"J\n" +
|
|
"\x1aGetMenuLevelLabelsResponse\x12,\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x18.organize.MenuLevelValueR\x04data\"\x8e\x01\n" +
|
|
"\tMenuValue\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06parent\x18\x02 \x01(\tR\x06parent\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05label\x18\x04 \x01(\tR\x05label\x12/\n" +
|
|
"\bchildren\x18\x05 \x03(\v2\x13.organize.MenuValueR\bchildren\"\x10\n" +
|
|
"\x0eGetMenuRequest\":\n" +
|
|
"\x0fGetMenuResponse\x12'\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x13.organize.MenuValueR\x04data\"\\\n" +
|
|
"\fLoginRequest\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x14\n" +
|
|
"\x05token\x18\x03 \x01(\tR\x05token\"m\n" +
|
|
"\rLoginResponse\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x14\n" +
|
|
"\x05token\x18\x03 \x01(\tR\x05token\x12\x18\n" +
|
|
"\aexpires\x18\x04 \x01(\x03R\aexpires\"%\n" +
|
|
"\rLogoutRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"\"\n" +
|
|
"\x0eLogoutResponse\x12\x10\n" +
|
|
"\x03uid\x18\x01 \x01(\tR\x03uid2\xdc\x05\n" +
|
|
"\vUserService\x12\\\n" +
|
|
"\bGetMenus\x12\x1c.organize.GetUserMenuRequest\x1a\x1d.organize.GetUserMenuResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\v/user/menus\x12^\n" +
|
|
"\n" +
|
|
"GetProfile\x12\x1b.organize.GetProfileRequest\x1a\x1c.organize.GetProfileResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/user/profile\x12j\n" +
|
|
"\rUpdateProfile\x12\x1e.organize.UpdateProfileRequest\x1a\x1f.organize.UpdateProfileResponse\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\x1a\r/user/profile\x12q\n" +
|
|
"\rResetPassword\x12\x1e.organize.ResetPasswordRequest\x1a\x1f.organize.ResetPasswordResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/user/reset-password\x12l\n" +
|
|
"\x0eGetPermissions\x12\x1e.organize.GetPermissionRequest\x1a\x1f.organize.GetPermissionResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/user/permissions\x12d\n" +
|
|
"\rGetUserLabels\x12\x1d.organize.GetUserLabelRequest\x1a\x1e.organize.GetUserLabelResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\f/user/labels\x12\\\n" +
|
|
"\vGetUserTags\x12\x1b.organize.GetUserTagRequest\x1a\x1c.organize.GetUserTagResponse\"\x12\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/user/tags2\xa1\x03\n" +
|
|
"\x11DepartmentService\x12|\n" +
|
|
"\x13GetDepartmentLabels\x12#.organize.GetDepartmentLabelRequest\x1a$.organize.GetDepartmentLabelResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/department/labels\x12x\n" +
|
|
"\x12GetDepartmentUsers\x12\".organize.GetDepartmentUserRequest\x1a#.organize.GetDepartmentUserResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/department/users\x12\x93\x01\n" +
|
|
"\x18GetDepartmentLevelLabels\x12).organize.GetDepartmentLevelLabelsRequest\x1a*.organize.GetDepartmentLevelLabelsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/department/level-labels2\xec\x02\n" +
|
|
"\vRoleService\x12d\n" +
|
|
"\rGetRoleLabels\x12\x1d.organize.GetRoleLabelRequest\x1a\x1e.organize.GetRoleLabelResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\f/role/labels\x12x\n" +
|
|
"\x12GetRolePermissions\x12\".organize.GetRolePermissionRequest\x1a#.organize.GetRolePermissionResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/role/permissions\x12}\n" +
|
|
"\x12SaveRolePermission\x12#.organize.SaveRolePermissionRequest\x1a$.organize.SaveRolePermissionResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/role/permissions2\xdf\x01\n" +
|
|
"\vMenuService\x12S\n" +
|
|
"\bGetMenus\x12\x18.organize.GetMenuRequest\x1a\x19.organize.GetMenuResponse\"\x12\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/menu/list\x12{\n" +
|
|
"\x12GetMenuLevelLabels\x12#.organize.GetMenuLevelLabelsRequest\x1a$.organize.GetMenuLevelLabelsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/menu/level-labels2\xbd\x01\n" +
|
|
"\vAuthService\x12T\n" +
|
|
"\x05Login\x12\x16.organize.LoginRequest\x1a\x17.organize.LoginResponse\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/passport/login\x12X\n" +
|
|
"\x06Logout\x12\x17.organize.LogoutRequest\x1a\x18.organize.LogoutResponse\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/passport/logoutB&Z$git.nobla.cn/golang/aeis-admin/pb;pbb\x06proto3"
|
|
|
|
var (
|
|
file_organize_proto_rawDescOnce sync.Once
|
|
file_organize_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_organize_proto_rawDescGZIP() []byte {
|
|
file_organize_proto_rawDescOnce.Do(func() {
|
|
file_organize_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_organize_proto_rawDesc), len(file_organize_proto_rawDesc)))
|
|
})
|
|
return file_organize_proto_rawDescData
|
|
}
|
|
|
|
var file_organize_proto_msgTypes = make([]protoimpl.MessageInfo, 49)
|
|
var file_organize_proto_goTypes = []any{
|
|
(*Menu)(nil), // 0: organize.Menu
|
|
(*Role)(nil), // 1: organize.Role
|
|
(*Permission)(nil), // 2: organize.Permission
|
|
(*RolePermission)(nil), // 3: organize.RolePermission
|
|
(*User)(nil), // 4: organize.User
|
|
(*Department)(nil), // 5: organize.Department
|
|
(*Login)(nil), // 6: organize.Login
|
|
(*LabelValue)(nil), // 7: organize.LabelValue
|
|
(*PermissionItem)(nil), // 8: organize.PermissionItem
|
|
(*MenuItem)(nil), // 9: organize.MenuItem
|
|
(*GetUserMenuRequest)(nil), // 10: organize.GetUserMenuRequest
|
|
(*GetUserMenuResponse)(nil), // 11: organize.GetUserMenuResponse
|
|
(*GetProfileRequest)(nil), // 12: organize.GetProfileRequest
|
|
(*GetProfileResponse)(nil), // 13: organize.GetProfileResponse
|
|
(*ResetPasswordRequest)(nil), // 14: organize.ResetPasswordRequest
|
|
(*ResetPasswordResponse)(nil), // 15: organize.ResetPasswordResponse
|
|
(*UpdateProfileRequest)(nil), // 16: organize.UpdateProfileRequest
|
|
(*UpdateProfileResponse)(nil), // 17: organize.UpdateProfileResponse
|
|
(*GetPermissionRequest)(nil), // 18: organize.GetPermissionRequest
|
|
(*GetPermissionResponse)(nil), // 19: organize.GetPermissionResponse
|
|
(*GetUserLabelRequest)(nil), // 20: organize.GetUserLabelRequest
|
|
(*GetUserLabelResponse)(nil), // 21: organize.GetUserLabelResponse
|
|
(*GetUserTagRequest)(nil), // 22: organize.GetUserTagRequest
|
|
(*GetUserTagResponse)(nil), // 23: organize.GetUserTagResponse
|
|
(*DepartmentLabelValue)(nil), // 24: organize.DepartmentLabelValue
|
|
(*DepartmentUserValue)(nil), // 25: organize.DepartmentUserValue
|
|
(*GetDepartmentLabelRequest)(nil), // 26: organize.GetDepartmentLabelRequest
|
|
(*GetDepartmentLabelResponse)(nil), // 27: organize.GetDepartmentLabelResponse
|
|
(*GetDepartmentUserRequest)(nil), // 28: organize.GetDepartmentUserRequest
|
|
(*GetDepartmentUserResponse)(nil), // 29: organize.GetDepartmentUserResponse
|
|
(*DepartmentLevelValue)(nil), // 30: organize.DepartmentLevelValue
|
|
(*GetDepartmentLevelLabelsRequest)(nil), // 31: organize.GetDepartmentLevelLabelsRequest
|
|
(*GetDepartmentLevelLabelsResponse)(nil), // 32: organize.GetDepartmentLevelLabelsResponse
|
|
(*GetRoleLabelRequest)(nil), // 33: organize.GetRoleLabelRequest
|
|
(*GetRoleLabelResponse)(nil), // 34: organize.GetRoleLabelResponse
|
|
(*GetRolePermissionRequest)(nil), // 35: organize.GetRolePermissionRequest
|
|
(*GetRolePermissionResponse)(nil), // 36: organize.GetRolePermissionResponse
|
|
(*SaveRolePermissionRequest)(nil), // 37: organize.SaveRolePermissionRequest
|
|
(*SaveRolePermissionResponse)(nil), // 38: organize.SaveRolePermissionResponse
|
|
(*MenuLevelValue)(nil), // 39: organize.MenuLevelValue
|
|
(*GetMenuLevelLabelsRequest)(nil), // 40: organize.GetMenuLevelLabelsRequest
|
|
(*GetMenuLevelLabelsResponse)(nil), // 41: organize.GetMenuLevelLabelsResponse
|
|
(*MenuValue)(nil), // 42: organize.MenuValue
|
|
(*GetMenuRequest)(nil), // 43: organize.GetMenuRequest
|
|
(*GetMenuResponse)(nil), // 44: organize.GetMenuResponse
|
|
(*LoginRequest)(nil), // 45: organize.LoginRequest
|
|
(*LoginResponse)(nil), // 46: organize.LoginResponse
|
|
(*LogoutRequest)(nil), // 47: organize.LogoutRequest
|
|
(*LogoutResponse)(nil), // 48: organize.LogoutResponse
|
|
}
|
|
var file_organize_proto_depIdxs = []int32{
|
|
8, // 0: organize.MenuItem.permissions:type_name -> organize.PermissionItem
|
|
9, // 1: organize.MenuItem.children:type_name -> organize.MenuItem
|
|
9, // 2: organize.GetUserMenuResponse.data:type_name -> organize.MenuItem
|
|
7, // 3: organize.GetUserLabelResponse.data:type_name -> organize.LabelValue
|
|
7, // 4: organize.GetUserTagResponse.data:type_name -> organize.LabelValue
|
|
25, // 5: organize.DepartmentUserValue.children:type_name -> organize.DepartmentUserValue
|
|
24, // 6: organize.GetDepartmentLabelResponse.data:type_name -> organize.DepartmentLabelValue
|
|
25, // 7: organize.GetDepartmentUserResponse.data:type_name -> organize.DepartmentUserValue
|
|
30, // 8: organize.DepartmentLevelValue.children:type_name -> organize.DepartmentLevelValue
|
|
30, // 9: organize.GetDepartmentLevelLabelsResponse.data:type_name -> organize.DepartmentLevelValue
|
|
7, // 10: organize.GetRoleLabelResponse.data:type_name -> organize.LabelValue
|
|
39, // 11: organize.MenuLevelValue.children:type_name -> organize.MenuLevelValue
|
|
39, // 12: organize.GetMenuLevelLabelsResponse.data:type_name -> organize.MenuLevelValue
|
|
42, // 13: organize.MenuValue.children:type_name -> organize.MenuValue
|
|
42, // 14: organize.GetMenuResponse.data:type_name -> organize.MenuValue
|
|
10, // 15: organize.UserService.GetMenus:input_type -> organize.GetUserMenuRequest
|
|
12, // 16: organize.UserService.GetProfile:input_type -> organize.GetProfileRequest
|
|
16, // 17: organize.UserService.UpdateProfile:input_type -> organize.UpdateProfileRequest
|
|
14, // 18: organize.UserService.ResetPassword:input_type -> organize.ResetPasswordRequest
|
|
18, // 19: organize.UserService.GetPermissions:input_type -> organize.GetPermissionRequest
|
|
20, // 20: organize.UserService.GetUserLabels:input_type -> organize.GetUserLabelRequest
|
|
22, // 21: organize.UserService.GetUserTags:input_type -> organize.GetUserTagRequest
|
|
26, // 22: organize.DepartmentService.GetDepartmentLabels:input_type -> organize.GetDepartmentLabelRequest
|
|
28, // 23: organize.DepartmentService.GetDepartmentUsers:input_type -> organize.GetDepartmentUserRequest
|
|
31, // 24: organize.DepartmentService.GetDepartmentLevelLabels:input_type -> organize.GetDepartmentLevelLabelsRequest
|
|
33, // 25: organize.RoleService.GetRoleLabels:input_type -> organize.GetRoleLabelRequest
|
|
35, // 26: organize.RoleService.GetRolePermissions:input_type -> organize.GetRolePermissionRequest
|
|
37, // 27: organize.RoleService.SaveRolePermission:input_type -> organize.SaveRolePermissionRequest
|
|
43, // 28: organize.MenuService.GetMenus:input_type -> organize.GetMenuRequest
|
|
40, // 29: organize.MenuService.GetMenuLevelLabels:input_type -> organize.GetMenuLevelLabelsRequest
|
|
45, // 30: organize.AuthService.Login:input_type -> organize.LoginRequest
|
|
47, // 31: organize.AuthService.Logout:input_type -> organize.LogoutRequest
|
|
11, // 32: organize.UserService.GetMenus:output_type -> organize.GetUserMenuResponse
|
|
13, // 33: organize.UserService.GetProfile:output_type -> organize.GetProfileResponse
|
|
17, // 34: organize.UserService.UpdateProfile:output_type -> organize.UpdateProfileResponse
|
|
15, // 35: organize.UserService.ResetPassword:output_type -> organize.ResetPasswordResponse
|
|
19, // 36: organize.UserService.GetPermissions:output_type -> organize.GetPermissionResponse
|
|
21, // 37: organize.UserService.GetUserLabels:output_type -> organize.GetUserLabelResponse
|
|
23, // 38: organize.UserService.GetUserTags:output_type -> organize.GetUserTagResponse
|
|
27, // 39: organize.DepartmentService.GetDepartmentLabels:output_type -> organize.GetDepartmentLabelResponse
|
|
29, // 40: organize.DepartmentService.GetDepartmentUsers:output_type -> organize.GetDepartmentUserResponse
|
|
32, // 41: organize.DepartmentService.GetDepartmentLevelLabels:output_type -> organize.GetDepartmentLevelLabelsResponse
|
|
34, // 42: organize.RoleService.GetRoleLabels:output_type -> organize.GetRoleLabelResponse
|
|
36, // 43: organize.RoleService.GetRolePermissions:output_type -> organize.GetRolePermissionResponse
|
|
38, // 44: organize.RoleService.SaveRolePermission:output_type -> organize.SaveRolePermissionResponse
|
|
44, // 45: organize.MenuService.GetMenus:output_type -> organize.GetMenuResponse
|
|
41, // 46: organize.MenuService.GetMenuLevelLabels:output_type -> organize.GetMenuLevelLabelsResponse
|
|
46, // 47: organize.AuthService.Login:output_type -> organize.LoginResponse
|
|
48, // 48: organize.AuthService.Logout:output_type -> organize.LogoutResponse
|
|
32, // [32:49] is the sub-list for method output_type
|
|
15, // [15:32] is the sub-list for method input_type
|
|
15, // [15:15] is the sub-list for extension type_name
|
|
15, // [15:15] is the sub-list for extension extendee
|
|
0, // [0:15] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_organize_proto_init() }
|
|
func file_organize_proto_init() {
|
|
if File_organize_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_organize_proto_rawDesc), len(file_organize_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 49,
|
|
NumExtensions: 0,
|
|
NumServices: 5,
|
|
},
|
|
GoTypes: file_organize_proto_goTypes,
|
|
DependencyIndexes: file_organize_proto_depIdxs,
|
|
MessageInfos: file_organize_proto_msgTypes,
|
|
}.Build()
|
|
File_organize_proto = out.File
|
|
file_organize_proto_goTypes = nil
|
|
file_organize_proto_depIdxs = nil
|
|
}
|