2538 lines
75 KiB
Go
2538 lines
75 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"`
|
|
ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,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"`
|
|
Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
|
|
ViewPath string `protobuf:"bytes,6,opt,name=view_path,json=viewPath,proto3" json:"view_path,omitempty"`
|
|
Icon string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
Hidden bool `protobuf:"varint,8,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
Public bool `protobuf:"varint,9,opt,name=public,proto3" json:"public,omitempty"`
|
|
Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,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) GetParentId() int64 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
// Role 角色模型定义
|
|
type Role struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
|
Description string `protobuf:"bytes,4,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) 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"`
|
|
MenuId int64 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
|
|
Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
|
|
Label string `protobuf:"bytes,4,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) GetMenuId() int64 {
|
|
if x != nil {
|
|
return x.MenuId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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"`
|
|
PermissionId int64 `protobuf:"varint,3,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,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) GetPermissionId() int64 {
|
|
if x != nil {
|
|
return x.PermissionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 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"`
|
|
DeptId int64 `protobuf:"varint,8,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"`
|
|
Tag string `protobuf:"bytes,9,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
Password string `protobuf:"bytes,10,opt,name=password,proto3" json:"password,omitempty"`
|
|
Email string `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"`
|
|
Avatar string `protobuf:"bytes,12,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Gender string `protobuf:"bytes,13,opt,name=gender,proto3" json:"gender,omitempty"`
|
|
Description string `protobuf:"bytes,14,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) 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 ""
|
|
}
|
|
|
|
// Setting 参数设置表
|
|
type Setting 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"`
|
|
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Setting) Reset() {
|
|
*x = Setting{}
|
|
mi := &file_organize_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Setting) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Setting) ProtoMessage() {}
|
|
|
|
func (x *Setting) 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 Setting.ProtoReflect.Descriptor instead.
|
|
func (*Setting) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Setting) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Setting) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Setting) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Setting) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Setting) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Setting) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
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 GetMenuRequest 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 *GetMenuRequest) Reset() {
|
|
*x = GetMenuRequest{}
|
|
mi := &file_organize_proto_msgTypes[10]
|
|
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[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 GetMenuRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMenuRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetMenuRequest) GetPermission() bool {
|
|
if x != nil {
|
|
return x.Permission
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 获取菜单的响应
|
|
type GetMenuResponse 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 *GetMenuResponse) Reset() {
|
|
*x = GetMenuResponse{}
|
|
mi := &file_organize_proto_msgTypes[11]
|
|
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[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 GetMenuResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMenuResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GetMenuResponse) 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 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[24]
|
|
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[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 GetDepartmentLabelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentLabelRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
type GetDepartmentLabelResponse 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 *GetDepartmentLabelResponse) Reset() {
|
|
*x = GetDepartmentLabelResponse{}
|
|
mi := &file_organize_proto_msgTypes[25]
|
|
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[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 GetDepartmentLabelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetDepartmentLabelResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *GetDepartmentLabelResponse) GetData() []*LabelValue {
|
|
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[26]
|
|
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[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 GetRoleLabelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRoleLabelRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
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[27]
|
|
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[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 GetRoleLabelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRoleLabelResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
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[28]
|
|
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[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 GetRolePermissionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRolePermissionRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
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[29]
|
|
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[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 GetRolePermissionResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRolePermissionResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
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 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[30]
|
|
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[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 LoginRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
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[31]
|
|
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[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 LoginResponse.ProtoReflect.Descriptor instead.
|
|
func (*LoginResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
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[32]
|
|
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[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 LogoutRequest.ProtoReflect.Descriptor instead.
|
|
func (*LogoutRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
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[33]
|
|
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[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 LogoutResponse.ProtoReflect.Descriptor instead.
|
|
func (*LogoutResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *LogoutResponse) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SettingItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingItem) Reset() {
|
|
*x = SettingItem{}
|
|
mi := &file_organize_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingItem) ProtoMessage() {}
|
|
|
|
func (x *SettingItem) 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 SettingItem.ProtoReflect.Descriptor instead.
|
|
func (*SettingItem) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *SettingItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SettingItem) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSettingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSettingRequest) Reset() {
|
|
*x = GetSettingRequest{}
|
|
mi := &file_organize_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSettingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSettingRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSettingRequest) 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 GetSettingRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSettingRequest) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
type GetSettingResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*SettingItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSettingResponse) Reset() {
|
|
*x = GetSettingResponse{}
|
|
mi := &file_organize_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSettingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSettingResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSettingResponse) 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 GetSettingResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSettingResponse) Descriptor() ([]byte, []int) {
|
|
return file_organize_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *GetSettingResponse) GetData() []*SettingItem {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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\"\x9d\x06\n" +
|
|
"\x04Menu\x12*\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x1a\xb2\xb9\x19\x16\n" +
|
|
"\n" +
|
|
"primaryKey\x12\b菜单IDR\x02id\x12/\n" +
|
|
"\tparent_id\x18\x02 \x01(\x03B\x12\xb2\xb9\x19\x0e\x12\f父级菜单R\bparentId\x12W\n" +
|
|
"\x04name\x18\x03 \x01(\tBC\xfaB\x04r\x02\x18<\xb2\xb9\x198\n" +
|
|
"\rindex;size:60\x12\f组件名称2\x0freadonly:update:\brequiredR\x04name\x12C\n" +
|
|
"\x05label\x18\x04 \x01(\tB-\xfaB\x04r\x02\x18x\xb2\xb9\x19\"\n" +
|
|
"\bsize:120\x12\f菜单标题:\brequiredR\x05label\x12[\n" +
|
|
"\x03uri\x18\x05 \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\x06 \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\a \x01(\tB=\xfaB\x04r\x02\x18<\xb2\xb9\x192\n" +
|
|
"\asize:60\x12\f菜单图标\x1a\x19create;update;view;exportR\x04icon\x12E\n" +
|
|
"\x06hidden\x18\b \x01(\bB-\xb2\xb9\x19)\x12\f是否隐藏\x1a\x19create;update;view;exportR\x06hidden\x12E\n" +
|
|
"\x06public\x18\t \x01(\bB-\xb2\xb9\x19)\x12\f是否公开\x1a\x19create;update;view;exportR\x06public\x12q\n" +
|
|
"\vdescription\x18\n" +
|
|
" \x01(\tBO\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19C\n" +
|
|
"\tsize:1024\x12\f备注说明\x1a\x1ecreate;update;view;export;list*\btextareaR\vdescription:\v\xba\xb9\x19\a\n" +
|
|
"\x05menus\"\xb6\x02\n" +
|
|
"\x04Role\x12*\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x1a\xb2\xb9\x19\x16\n" +
|
|
"\n" +
|
|
"primaryKey\x12\b角色IDR\x02id\x12M\n" +
|
|
"\x04name\x18\x02 \x01(\tB9\xfaB\x04r\x02\x18<\xb2\xb9\x19.\n" +
|
|
"\rindex;size:60\x12\f角色名称2\x0freadonly:updateR\x04name\x128\n" +
|
|
"\x05label\x18\x03 \x01(\tB\"\xfaB\x04r\x02\x18<\xb2\xb9\x19\x17\n" +
|
|
"\asize:60\x12\f角色标题R\x05label\x12l\n" +
|
|
"\vdescription\x18\x04 \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\"\xa1\x02\n" +
|
|
"\n" +
|
|
"Permission\x12*\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x1a\xb2\xb9\x19\x16\n" +
|
|
"\n" +
|
|
"primaryKey\x12\b权限IDR\x02id\x12<\n" +
|
|
"\amenu_id\x18\x02 \x01(\x03B#\xb2\xb9\x19\x1f\n" +
|
|
"\x05index\x12\f所属菜单:\brequiredR\x06menuId\x12R\n" +
|
|
"\n" +
|
|
"permission\x18\x03 \x01(\tB2\xfaB\x04r\x02\x18<\xb2\xb9\x19'\n" +
|
|
"\rindex;size:60\x12\f权限名称:\brequiredR\n" +
|
|
"permission\x12B\n" +
|
|
"\x05label\x18\x04 \x01(\tB,\xfaB\x04r\x02\x18<\xb2\xb9\x19!\n" +
|
|
"\asize:60\x12\f权限标题:\brequiredR\x05label:\x11\xba\xb9\x19\r\n" +
|
|
"\vpermissions\"\xcf\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" +
|
|
"\asize:60\x12\f角色名称:\brequiredR\x04role\x12=\n" +
|
|
"\rpermission_id\x18\x03 \x01(\x03B\x18\xb2\xb9\x19\x14\x12\b权限ID:\brequiredR\fpermissionId:\x16\xba\xb9\x19\x12\n" +
|
|
"\x10role_permissions\"\xe8\b\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\x12>\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B\x1f\xb2\xb9\x19\x1b\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\x12F\n" +
|
|
"\x04role\x18\x06 \x01(\tB2\xfaB\x04r\x02\x18<\xb2\xb9\x19'\n" +
|
|
"\asize:60\x12\f所属角色*\x04role:\brequiredR\x04role\x12-\n" +
|
|
"\x05admin\x18\a \x01(\bB\x17\xb2\xb9\x19\x13\x12\t管理员\x1a\x06createR\x05admin\x12U\n" +
|
|
"\adept_id\x18\b \x01(\x03B<\xb2\xb9\x198\n" +
|
|
"\x12not null;default:0\x12\f所属部门*\n" +
|
|
"department:\brequiredR\x06deptId\x12H\n" +
|
|
"\x03tag\x18\t \x01(\tB6\xfaB\x04r\x02\x18<\xb2\xb9\x19+\n" +
|
|
"\asize:60\x12\f用户标签\x1a\x12list;create;updateR\x03tag\x12P\n" +
|
|
"\bpassword\x18\n" +
|
|
" \x01(\tB4\xfaB\x04r\x02\x18<\xb2\xb9\x19)\n" +
|
|
"\asize:60\x12\f用户密码\x1a\x06create:\brequiredR\bpassword\x12X\n" +
|
|
"\x05email\x18\v \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\f \x01(\tB+\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19\x1f\n" +
|
|
"\tsize:1024\x12\f用户头像\x1a\x04viewR\x06avatar\x12p\n" +
|
|
"\x06gender\x18\r \x01(\tBX\xfaB\x04r\x02\x18\x14\xb2\xb9\x19M\n" +
|
|
"\x13size:20;default:man\x12\f用户性别\x1a\x1elist;create;update;view;export:\brequiredR\x06gender\x12l\n" +
|
|
"\vdescription\x18\x0e \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\"\xb7\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\x12>\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B\x1f\xb2\xb9\x19\x1b\x12\f更新时间\x1a\vview;exportR\tupdatedAt\x12;\n" +
|
|
"\tparent_id\x18\x04 \x01(\x03B\x1e\xb2\xb9\x19\x1a\x12\f父级部门*\n" +
|
|
"departmentR\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\"\xd8\x03\n" +
|
|
"\aSetting\x12$\n" +
|
|
"\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" +
|
|
"\n" +
|
|
"primaryKey\x12\x02IDR\x02id\x12E\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\x03B&\xb2\xb9\x19\"\x12\f创建时间\x1a\x12search;view;exportR\tcreatedAt\x12E\n" +
|
|
"\n" +
|
|
"updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\x12\f更新时间\x1a\x12search;view;exportR\tupdatedAt\x12N\n" +
|
|
"\x04name\x18\x04 \x01(\tB:\xfaB\x04r\x02\x18\x14\xb2\xb9\x19/\n" +
|
|
"\asize:60\x12\t配置项2\x0freadonly:update:\brequiredR\x04name\x12K\n" +
|
|
"\x05value\x18\x05 \x01(\tB5\xfaB\x05r\x03\x18\x80\x04\xb2\xb9\x19)\n" +
|
|
"\bsize:512\x12\t配置值*\btextarea:\brequiredR\x05value\x12l\n" +
|
|
"\vdescription\x18\x06 \x01(\tBJ\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19>\n" +
|
|
"\tsize:1024\x12\f备注说明\x1a\x19create;update;view;export*\btextareaR\vdescription:\x0e\xba\xb9\x19\n" +
|
|
"\n" +
|
|
"\bsettings\"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\"0\n" +
|
|
"\x0eGetMenuRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"permission\x18\x01 \x01(\bR\n" +
|
|
"permission\"9\n" +
|
|
"\x0fGetMenuResponse\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\"\x1b\n" +
|
|
"\x19GetDepartmentLabelRequest\"F\n" +
|
|
"\x1aGetDepartmentLabelResponse\x12(\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x14.organize.LabelValueR\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\"\\\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\x03uid\"7\n" +
|
|
"\vSettingItem\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value\"\x13\n" +
|
|
"\x11GetSettingRequest\"?\n" +
|
|
"\x12GetSettingResponse\x12)\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x15.organize.SettingItemR\x04data2\xd4\x05\n" +
|
|
"\vUserService\x12T\n" +
|
|
"\bGetMenus\x12\x18.organize.GetMenuRequest\x1a\x19.organize.GetMenuResponse\"\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\x91\x01\n" +
|
|
"\x11DepartmentService\x12|\n" +
|
|
"\x13GetDepartmentLabels\x12#.organize.GetDepartmentLabelRequest\x1a$.organize.GetDepartmentLabelResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/department/labels2\xed\x01\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/permissions2\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/logout2r\n" +
|
|
"\x0eSettingService\x12`\n" +
|
|
"\n" +
|
|
"GetSetting\x12\x1b.organize.GetSettingRequest\x1a\x1c.organize.GetSettingResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/system/settingB&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, 37)
|
|
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
|
|
(*Setting)(nil), // 6: organize.Setting
|
|
(*LabelValue)(nil), // 7: organize.LabelValue
|
|
(*PermissionItem)(nil), // 8: organize.PermissionItem
|
|
(*MenuItem)(nil), // 9: organize.MenuItem
|
|
(*GetMenuRequest)(nil), // 10: organize.GetMenuRequest
|
|
(*GetMenuResponse)(nil), // 11: organize.GetMenuResponse
|
|
(*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
|
|
(*GetDepartmentLabelRequest)(nil), // 24: organize.GetDepartmentLabelRequest
|
|
(*GetDepartmentLabelResponse)(nil), // 25: organize.GetDepartmentLabelResponse
|
|
(*GetRoleLabelRequest)(nil), // 26: organize.GetRoleLabelRequest
|
|
(*GetRoleLabelResponse)(nil), // 27: organize.GetRoleLabelResponse
|
|
(*GetRolePermissionRequest)(nil), // 28: organize.GetRolePermissionRequest
|
|
(*GetRolePermissionResponse)(nil), // 29: organize.GetRolePermissionResponse
|
|
(*LoginRequest)(nil), // 30: organize.LoginRequest
|
|
(*LoginResponse)(nil), // 31: organize.LoginResponse
|
|
(*LogoutRequest)(nil), // 32: organize.LogoutRequest
|
|
(*LogoutResponse)(nil), // 33: organize.LogoutResponse
|
|
(*SettingItem)(nil), // 34: organize.SettingItem
|
|
(*GetSettingRequest)(nil), // 35: organize.GetSettingRequest
|
|
(*GetSettingResponse)(nil), // 36: organize.GetSettingResponse
|
|
}
|
|
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.GetMenuResponse.data:type_name -> organize.MenuItem
|
|
7, // 3: organize.GetUserLabelResponse.data:type_name -> organize.LabelValue
|
|
7, // 4: organize.GetUserTagResponse.data:type_name -> organize.LabelValue
|
|
7, // 5: organize.GetDepartmentLabelResponse.data:type_name -> organize.LabelValue
|
|
7, // 6: organize.GetRoleLabelResponse.data:type_name -> organize.LabelValue
|
|
34, // 7: organize.GetSettingResponse.data:type_name -> organize.SettingItem
|
|
10, // 8: organize.UserService.GetMenus:input_type -> organize.GetMenuRequest
|
|
12, // 9: organize.UserService.GetProfile:input_type -> organize.GetProfileRequest
|
|
16, // 10: organize.UserService.UpdateProfile:input_type -> organize.UpdateProfileRequest
|
|
14, // 11: organize.UserService.ResetPassword:input_type -> organize.ResetPasswordRequest
|
|
18, // 12: organize.UserService.GetPermissions:input_type -> organize.GetPermissionRequest
|
|
20, // 13: organize.UserService.GetUserLabels:input_type -> organize.GetUserLabelRequest
|
|
22, // 14: organize.UserService.GetUserTags:input_type -> organize.GetUserTagRequest
|
|
24, // 15: organize.DepartmentService.GetDepartmentLabels:input_type -> organize.GetDepartmentLabelRequest
|
|
26, // 16: organize.RoleService.GetRoleLabels:input_type -> organize.GetRoleLabelRequest
|
|
28, // 17: organize.RoleService.GetRolePermissions:input_type -> organize.GetRolePermissionRequest
|
|
30, // 18: organize.AuthService.Login:input_type -> organize.LoginRequest
|
|
32, // 19: organize.AuthService.Logout:input_type -> organize.LogoutRequest
|
|
35, // 20: organize.SettingService.GetSetting:input_type -> organize.GetSettingRequest
|
|
11, // 21: organize.UserService.GetMenus:output_type -> organize.GetMenuResponse
|
|
13, // 22: organize.UserService.GetProfile:output_type -> organize.GetProfileResponse
|
|
17, // 23: organize.UserService.UpdateProfile:output_type -> organize.UpdateProfileResponse
|
|
15, // 24: organize.UserService.ResetPassword:output_type -> organize.ResetPasswordResponse
|
|
19, // 25: organize.UserService.GetPermissions:output_type -> organize.GetPermissionResponse
|
|
21, // 26: organize.UserService.GetUserLabels:output_type -> organize.GetUserLabelResponse
|
|
23, // 27: organize.UserService.GetUserTags:output_type -> organize.GetUserTagResponse
|
|
25, // 28: organize.DepartmentService.GetDepartmentLabels:output_type -> organize.GetDepartmentLabelResponse
|
|
27, // 29: organize.RoleService.GetRoleLabels:output_type -> organize.GetRoleLabelResponse
|
|
29, // 30: organize.RoleService.GetRolePermissions:output_type -> organize.GetRolePermissionResponse
|
|
31, // 31: organize.AuthService.Login:output_type -> organize.LoginResponse
|
|
33, // 32: organize.AuthService.Logout:output_type -> organize.LogoutResponse
|
|
36, // 33: organize.SettingService.GetSetting:output_type -> organize.GetSettingResponse
|
|
21, // [21:34] is the sub-list for method output_type
|
|
8, // [8:21] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] 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: 37,
|
|
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
|
|
}
|