func (*DealApplicationFormRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{8}
}
Deprecated: Use DealApplicationFormRequest.ProtoReflect.Descriptor instead.
package department
import (
	types "github.com/infraboard/keyauth/common/types"
	_ "github.com/infraboard/mcube/cmd/protoc-gen-go-ext/extension/tag"
	page "github.com/infraboard/mcube/pb/page"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type CreateDepartmentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" validate:"required,lte=60"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name"`
	ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id" validate:"lte=200"`
	Manager string `protobuf:"bytes,4,opt,name=manager,proto3" json:"manager" validate:"required,lte=200"`
	DefaultRoleId string `protobuf:"bytes,5,opt,name=default_role_id,json=defaultRoleId,proto3" json:"default_role_id" validate:"lte=200"`
	Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain"`
	CreateBy string `protobuf:"bytes,7,opt,name=create_by,json=createBy,proto3" json:"create_by"`
}
func (x *CreateDepartmentRequest) Reset() {
	*x = CreateDepartmentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *CreateDepartmentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*CreateDepartmentRequest) ProtoMessage() {}
func (x *CreateDepartmentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*CreateDepartmentRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{0}
}
func (x *CreateDepartmentRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}
func (x *CreateDepartmentRequest) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}
func (x *CreateDepartmentRequest) GetParentId() string {
	if x != nil {
		return x.ParentId
	}
	return ""
}
func (x *CreateDepartmentRequest) GetManager() string {
	if x != nil {
		return x.Manager
	}
	return ""
}
func (x *CreateDepartmentRequest) GetDefaultRoleId() string {
	if x != nil {
		return x.DefaultRoleId
	}
	return ""
}
func (x *CreateDepartmentRequest) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}
func (x *CreateDepartmentRequest) GetCreateBy() string {
	if x != nil {
		return x.CreateBy
	}
	return ""
}
type QueryDepartmentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Page          *page.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"`
	ParentId      string            `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id"`
	Keywords      string            `protobuf:"bytes,3,opt,name=keywords,proto3" json:"keywords"`
	SkipItems     bool              `protobuf:"varint,4,opt,name=skip_items,json=skipItems,proto3" json:"skip_items"`
	WithSubCount  bool              `protobuf:"varint,5,opt,name=with_sub_count,json=withSubCount,proto3" json:"with_sub_count"`
	WithUserCount bool              `protobuf:"varint,6,opt,name=with_user_count,json=withUserCount,proto3" json:"with_user_count"`
	WithRole      bool              `protobuf:"varint,7,opt,name=with_role,json=withRole,proto3" json:"with_role"`
	Domain        string            `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain" validate:"required"`
}
func (x *QueryDepartmentRequest) Reset() {
	*x = QueryDepartmentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *QueryDepartmentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*QueryDepartmentRequest) ProtoMessage() {}
func (x *QueryDepartmentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*QueryDepartmentRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{1}
}
func (x *QueryDepartmentRequest) GetPage() *page.PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}
func (x *QueryDepartmentRequest) GetParentId() string {
	if x != nil {
		return x.ParentId
	}
	return ""
}
func (x *QueryDepartmentRequest) GetKeywords() string {
	if x != nil {
		return x.Keywords
	}
	return ""
}
func (x *QueryDepartmentRequest) GetSkipItems() bool {
	if x != nil {
		return x.SkipItems
	}
	return false
}
func (x *QueryDepartmentRequest) GetWithSubCount() bool {
	if x != nil {
		return x.WithSubCount
	}
	return false
}
func (x *QueryDepartmentRequest) GetWithUserCount() bool {
	if x != nil {
		return x.WithUserCount
	}
	return false
}
func (x *QueryDepartmentRequest) GetWithRole() bool {
	if x != nil {
		return x.WithRole
	}
	return false
}
func (x *QueryDepartmentRequest) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}
type DescribeDeparmentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	WithSubCount  bool   `protobuf:"varint,3,opt,name=with_sub_count,json=withSubCount,proto3" json:"with_sub_count"`
	WithUserCount bool   `protobuf:"varint,4,opt,name=with_user_count,json=withUserCount,proto3" json:"with_user_count"`
	WithRole      bool   `protobuf:"varint,5,opt,name=with_role,json=withRole,proto3" json:"with_role"`
	Domain        string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain" validate:"required"`
}
func (x *DescribeDeparmentRequest) Reset() {
	*x = DescribeDeparmentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *DescribeDeparmentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*DescribeDeparmentRequest) ProtoMessage() {}
func (x *DescribeDeparmentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*DescribeDeparmentRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{2}
}
func (x *DescribeDeparmentRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
func (x *DescribeDeparmentRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}
func (x *DescribeDeparmentRequest) GetWithSubCount() bool {
	if x != nil {
		return x.WithSubCount
	}
	return false
}
func (x *DescribeDeparmentRequest) GetWithUserCount() bool {
	if x != nil {
		return x.WithUserCount
	}
	return false
}
func (x *DescribeDeparmentRequest) GetWithRole() bool {
	if x != nil {
		return x.WithRole
	}
	return false
}
func (x *DescribeDeparmentRequest) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}
type UpdateDepartmentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	UpdateMode types.UpdateMode         `protobuf:"varint,1,opt,name=update_mode,json=updateMode,proto3,enum=keyauth.common.types.UpdateMode" json:"update_mode"`
	Id         string                   `protobuf:"bytes,2,opt,name=id,proto3" json:"id"`
	Data       *CreateDepartmentRequest `protobuf:"bytes,3,opt,name=data,proto3" json:"data"`
}
func (x *UpdateDepartmentRequest) Reset() {
	*x = UpdateDepartmentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *UpdateDepartmentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*UpdateDepartmentRequest) ProtoMessage() {}
func (x *UpdateDepartmentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*UpdateDepartmentRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{3}
}
func (x *UpdateDepartmentRequest) GetUpdateMode() types.UpdateMode {
	if x != nil {
		return x.UpdateMode
	}
	return types.UpdateMode_PUT
}
func (x *UpdateDepartmentRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
func (x *UpdateDepartmentRequest) GetData() *CreateDepartmentRequest {
	if x != nil {
		return x.Data
	}
	return nil
}
type DeleteDepartmentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
}
func (x *DeleteDepartmentRequest) Reset() {
	*x = DeleteDepartmentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *DeleteDepartmentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*DeleteDepartmentRequest) ProtoMessage() {}
func (x *DeleteDepartmentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*DeleteDepartmentRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{4}
}
func (x *DeleteDepartmentRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
type JoinDepartmentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account" validate:"required"`
	DepartmentId string `protobuf:"bytes,2,opt,name=department_id,json=departmentId,proto3" json:"department_id" validate:"required"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
	Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain"`
}
func (x *JoinDepartmentRequest) Reset() {
	*x = JoinDepartmentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *JoinDepartmentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*JoinDepartmentRequest) ProtoMessage() {}
func (x *JoinDepartmentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*JoinDepartmentRequest) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{5}
}
func (x *JoinDepartmentRequest) GetAccount() string {
	if x != nil {
		return x.Account
	}
	return ""
}
func (x *JoinDepartmentRequest) GetDepartmentId() string {
	if x != nil {
		return x.DepartmentId
	}
	return ""
}
func (x *JoinDepartmentRequest) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}
func (x *JoinDepartmentRequest) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}
type QueryApplicationFormRequet struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Page         *page.PageRequest     `protobuf:"bytes,1,opt,name=page,proto3" json:"page"`
	Account      string                `protobuf:"bytes,2,opt,name=account,proto3" json:"account"`
	DepartmentId string                `protobuf:"bytes,3,opt,name=department_id,json=departmentId,proto3" json:"department_id"`
	Status       ApplicationFormStatus `protobuf:"varint,4,opt,name=status,proto3,enum=keyauth.department.ApplicationFormStatus" json:"status"`
	SkipItems    bool                  `protobuf:"varint,5,opt,name=skip_items,json=skipItems,proto3" json:"skip_items"`
	Domain       string                `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain" validate:"required"`
}
func (x *QueryApplicationFormRequet) Reset() {
	*x = QueryApplicationFormRequet{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *QueryApplicationFormRequet) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*QueryApplicationFormRequet) ProtoMessage() {}
func (x *QueryApplicationFormRequet) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*QueryApplicationFormRequet) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{6}
}
func (x *QueryApplicationFormRequet) GetPage() *page.PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}
func (x *QueryApplicationFormRequet) GetAccount() string {
	if x != nil {
		return x.Account
	}
	return ""
}
func (x *QueryApplicationFormRequet) GetDepartmentId() string {
	if x != nil {
		return x.DepartmentId
	}
	return ""
}
func (x *QueryApplicationFormRequet) GetStatus() ApplicationFormStatus {
	if x != nil {
		return x.Status
	}
	return ApplicationFormStatus_NULL
}
func (x *QueryApplicationFormRequet) GetSkipItems() bool {
	if x != nil {
		return x.SkipItems
	}
	return false
}
func (x *QueryApplicationFormRequet) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}
type DescribeApplicationFormRequet struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain"`
}
func (x *DescribeApplicationFormRequet) Reset() {
	*x = DescribeApplicationFormRequet{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *DescribeApplicationFormRequet) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*DescribeApplicationFormRequet) ProtoMessage() {}
func (x *DescribeApplicationFormRequet) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*DescribeApplicationFormRequet) Descriptor() ([]byte, []int) {
	return file_pkg_department_pb_request_proto_rawDescGZIP(), []int{7}
}
func (x *DescribeApplicationFormRequet) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
func (x *DescribeApplicationFormRequet) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}
type DealApplicationFormRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
	Status ApplicationFormStatus `protobuf:"varint,2,opt,name=status,proto3,enum=keyauth.department.ApplicationFormStatus" json:"status"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
}
func (x *DealApplicationFormRequest) Reset() {
	*x = DealApplicationFormRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_pkg_department_pb_request_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *DealApplicationFormRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*DealApplicationFormRequest) ProtoMessage() {}
func (x *DealApplicationFormRequest) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_department_pb_request_proto_msgTypes[8]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}