dict

package
v0.0.0-...-469a15f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package dict is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	EntryTypes_name = map[int32]string{
		0: "normal",
		1: "layout",
	}
	EntryTypes_value = map[string]int32{
		"normal": 0,
		"layout": 1,
	}
)

Enum value maps for EntryTypes.

View Source
var Dict_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "jmash.dict.Dict",
	HandlerType: (*DictServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "version",
			Handler:    _Dict_Version_Handler,
		},
		{
			MethodName: "findEnumList",
			Handler:    _Dict_FindEnumList_Handler,
		},
		{
			MethodName: "findEnumMap",
			Handler:    _Dict_FindEnumMap_Handler,
		},
		{
			MethodName: "findEnumEntry",
			Handler:    _Dict_FindEnumEntry_Handler,
		},
		{
			MethodName: "findDictEntryPage",
			Handler:    _Dict_FindDictEntryPage_Handler,
		},
		{
			MethodName: "findDictEntryList",
			Handler:    _Dict_FindDictEntryList_Handler,
		},
		{
			MethodName: "findDictEntryById",
			Handler:    _Dict_FindDictEntryById_Handler,
		},
		{
			MethodName: "createDictEntry",
			Handler:    _Dict_CreateDictEntry_Handler,
		},
		{
			MethodName: "updateDictEntry",
			Handler:    _Dict_UpdateDictEntry_Handler,
		},
		{
			MethodName: "deleteDictEntry",
			Handler:    _Dict_DeleteDictEntry_Handler,
		},
		{
			MethodName: "batchDeleteDictEntry",
			Handler:    _Dict_BatchDeleteDictEntry_Handler,
		},
		{
			MethodName: "moveDictEntry",
			Handler:    _Dict_MoveDictEntry_Handler,
		},
		{
			MethodName: "enableDictEntry",
			Handler:    _Dict_EnableDictEntry_Handler,
		},
		{
			MethodName: "findDictLayEntryList",
			Handler:    _Dict_FindDictLayEntryList_Handler,
		},
		{
			MethodName: "findDictLayEntryById",
			Handler:    _Dict_FindDictLayEntryById_Handler,
		},
		{
			MethodName: "createDictLayEntry",
			Handler:    _Dict_CreateDictLayEntry_Handler,
		},
		{
			MethodName: "updateDictLayEntry",
			Handler:    _Dict_UpdateDictLayEntry_Handler,
		},
		{
			MethodName: "deleteDictLayEntry",
			Handler:    _Dict_DeleteDictLayEntry_Handler,
		},
		{
			MethodName: "batchDeleteDictLayEntry",
			Handler:    _Dict_BatchDeleteDictLayEntry_Handler,
		},
		{
			MethodName: "moveDictLayEntry",
			Handler:    _Dict_MoveDictLayEntry_Handler,
		},
		{
			MethodName: "enableDictLayEntry",
			Handler:    _Dict_EnableDictLayEntry_Handler,
		},
		{
			MethodName: "findDictTypePage",
			Handler:    _Dict_FindDictTypePage_Handler,
		},
		{
			MethodName: "findDictTypeList",
			Handler:    _Dict_FindDictTypeList_Handler,
		},
		{
			MethodName: "findDictTypeById",
			Handler:    _Dict_FindDictTypeById_Handler,
		},
		{
			MethodName: "createDictType",
			Handler:    _Dict_CreateDictType_Handler,
		},
		{
			MethodName: "updateDictType",
			Handler:    _Dict_UpdateDictType_Handler,
		},
		{
			MethodName: "deleteDictType",
			Handler:    _Dict_DeleteDictType_Handler,
		},
		{
			MethodName: "batchDeleteDictType",
			Handler:    _Dict_BatchDeleteDictType_Handler,
		},
		{
			MethodName: "moveDictType",
			Handler:    _Dict_MoveDictType_Handler,
		},
		{
			MethodName: "enableDictType",
			Handler:    _Dict_EnableDictType_Handler,
		},
		{
			MethodName: "importDictType",
			Handler:    _Dict_ImportDictType_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "downloadDictType",
			Handler:       _Dict_DownloadDictType_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "exportDictType",
			Handler:       _Dict_ExportDictType_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "jmash/dict/dict_rpc.proto",
}

Dict_ServiceDesc is the grpc.ServiceDesc for Dict service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_jmash_dict_dict_rpc_proto protoreflect.FileDescriptor
View Source
var File_jmash_dict_protobuf_os_dict_entry_message_proto protoreflect.FileDescriptor
View Source
var File_jmash_dict_protobuf_os_dict_lay_entry_message_proto protoreflect.FileDescriptor
View Source
var File_jmash_dict_protobuf_os_dict_type_message_proto protoreflect.FileDescriptor

Functions

func RegisterDictHandler

func RegisterDictHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDictHandler registers the http handlers for service Dict to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDictHandlerClient

func RegisterDictHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DictClient) error

RegisterDictHandlerClient registers the http handlers for service Dict to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DictClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DictClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DictClient" to call the correct interceptors.

func RegisterDictHandlerFromEndpoint

func RegisterDictHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDictHandlerFromEndpoint is same as RegisterDictHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDictHandlerServer

func RegisterDictHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DictServer) error

RegisterDictHandlerServer registers the http handlers for service Dict to "mux". UnaryRPC :call DictServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDictHandlerFromEndpoint instead.

func RegisterDictServer

func RegisterDictServer(s grpc.ServiceRegistrar, srv DictServer)

Types

type DictClient

type DictClient interface {
	// 版本
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	// 枚举值列表
	FindEnumList(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*basic.EnumValueList, error)
	// 枚举值Map
	FindEnumMap(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*basic.CustomEnumValueMap, error)
	// 枚举值
	FindEnumEntry(ctx context.Context, in *basic.EnumEntryReq, opts ...grpc.CallOption) (*basic.EntryList, error)
	// 查询翻页信息数据字典
	FindDictEntryPage(ctx context.Context, in *DictEntryReq, opts ...grpc.CallOption) (*DictEntryPage, error)
	// 查询列表信息数据字典
	FindDictEntryList(ctx context.Context, in *DictEntryReq, opts ...grpc.CallOption) (*DictEntryList, error)
	// 查询数据字典
	FindDictEntryById(ctx context.Context, in *DictEntryKey, opts ...grpc.CallOption) (*DictEntryModel, error)
	// 创建实体数据字典
	CreateDictEntry(ctx context.Context, in *DictEntryCreateReq, opts ...grpc.CallOption) (*DictEntryModel, error)
	// 修改实体数据字典
	UpdateDictEntry(ctx context.Context, in *DictEntryUpdateReq, opts ...grpc.CallOption) (*DictEntryModel, error)
	// 删除数据字典
	DeleteDictEntry(ctx context.Context, in *DictEntryKey, opts ...grpc.CallOption) (*DictEntryModel, error)
	// 批量删除数据字典
	BatchDeleteDictEntry(ctx context.Context, in *DictEntryKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
	// 上移/下移
	MoveDictEntry(ctx context.Context, in *DictEntryMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// 启用/禁用
	EnableDictEntry(ctx context.Context, in *DictEntryEnableKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// 查询列表信息层级字典实体
	FindDictLayEntryList(ctx context.Context, in *DictLayEntryReq, opts ...grpc.CallOption) (*DictLayEntryList, error)
	// 查询层级字典实体
	FindDictLayEntryById(ctx context.Context, in *DictLayEntryKey, opts ...grpc.CallOption) (*DictLayEntryModel, error)
	// 创建实体层级字典实体
	CreateDictLayEntry(ctx context.Context, in *DictLayEntryCreateReq, opts ...grpc.CallOption) (*DictLayEntryModel, error)
	// 修改实体层级字典实体
	UpdateDictLayEntry(ctx context.Context, in *DictLayEntryUpdateReq, opts ...grpc.CallOption) (*DictLayEntryModel, error)
	// 删除层级字典实体
	DeleteDictLayEntry(ctx context.Context, in *DictLayEntryKey, opts ...grpc.CallOption) (*DictLayEntryModel, error)
	// 批量删除层级字典实体
	BatchDeleteDictLayEntry(ctx context.Context, in *DictLayEntryKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
	// 上移/下移
	MoveDictLayEntry(ctx context.Context, in *DictLayEntryMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// 启用/禁用
	EnableDictLayEntry(ctx context.Context, in *DictLayEntryEnableKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// 查询翻页信息字典类型
	FindDictTypePage(ctx context.Context, in *DictTypeReq, opts ...grpc.CallOption) (*DictTypePage, error)
	// 查询列表信息字典类型
	FindDictTypeList(ctx context.Context, in *DictTypeReq, opts ...grpc.CallOption) (*DictTypeList, error)
	// 查询字典类型
	FindDictTypeById(ctx context.Context, in *DictTypeKey, opts ...grpc.CallOption) (*DictTypeModel, error)
	// 创建实体字典类型
	CreateDictType(ctx context.Context, in *DictTypeCreateReq, opts ...grpc.CallOption) (*DictTypeModel, error)
	// 修改实体字典类型
	UpdateDictType(ctx context.Context, in *DictTypeUpdateReq, opts ...grpc.CallOption) (*DictTypeModel, error)
	// 删除字典类型
	DeleteDictType(ctx context.Context, in *DictTypeKey, opts ...grpc.CallOption) (*DictTypeModel, error)
	// 批量删除字典类型
	BatchDeleteDictType(ctx context.Context, in *DictTypeKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
	// 上移/下移
	MoveDictType(ctx context.Context, in *DictTypeMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// 启用/禁用
	EnableDictType(ctx context.Context, in *DictTypeEnableKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// 下载导入模板字典类型
	DownloadDictType(ctx context.Context, in *DictTypeExportReq, opts ...grpc.CallOption) (Dict_DownloadDictTypeClient, error)
	// 导入字典类型
	ImportDictType(ctx context.Context, in *DictTypeImportReq, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	// 导出字典类型
	ExportDictType(ctx context.Context, in *DictTypeExportReq, opts ...grpc.CallOption) (Dict_ExportDictTypeClient, error)
}

DictClient is the client API for Dict service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDictClient

func NewDictClient(cc grpc.ClientConnInterface) DictClient

type DictEntryCreateReq

type DictEntryCreateReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,4,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,5,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 字典名称
	DictName string `protobuf:"bytes,6,opt,name=dict_name,json=dictName,proto3" json:"dict_name,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,7,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,8,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// contains filtered or unexported fields
}

数据字典新增实体

func (*DictEntryCreateReq) Descriptor deprecated

func (*DictEntryCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryCreateReq.ProtoReflect.Descriptor instead.

func (*DictEntryCreateReq) GetDescription_

func (x *DictEntryCreateReq) GetDescription_() string

func (*DictEntryCreateReq) GetDictCode

func (x *DictEntryCreateReq) GetDictCode() string

func (*DictEntryCreateReq) GetDictName

func (x *DictEntryCreateReq) GetDictName() string

func (*DictEntryCreateReq) GetEnable_

func (x *DictEntryCreateReq) GetEnable_() bool

func (*DictEntryCreateReq) GetRequestId

func (x *DictEntryCreateReq) GetRequestId() string

func (*DictEntryCreateReq) GetTenant

func (x *DictEntryCreateReq) GetTenant() string

func (*DictEntryCreateReq) GetTypeCode

func (x *DictEntryCreateReq) GetTypeCode() string

func (*DictEntryCreateReq) GetValidateOnly

func (x *DictEntryCreateReq) GetValidateOnly() bool

func (*DictEntryCreateReq) ProtoMessage

func (*DictEntryCreateReq) ProtoMessage()

func (*DictEntryCreateReq) ProtoReflect

func (x *DictEntryCreateReq) ProtoReflect() protoreflect.Message

func (*DictEntryCreateReq) Reset

func (x *DictEntryCreateReq) Reset()

func (*DictEntryCreateReq) String

func (x *DictEntryCreateReq) String() string

type DictEntryEnableKey

type DictEntryEnableKey struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictCode string `protobuf:"bytes,2,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	TypeCode string `protobuf:"bytes,3,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	Enable   bool   `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

启用/禁用

func (*DictEntryEnableKey) Descriptor deprecated

func (*DictEntryEnableKey) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryEnableKey.ProtoReflect.Descriptor instead.

func (*DictEntryEnableKey) GetDictCode

func (x *DictEntryEnableKey) GetDictCode() string

func (*DictEntryEnableKey) GetEnable

func (x *DictEntryEnableKey) GetEnable() bool

func (*DictEntryEnableKey) GetTenant

func (x *DictEntryEnableKey) GetTenant() string

func (*DictEntryEnableKey) GetTypeCode

func (x *DictEntryEnableKey) GetTypeCode() string

func (*DictEntryEnableKey) ProtoMessage

func (*DictEntryEnableKey) ProtoMessage()

func (*DictEntryEnableKey) ProtoReflect

func (x *DictEntryEnableKey) ProtoReflect() protoreflect.Message

func (*DictEntryEnableKey) Reset

func (x *DictEntryEnableKey) Reset()

func (*DictEntryEnableKey) String

func (x *DictEntryEnableKey) String() string

type DictEntryKey

type DictEntryKey struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictCode string `protobuf:"bytes,2,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	TypeCode string `protobuf:"bytes,3,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// contains filtered or unexported fields
}

数据字典主键

func (*DictEntryKey) Descriptor deprecated

func (*DictEntryKey) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryKey.ProtoReflect.Descriptor instead.

func (*DictEntryKey) GetDictCode

func (x *DictEntryKey) GetDictCode() string

func (*DictEntryKey) GetTenant

func (x *DictEntryKey) GetTenant() string

func (*DictEntryKey) GetTypeCode

func (x *DictEntryKey) GetTypeCode() string

func (*DictEntryKey) ProtoMessage

func (*DictEntryKey) ProtoMessage()

func (*DictEntryKey) ProtoReflect

func (x *DictEntryKey) ProtoReflect() protoreflect.Message

func (*DictEntryKey) Reset

func (x *DictEntryKey) Reset()

func (*DictEntryKey) String

func (x *DictEntryKey) String() string

type DictEntryKeyList

type DictEntryKeyList struct {
	Tenant       string          `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictEntryKey []*DictEntryKey `protobuf:"bytes,2,rep,name=dict_entry_key,json=dictEntryKey,proto3" json:"dict_entry_key,omitempty"`
	// contains filtered or unexported fields
}

数据字典List

func (*DictEntryKeyList) Descriptor deprecated

func (*DictEntryKeyList) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryKeyList.ProtoReflect.Descriptor instead.

func (*DictEntryKeyList) GetDictEntryKey

func (x *DictEntryKeyList) GetDictEntryKey() []*DictEntryKey

func (*DictEntryKeyList) GetTenant

func (x *DictEntryKeyList) GetTenant() string

func (*DictEntryKeyList) ProtoMessage

func (*DictEntryKeyList) ProtoMessage()

func (*DictEntryKeyList) ProtoReflect

func (x *DictEntryKeyList) ProtoReflect() protoreflect.Message

func (*DictEntryKeyList) Reset

func (x *DictEntryKeyList) Reset()

func (*DictEntryKeyList) String

func (x *DictEntryKeyList) String() string

type DictEntryList

type DictEntryList struct {

	// 当前页内容
	Results []*DictEntryModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

数据字典列表

func (*DictEntryList) Descriptor deprecated

func (*DictEntryList) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryList.ProtoReflect.Descriptor instead.

func (*DictEntryList) GetResults

func (x *DictEntryList) GetResults() []*DictEntryModel

func (*DictEntryList) ProtoMessage

func (*DictEntryList) ProtoMessage()

func (*DictEntryList) ProtoReflect

func (x *DictEntryList) ProtoReflect() protoreflect.Message

func (*DictEntryList) Reset

func (x *DictEntryList) Reset()

func (*DictEntryList) String

func (x *DictEntryList) String() string

type DictEntryModel

type DictEntryModel struct {

	// 字典类型编码
	TypeCode string `protobuf:"bytes,1,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,2,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 字典名称
	DictName string `protobuf:"bytes,3,opt,name=dict_name,json=dictName,proto3" json:"dict_name,omitempty"`
	// 排序
	ListOrder int32 `protobuf:"varint,4,opt,name=list_order,json=listOrder,proto3" json:"list_order,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,5,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// contains filtered or unexported fields
}

数据字典实体

func (*DictEntryModel) Descriptor deprecated

func (*DictEntryModel) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryModel.ProtoReflect.Descriptor instead.

func (*DictEntryModel) GetDescription_

func (x *DictEntryModel) GetDescription_() string

func (*DictEntryModel) GetDictCode

func (x *DictEntryModel) GetDictCode() string

func (*DictEntryModel) GetDictName

func (x *DictEntryModel) GetDictName() string

func (*DictEntryModel) GetEnable_

func (x *DictEntryModel) GetEnable_() bool

func (*DictEntryModel) GetListOrder

func (x *DictEntryModel) GetListOrder() int32

func (*DictEntryModel) GetTypeCode

func (x *DictEntryModel) GetTypeCode() string

func (*DictEntryModel) ProtoMessage

func (*DictEntryModel) ProtoMessage()

func (*DictEntryModel) ProtoReflect

func (x *DictEntryModel) ProtoReflect() protoreflect.Message

func (*DictEntryModel) Reset

func (x *DictEntryModel) Reset()

func (*DictEntryModel) String

func (x *DictEntryModel) String() string

type DictEntryModelTotal

type DictEntryModelTotal struct {

	// 总记录数
	TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

合计

func (*DictEntryModelTotal) Descriptor deprecated

func (*DictEntryModelTotal) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryModelTotal.ProtoReflect.Descriptor instead.

func (*DictEntryModelTotal) GetTotalSize

func (x *DictEntryModelTotal) GetTotalSize() int32

func (*DictEntryModelTotal) ProtoMessage

func (*DictEntryModelTotal) ProtoMessage()

func (*DictEntryModelTotal) ProtoReflect

func (x *DictEntryModelTotal) ProtoReflect() protoreflect.Message

func (*DictEntryModelTotal) Reset

func (x *DictEntryModelTotal) Reset()

func (*DictEntryModelTotal) String

func (x *DictEntryModelTotal) String() string

type DictEntryMoveKey

type DictEntryMoveKey struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictCode string `protobuf:"bytes,2,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	TypeCode string `protobuf:"bytes,3,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	Up       bool   `protobuf:"varint,4,opt,name=up,proto3" json:"up,omitempty"`
	// contains filtered or unexported fields
}

上移/下移

func (*DictEntryMoveKey) Descriptor deprecated

func (*DictEntryMoveKey) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryMoveKey.ProtoReflect.Descriptor instead.

func (*DictEntryMoveKey) GetDictCode

func (x *DictEntryMoveKey) GetDictCode() string

func (*DictEntryMoveKey) GetTenant

func (x *DictEntryMoveKey) GetTenant() string

func (*DictEntryMoveKey) GetTypeCode

func (x *DictEntryMoveKey) GetTypeCode() string

func (*DictEntryMoveKey) GetUp

func (x *DictEntryMoveKey) GetUp() bool

func (*DictEntryMoveKey) ProtoMessage

func (*DictEntryMoveKey) ProtoMessage()

func (*DictEntryMoveKey) ProtoReflect

func (x *DictEntryMoveKey) ProtoReflect() protoreflect.Message

func (*DictEntryMoveKey) Reset

func (x *DictEntryMoveKey) Reset()

func (*DictEntryMoveKey) String

func (x *DictEntryMoveKey) String() string

type DictEntryPage

type DictEntryPage struct {

	// 当前页内容
	Results []*DictEntryModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// 当前页码
	CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
	// 页尺寸
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 总记录数
	TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// 本页小计
	SubTotalDto *DictEntryModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
	// 合计
	TotalDto *DictEntryModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
	// contains filtered or unexported fields
}

数据字典分页

func (*DictEntryPage) Descriptor deprecated

func (*DictEntryPage) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryPage.ProtoReflect.Descriptor instead.

func (*DictEntryPage) GetCurPage

func (x *DictEntryPage) GetCurPage() int32

func (*DictEntryPage) GetPageSize

func (x *DictEntryPage) GetPageSize() int32

func (*DictEntryPage) GetResults

func (x *DictEntryPage) GetResults() []*DictEntryModel

func (*DictEntryPage) GetSubTotalDto

func (x *DictEntryPage) GetSubTotalDto() *DictEntryModelTotal

func (*DictEntryPage) GetTotalDto

func (x *DictEntryPage) GetTotalDto() *DictEntryModelTotal

func (*DictEntryPage) GetTotalSize

func (x *DictEntryPage) GetTotalSize() int32

func (*DictEntryPage) ProtoMessage

func (*DictEntryPage) ProtoMessage()

func (*DictEntryPage) ProtoReflect

func (x *DictEntryPage) ProtoReflect() protoreflect.Message

func (*DictEntryPage) Reset

func (x *DictEntryPage) Reset()

func (*DictEntryPage) String

func (x *DictEntryPage) String() string

type DictEntryReq

type DictEntryReq struct {

	// 租户
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 当前页码
	CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
	// 页尺寸
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 排序名称
	OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"`
	// 是否升序排序
	OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"`
	// 字典类型编码(非空)
	TypeCode string `protobuf:"bytes,6,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,7,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 是否包含启用字段
	HasEnable bool `protobuf:"varint,8,opt,name=has_enable,json=hasEnable,proto3" json:"has_enable,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,9,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// contains filtered or unexported fields
}

数据字典查询

func (*DictEntryReq) Descriptor deprecated

func (*DictEntryReq) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryReq.ProtoReflect.Descriptor instead.

func (*DictEntryReq) GetCurPage

func (x *DictEntryReq) GetCurPage() int32

func (*DictEntryReq) GetDictCode

func (x *DictEntryReq) GetDictCode() string

func (*DictEntryReq) GetEnable_

func (x *DictEntryReq) GetEnable_() bool

func (*DictEntryReq) GetHasEnable

func (x *DictEntryReq) GetHasEnable() bool

func (*DictEntryReq) GetOrderAsc

func (x *DictEntryReq) GetOrderAsc() bool

func (*DictEntryReq) GetOrderName

func (x *DictEntryReq) GetOrderName() string

func (*DictEntryReq) GetPageSize

func (x *DictEntryReq) GetPageSize() int32

func (*DictEntryReq) GetTenant

func (x *DictEntryReq) GetTenant() string

func (*DictEntryReq) GetTypeCode

func (x *DictEntryReq) GetTypeCode() string

func (*DictEntryReq) ProtoMessage

func (*DictEntryReq) ProtoMessage()

func (*DictEntryReq) ProtoReflect

func (x *DictEntryReq) ProtoReflect() protoreflect.Message

func (*DictEntryReq) Reset

func (x *DictEntryReq) Reset()

func (*DictEntryReq) String

func (x *DictEntryReq) String() string

type DictEntryUpdateReq

type DictEntryUpdateReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// 更新字段掩码.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,5,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,6,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 字典名称
	DictName string `protobuf:"bytes,7,opt,name=dict_name,json=dictName,proto3" json:"dict_name,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,9,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// contains filtered or unexported fields
}

数据字典修改实体

func (*DictEntryUpdateReq) Descriptor deprecated

func (*DictEntryUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use DictEntryUpdateReq.ProtoReflect.Descriptor instead.

func (*DictEntryUpdateReq) GetDescription_

func (x *DictEntryUpdateReq) GetDescription_() string

func (*DictEntryUpdateReq) GetDictCode

func (x *DictEntryUpdateReq) GetDictCode() string

func (*DictEntryUpdateReq) GetDictName

func (x *DictEntryUpdateReq) GetDictName() string

func (*DictEntryUpdateReq) GetEnable_

func (x *DictEntryUpdateReq) GetEnable_() bool

func (*DictEntryUpdateReq) GetRequestId

func (x *DictEntryUpdateReq) GetRequestId() string

func (*DictEntryUpdateReq) GetTenant

func (x *DictEntryUpdateReq) GetTenant() string

func (*DictEntryUpdateReq) GetTypeCode

func (x *DictEntryUpdateReq) GetTypeCode() string

func (*DictEntryUpdateReq) GetUpdateMask

func (x *DictEntryUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask

func (*DictEntryUpdateReq) GetValidateOnly

func (x *DictEntryUpdateReq) GetValidateOnly() bool

func (*DictEntryUpdateReq) ProtoMessage

func (*DictEntryUpdateReq) ProtoMessage()

func (*DictEntryUpdateReq) ProtoReflect

func (x *DictEntryUpdateReq) ProtoReflect() protoreflect.Message

func (*DictEntryUpdateReq) Reset

func (x *DictEntryUpdateReq) Reset()

func (*DictEntryUpdateReq) String

func (x *DictEntryUpdateReq) String() string

type DictLayEntryCreateReq

type DictLayEntryCreateReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,4,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,5,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 字典名称
	DictName string `protobuf:"bytes,6,opt,name=dict_name,json=dictName,proto3" json:"dict_name,omitempty"`
	// 字典父ID
	ParentId string `protobuf:"bytes,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,9,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体新增实体

func (*DictLayEntryCreateReq) Descriptor deprecated

func (*DictLayEntryCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryCreateReq.ProtoReflect.Descriptor instead.

func (*DictLayEntryCreateReq) GetDescription_

func (x *DictLayEntryCreateReq) GetDescription_() string

func (*DictLayEntryCreateReq) GetDictCode

func (x *DictLayEntryCreateReq) GetDictCode() string

func (*DictLayEntryCreateReq) GetDictName

func (x *DictLayEntryCreateReq) GetDictName() string

func (*DictLayEntryCreateReq) GetEnable_

func (x *DictLayEntryCreateReq) GetEnable_() bool

func (*DictLayEntryCreateReq) GetParentId

func (x *DictLayEntryCreateReq) GetParentId() string

func (*DictLayEntryCreateReq) GetRequestId

func (x *DictLayEntryCreateReq) GetRequestId() string

func (*DictLayEntryCreateReq) GetTenant

func (x *DictLayEntryCreateReq) GetTenant() string

func (*DictLayEntryCreateReq) GetTypeCode

func (x *DictLayEntryCreateReq) GetTypeCode() string

func (*DictLayEntryCreateReq) GetValidateOnly

func (x *DictLayEntryCreateReq) GetValidateOnly() bool

func (*DictLayEntryCreateReq) ProtoMessage

func (*DictLayEntryCreateReq) ProtoMessage()

func (*DictLayEntryCreateReq) ProtoReflect

func (x *DictLayEntryCreateReq) ProtoReflect() protoreflect.Message

func (*DictLayEntryCreateReq) Reset

func (x *DictLayEntryCreateReq) Reset()

func (*DictLayEntryCreateReq) String

func (x *DictLayEntryCreateReq) String() string

type DictLayEntryEnableKey

type DictLayEntryEnableKey struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictId string `protobuf:"bytes,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	Enable bool   `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

启用/禁用

func (*DictLayEntryEnableKey) Descriptor deprecated

func (*DictLayEntryEnableKey) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryEnableKey.ProtoReflect.Descriptor instead.

func (*DictLayEntryEnableKey) GetDictId

func (x *DictLayEntryEnableKey) GetDictId() string

func (*DictLayEntryEnableKey) GetEnable

func (x *DictLayEntryEnableKey) GetEnable() bool

func (*DictLayEntryEnableKey) GetTenant

func (x *DictLayEntryEnableKey) GetTenant() string

func (*DictLayEntryEnableKey) ProtoMessage

func (*DictLayEntryEnableKey) ProtoMessage()

func (*DictLayEntryEnableKey) ProtoReflect

func (x *DictLayEntryEnableKey) ProtoReflect() protoreflect.Message

func (*DictLayEntryEnableKey) Reset

func (x *DictLayEntryEnableKey) Reset()

func (*DictLayEntryEnableKey) String

func (x *DictLayEntryEnableKey) String() string

type DictLayEntryKey

type DictLayEntryKey struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictId string `protobuf:"bytes,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体主键

func (*DictLayEntryKey) Descriptor deprecated

func (*DictLayEntryKey) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryKey.ProtoReflect.Descriptor instead.

func (*DictLayEntryKey) GetDictId

func (x *DictLayEntryKey) GetDictId() string

func (*DictLayEntryKey) GetTenant

func (x *DictLayEntryKey) GetTenant() string

func (*DictLayEntryKey) ProtoMessage

func (*DictLayEntryKey) ProtoMessage()

func (*DictLayEntryKey) ProtoReflect

func (x *DictLayEntryKey) ProtoReflect() protoreflect.Message

func (*DictLayEntryKey) Reset

func (x *DictLayEntryKey) Reset()

func (*DictLayEntryKey) String

func (x *DictLayEntryKey) String() string

type DictLayEntryKeyList

type DictLayEntryKeyList struct {
	Tenant string   `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictId []string `protobuf:"bytes,2,rep,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体List

func (*DictLayEntryKeyList) Descriptor deprecated

func (*DictLayEntryKeyList) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryKeyList.ProtoReflect.Descriptor instead.

func (*DictLayEntryKeyList) GetDictId

func (x *DictLayEntryKeyList) GetDictId() []string

func (*DictLayEntryKeyList) GetTenant

func (x *DictLayEntryKeyList) GetTenant() string

func (*DictLayEntryKeyList) ProtoMessage

func (*DictLayEntryKeyList) ProtoMessage()

func (*DictLayEntryKeyList) ProtoReflect

func (x *DictLayEntryKeyList) ProtoReflect() protoreflect.Message

func (*DictLayEntryKeyList) Reset

func (x *DictLayEntryKeyList) Reset()

func (*DictLayEntryKeyList) String

func (x *DictLayEntryKeyList) String() string

type DictLayEntryList

type DictLayEntryList struct {

	// 当前页内容
	Results []*DictLayEntryModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体列表

func (*DictLayEntryList) Descriptor deprecated

func (*DictLayEntryList) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryList.ProtoReflect.Descriptor instead.

func (*DictLayEntryList) GetResults

func (x *DictLayEntryList) GetResults() []*DictLayEntryModel

func (*DictLayEntryList) ProtoMessage

func (*DictLayEntryList) ProtoMessage()

func (*DictLayEntryList) ProtoReflect

func (x *DictLayEntryList) ProtoReflect() protoreflect.Message

func (*DictLayEntryList) Reset

func (x *DictLayEntryList) Reset()

func (*DictLayEntryList) String

func (x *DictLayEntryList) String() string

type DictLayEntryModel

type DictLayEntryModel struct {

	// 字典ID
	DictId string `protobuf:"bytes,1,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,2,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,3,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 字典名称
	DictName string `protobuf:"bytes,4,opt,name=dict_name,json=dictName,proto3" json:"dict_name,omitempty"`
	// 字典父ID
	ParentId string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// 深度
	Depth_ int32 `protobuf:"varint,6,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"`
	// 排序
	ListOrder int32 `protobuf:"varint,7,opt,name=list_order,json=listOrder,proto3" json:"list_order,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,8,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,9,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// 孩子
	Children []*DictLayEntryModel `protobuf:"bytes,10,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体实体

func (*DictLayEntryModel) Descriptor deprecated

func (*DictLayEntryModel) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryModel.ProtoReflect.Descriptor instead.

func (*DictLayEntryModel) GetChildren

func (x *DictLayEntryModel) GetChildren() []*DictLayEntryModel

func (*DictLayEntryModel) GetDepth_

func (x *DictLayEntryModel) GetDepth_() int32

func (*DictLayEntryModel) GetDescription_

func (x *DictLayEntryModel) GetDescription_() string

func (*DictLayEntryModel) GetDictCode

func (x *DictLayEntryModel) GetDictCode() string

func (*DictLayEntryModel) GetDictId

func (x *DictLayEntryModel) GetDictId() string

func (*DictLayEntryModel) GetDictName

func (x *DictLayEntryModel) GetDictName() string

func (*DictLayEntryModel) GetEnable_

func (x *DictLayEntryModel) GetEnable_() bool

func (*DictLayEntryModel) GetListOrder

func (x *DictLayEntryModel) GetListOrder() int32

func (*DictLayEntryModel) GetParentId

func (x *DictLayEntryModel) GetParentId() string

func (*DictLayEntryModel) GetTypeCode

func (x *DictLayEntryModel) GetTypeCode() string

func (*DictLayEntryModel) ProtoMessage

func (*DictLayEntryModel) ProtoMessage()

func (*DictLayEntryModel) ProtoReflect

func (x *DictLayEntryModel) ProtoReflect() protoreflect.Message

func (*DictLayEntryModel) Reset

func (x *DictLayEntryModel) Reset()

func (*DictLayEntryModel) String

func (x *DictLayEntryModel) String() string

type DictLayEntryModelTotal

type DictLayEntryModelTotal struct {

	// 总记录数
	TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

合计

func (*DictLayEntryModelTotal) Descriptor deprecated

func (*DictLayEntryModelTotal) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryModelTotal.ProtoReflect.Descriptor instead.

func (*DictLayEntryModelTotal) GetTotalSize

func (x *DictLayEntryModelTotal) GetTotalSize() int32

func (*DictLayEntryModelTotal) ProtoMessage

func (*DictLayEntryModelTotal) ProtoMessage()

func (*DictLayEntryModelTotal) ProtoReflect

func (x *DictLayEntryModelTotal) ProtoReflect() protoreflect.Message

func (*DictLayEntryModelTotal) Reset

func (x *DictLayEntryModelTotal) Reset()

func (*DictLayEntryModelTotal) String

func (x *DictLayEntryModelTotal) String() string

type DictLayEntryMoveKey

type DictLayEntryMoveKey struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	DictId string `protobuf:"bytes,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	Up     bool   `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"`
	// contains filtered or unexported fields
}

上移/下移

func (*DictLayEntryMoveKey) Descriptor deprecated

func (*DictLayEntryMoveKey) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryMoveKey.ProtoReflect.Descriptor instead.

func (*DictLayEntryMoveKey) GetDictId

func (x *DictLayEntryMoveKey) GetDictId() string

func (*DictLayEntryMoveKey) GetTenant

func (x *DictLayEntryMoveKey) GetTenant() string

func (*DictLayEntryMoveKey) GetUp

func (x *DictLayEntryMoveKey) GetUp() bool

func (*DictLayEntryMoveKey) ProtoMessage

func (*DictLayEntryMoveKey) ProtoMessage()

func (*DictLayEntryMoveKey) ProtoReflect

func (x *DictLayEntryMoveKey) ProtoReflect() protoreflect.Message

func (*DictLayEntryMoveKey) Reset

func (x *DictLayEntryMoveKey) Reset()

func (*DictLayEntryMoveKey) String

func (x *DictLayEntryMoveKey) String() string

type DictLayEntryPage

type DictLayEntryPage struct {

	// 当前页内容
	Results []*DictLayEntryModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// 当前页码
	CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
	// 页尺寸
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 总记录数
	TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// 本页小计
	SubTotalDto *DictLayEntryModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
	// 合计
	TotalDto *DictLayEntryModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体分页

func (*DictLayEntryPage) Descriptor deprecated

func (*DictLayEntryPage) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryPage.ProtoReflect.Descriptor instead.

func (*DictLayEntryPage) GetCurPage

func (x *DictLayEntryPage) GetCurPage() int32

func (*DictLayEntryPage) GetPageSize

func (x *DictLayEntryPage) GetPageSize() int32

func (*DictLayEntryPage) GetResults

func (x *DictLayEntryPage) GetResults() []*DictLayEntryModel

func (*DictLayEntryPage) GetSubTotalDto

func (x *DictLayEntryPage) GetSubTotalDto() *DictLayEntryModelTotal

func (*DictLayEntryPage) GetTotalDto

func (x *DictLayEntryPage) GetTotalDto() *DictLayEntryModelTotal

func (*DictLayEntryPage) GetTotalSize

func (x *DictLayEntryPage) GetTotalSize() int32

func (*DictLayEntryPage) ProtoMessage

func (*DictLayEntryPage) ProtoMessage()

func (*DictLayEntryPage) ProtoReflect

func (x *DictLayEntryPage) ProtoReflect() protoreflect.Message

func (*DictLayEntryPage) Reset

func (x *DictLayEntryPage) Reset()

func (*DictLayEntryPage) String

func (x *DictLayEntryPage) String() string

type DictLayEntryReq

type DictLayEntryReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 字典类型编码(非空)
	TypeCode string `protobuf:"bytes,4,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典编码
	DictCode string `protobuf:"bytes,5,opt,name=dict_code,json=dictCode,proto3" json:"dict_code,omitempty"`
	// 是否包含启用字段
	HasEnable bool `protobuf:"varint,6,opt,name=has_enable,json=hasEnable,proto3" json:"has_enable,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,7,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// 字典父ID
	ParentId string `protobuf:"bytes,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// 深度
	Depth_ int32 `protobuf:"varint,9,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"`
	// 不包含ID及其孩子.
	ExcludeId string `protobuf:"bytes,10,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体查询

func (*DictLayEntryReq) Descriptor deprecated

func (*DictLayEntryReq) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryReq.ProtoReflect.Descriptor instead.

func (*DictLayEntryReq) GetDepth_

func (x *DictLayEntryReq) GetDepth_() int32

func (*DictLayEntryReq) GetDictCode

func (x *DictLayEntryReq) GetDictCode() string

func (*DictLayEntryReq) GetEnable_

func (x *DictLayEntryReq) GetEnable_() bool

func (*DictLayEntryReq) GetExcludeId

func (x *DictLayEntryReq) GetExcludeId() string

func (*DictLayEntryReq) GetHasEnable

func (x *DictLayEntryReq) GetHasEnable() bool

func (*DictLayEntryReq) GetParentId

func (x *DictLayEntryReq) GetParentId() string

func (*DictLayEntryReq) GetTenant

func (x *DictLayEntryReq) GetTenant() string

func (*DictLayEntryReq) GetTypeCode

func (x *DictLayEntryReq) GetTypeCode() string

func (*DictLayEntryReq) ProtoMessage

func (*DictLayEntryReq) ProtoMessage()

func (*DictLayEntryReq) ProtoReflect

func (x *DictLayEntryReq) ProtoReflect() protoreflect.Message

func (*DictLayEntryReq) Reset

func (x *DictLayEntryReq) Reset()

func (*DictLayEntryReq) String

func (x *DictLayEntryReq) String() string

type DictLayEntryUpdateReq

type DictLayEntryUpdateReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// 更新字段掩码.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// 字典ID
	DictId string `protobuf:"bytes,5,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	// 字典名称
	DictName string `protobuf:"bytes,6,opt,name=dict_name,json=dictName,proto3" json:"dict_name,omitempty"`
	// 字典父ID
	ParentId string `protobuf:"bytes,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,9,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// contains filtered or unexported fields
}

层级字典实体修改实体

func (*DictLayEntryUpdateReq) Descriptor deprecated

func (*DictLayEntryUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use DictLayEntryUpdateReq.ProtoReflect.Descriptor instead.

func (*DictLayEntryUpdateReq) GetDescription_

func (x *DictLayEntryUpdateReq) GetDescription_() string

func (*DictLayEntryUpdateReq) GetDictId

func (x *DictLayEntryUpdateReq) GetDictId() string

func (*DictLayEntryUpdateReq) GetDictName

func (x *DictLayEntryUpdateReq) GetDictName() string

func (*DictLayEntryUpdateReq) GetEnable_

func (x *DictLayEntryUpdateReq) GetEnable_() bool

func (*DictLayEntryUpdateReq) GetParentId

func (x *DictLayEntryUpdateReq) GetParentId() string

func (*DictLayEntryUpdateReq) GetRequestId

func (x *DictLayEntryUpdateReq) GetRequestId() string

func (*DictLayEntryUpdateReq) GetTenant

func (x *DictLayEntryUpdateReq) GetTenant() string

func (*DictLayEntryUpdateReq) GetUpdateMask

func (x *DictLayEntryUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask

func (*DictLayEntryUpdateReq) GetValidateOnly

func (x *DictLayEntryUpdateReq) GetValidateOnly() bool

func (*DictLayEntryUpdateReq) ProtoMessage

func (*DictLayEntryUpdateReq) ProtoMessage()

func (*DictLayEntryUpdateReq) ProtoReflect

func (x *DictLayEntryUpdateReq) ProtoReflect() protoreflect.Message

func (*DictLayEntryUpdateReq) Reset

func (x *DictLayEntryUpdateReq) Reset()

func (*DictLayEntryUpdateReq) String

func (x *DictLayEntryUpdateReq) String() string

type DictServer

type DictServer interface {
	// 版本
	Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	// 枚举值列表
	FindEnumList(context.Context, *wrapperspb.StringValue) (*basic.EnumValueList, error)
	// 枚举值Map
	FindEnumMap(context.Context, *wrapperspb.StringValue) (*basic.CustomEnumValueMap, error)
	// 枚举值
	FindEnumEntry(context.Context, *basic.EnumEntryReq) (*basic.EntryList, error)
	// 查询翻页信息数据字典
	FindDictEntryPage(context.Context, *DictEntryReq) (*DictEntryPage, error)
	// 查询列表信息数据字典
	FindDictEntryList(context.Context, *DictEntryReq) (*DictEntryList, error)
	// 查询数据字典
	FindDictEntryById(context.Context, *DictEntryKey) (*DictEntryModel, error)
	// 创建实体数据字典
	CreateDictEntry(context.Context, *DictEntryCreateReq) (*DictEntryModel, error)
	// 修改实体数据字典
	UpdateDictEntry(context.Context, *DictEntryUpdateReq) (*DictEntryModel, error)
	// 删除数据字典
	DeleteDictEntry(context.Context, *DictEntryKey) (*DictEntryModel, error)
	// 批量删除数据字典
	BatchDeleteDictEntry(context.Context, *DictEntryKeyList) (*wrapperspb.Int32Value, error)
	// 上移/下移
	MoveDictEntry(context.Context, *DictEntryMoveKey) (*wrapperspb.BoolValue, error)
	// 启用/禁用
	EnableDictEntry(context.Context, *DictEntryEnableKey) (*wrapperspb.BoolValue, error)
	// 查询列表信息层级字典实体
	FindDictLayEntryList(context.Context, *DictLayEntryReq) (*DictLayEntryList, error)
	// 查询层级字典实体
	FindDictLayEntryById(context.Context, *DictLayEntryKey) (*DictLayEntryModel, error)
	// 创建实体层级字典实体
	CreateDictLayEntry(context.Context, *DictLayEntryCreateReq) (*DictLayEntryModel, error)
	// 修改实体层级字典实体
	UpdateDictLayEntry(context.Context, *DictLayEntryUpdateReq) (*DictLayEntryModel, error)
	// 删除层级字典实体
	DeleteDictLayEntry(context.Context, *DictLayEntryKey) (*DictLayEntryModel, error)
	// 批量删除层级字典实体
	BatchDeleteDictLayEntry(context.Context, *DictLayEntryKeyList) (*wrapperspb.Int32Value, error)
	// 上移/下移
	MoveDictLayEntry(context.Context, *DictLayEntryMoveKey) (*wrapperspb.BoolValue, error)
	// 启用/禁用
	EnableDictLayEntry(context.Context, *DictLayEntryEnableKey) (*wrapperspb.BoolValue, error)
	// 查询翻页信息字典类型
	FindDictTypePage(context.Context, *DictTypeReq) (*DictTypePage, error)
	// 查询列表信息字典类型
	FindDictTypeList(context.Context, *DictTypeReq) (*DictTypeList, error)
	// 查询字典类型
	FindDictTypeById(context.Context, *DictTypeKey) (*DictTypeModel, error)
	// 创建实体字典类型
	CreateDictType(context.Context, *DictTypeCreateReq) (*DictTypeModel, error)
	// 修改实体字典类型
	UpdateDictType(context.Context, *DictTypeUpdateReq) (*DictTypeModel, error)
	// 删除字典类型
	DeleteDictType(context.Context, *DictTypeKey) (*DictTypeModel, error)
	// 批量删除字典类型
	BatchDeleteDictType(context.Context, *DictTypeKeyList) (*wrapperspb.Int32Value, error)
	// 上移/下移
	MoveDictType(context.Context, *DictTypeMoveKey) (*wrapperspb.BoolValue, error)
	// 启用/禁用
	EnableDictType(context.Context, *DictTypeEnableKey) (*wrapperspb.BoolValue, error)
	// 下载导入模板字典类型
	DownloadDictType(*DictTypeExportReq, Dict_DownloadDictTypeServer) error
	// 导入字典类型
	ImportDictType(context.Context, *DictTypeImportReq) (*wrapperspb.StringValue, error)
	// 导出字典类型
	ExportDictType(*DictTypeExportReq, Dict_ExportDictTypeServer) error
	// contains filtered or unexported methods
}

DictServer is the server API for Dict service. All implementations must embed UnimplementedDictServer for forward compatibility

type DictTypeCreateReq

type DictTypeCreateReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,4,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典类型名称
	TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// 字典实体类型
	EntryType EntryTypes `protobuf:"varint,6,opt,name=entry_type,json=entryType,proto3,enum=jmash.dict.EntryTypes" json:"entry_type,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,7,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,8,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// contains filtered or unexported fields
}

字典类型新增实体

func (*DictTypeCreateReq) Descriptor deprecated

func (*DictTypeCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeCreateReq.ProtoReflect.Descriptor instead.

func (*DictTypeCreateReq) GetDescription_

func (x *DictTypeCreateReq) GetDescription_() string

func (*DictTypeCreateReq) GetEnable_

func (x *DictTypeCreateReq) GetEnable_() bool

func (*DictTypeCreateReq) GetEntryType

func (x *DictTypeCreateReq) GetEntryType() EntryTypes

func (*DictTypeCreateReq) GetRequestId

func (x *DictTypeCreateReq) GetRequestId() string

func (*DictTypeCreateReq) GetTenant

func (x *DictTypeCreateReq) GetTenant() string

func (*DictTypeCreateReq) GetTypeCode

func (x *DictTypeCreateReq) GetTypeCode() string

func (*DictTypeCreateReq) GetTypeName

func (x *DictTypeCreateReq) GetTypeName() string

func (*DictTypeCreateReq) GetValidateOnly

func (x *DictTypeCreateReq) GetValidateOnly() bool

func (*DictTypeCreateReq) ProtoMessage

func (*DictTypeCreateReq) ProtoMessage()

func (*DictTypeCreateReq) ProtoReflect

func (x *DictTypeCreateReq) ProtoReflect() protoreflect.Message

func (*DictTypeCreateReq) Reset

func (x *DictTypeCreateReq) Reset()

func (*DictTypeCreateReq) String

func (x *DictTypeCreateReq) String() string

type DictTypeEnableKey

type DictTypeEnableKey struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	TypeCode string `protobuf:"bytes,2,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	Enable   bool   `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

启用/禁用

func (*DictTypeEnableKey) Descriptor deprecated

func (*DictTypeEnableKey) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeEnableKey.ProtoReflect.Descriptor instead.

func (*DictTypeEnableKey) GetEnable

func (x *DictTypeEnableKey) GetEnable() bool

func (*DictTypeEnableKey) GetTenant

func (x *DictTypeEnableKey) GetTenant() string

func (*DictTypeEnableKey) GetTypeCode

func (x *DictTypeEnableKey) GetTypeCode() string

func (*DictTypeEnableKey) ProtoMessage

func (*DictTypeEnableKey) ProtoMessage()

func (*DictTypeEnableKey) ProtoReflect

func (x *DictTypeEnableKey) ProtoReflect() protoreflect.Message

func (*DictTypeEnableKey) Reset

func (x *DictTypeEnableKey) Reset()

func (*DictTypeEnableKey) String

func (x *DictTypeEnableKey) String() string

type DictTypeExportReq

type DictTypeExportReq struct {

	// 租户.
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 标题
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// 字段列表
	TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"`
	// 显示文件名
	FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// 筛选条件
	Req *DictTypeReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"`
	// contains filtered or unexported fields
}

func (*DictTypeExportReq) Descriptor deprecated

func (*DictTypeExportReq) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeExportReq.ProtoReflect.Descriptor instead.

func (*DictTypeExportReq) GetFileName

func (x *DictTypeExportReq) GetFileName() string

func (*DictTypeExportReq) GetReq

func (x *DictTypeExportReq) GetReq() *DictTypeReq

func (*DictTypeExportReq) GetTableHeads

func (x *DictTypeExportReq) GetTableHeads() []*basic.TableHead

func (*DictTypeExportReq) GetTenant

func (x *DictTypeExportReq) GetTenant() string

func (*DictTypeExportReq) GetTitle

func (x *DictTypeExportReq) GetTitle() string

func (*DictTypeExportReq) ProtoMessage

func (*DictTypeExportReq) ProtoMessage()

func (*DictTypeExportReq) ProtoReflect

func (x *DictTypeExportReq) ProtoReflect() protoreflect.Message

func (*DictTypeExportReq) Reset

func (x *DictTypeExportReq) Reset()

func (*DictTypeExportReq) String

func (x *DictTypeExportReq) String() string

type DictTypeImportReq

type DictTypeImportReq struct {

	// 租户.
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 文件名
	FileNames string `protobuf:"bytes,3,opt,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"`
	// 是否新增标识
	AddFlag bool `protobuf:"varint,4,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"`
	// 更新字段掩码.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

导入请求

func (*DictTypeImportReq) Descriptor deprecated

func (*DictTypeImportReq) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeImportReq.ProtoReflect.Descriptor instead.

func (*DictTypeImportReq) GetAddFlag

func (x *DictTypeImportReq) GetAddFlag() bool

func (*DictTypeImportReq) GetFileNames

func (x *DictTypeImportReq) GetFileNames() string

func (*DictTypeImportReq) GetRequestId

func (x *DictTypeImportReq) GetRequestId() string

func (*DictTypeImportReq) GetTenant

func (x *DictTypeImportReq) GetTenant() string

func (*DictTypeImportReq) GetUpdateMask

func (x *DictTypeImportReq) GetUpdateMask() *fieldmaskpb.FieldMask

func (*DictTypeImportReq) ProtoMessage

func (*DictTypeImportReq) ProtoMessage()

func (*DictTypeImportReq) ProtoReflect

func (x *DictTypeImportReq) ProtoReflect() protoreflect.Message

func (*DictTypeImportReq) Reset

func (x *DictTypeImportReq) Reset()

func (*DictTypeImportReq) String

func (x *DictTypeImportReq) String() string

type DictTypeKey

type DictTypeKey struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	TypeCode string `protobuf:"bytes,2,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// contains filtered or unexported fields
}

字典类型主键

func (*DictTypeKey) Descriptor deprecated

func (*DictTypeKey) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeKey.ProtoReflect.Descriptor instead.

func (*DictTypeKey) GetTenant

func (x *DictTypeKey) GetTenant() string

func (*DictTypeKey) GetTypeCode

func (x *DictTypeKey) GetTypeCode() string

func (*DictTypeKey) ProtoMessage

func (*DictTypeKey) ProtoMessage()

func (*DictTypeKey) ProtoReflect

func (x *DictTypeKey) ProtoReflect() protoreflect.Message

func (*DictTypeKey) Reset

func (x *DictTypeKey) Reset()

func (*DictTypeKey) String

func (x *DictTypeKey) String() string

type DictTypeKeyList

type DictTypeKeyList struct {
	Tenant   string   `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	TypeCode []string `protobuf:"bytes,2,rep,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// contains filtered or unexported fields
}

字典类型List

func (*DictTypeKeyList) Descriptor deprecated

func (*DictTypeKeyList) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeKeyList.ProtoReflect.Descriptor instead.

func (*DictTypeKeyList) GetTenant

func (x *DictTypeKeyList) GetTenant() string

func (*DictTypeKeyList) GetTypeCode

func (x *DictTypeKeyList) GetTypeCode() []string

func (*DictTypeKeyList) ProtoMessage

func (*DictTypeKeyList) ProtoMessage()

func (*DictTypeKeyList) ProtoReflect

func (x *DictTypeKeyList) ProtoReflect() protoreflect.Message

func (*DictTypeKeyList) Reset

func (x *DictTypeKeyList) Reset()

func (*DictTypeKeyList) String

func (x *DictTypeKeyList) String() string

type DictTypeList

type DictTypeList struct {

	// 当前页内容
	Results []*DictTypeModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

字典类型列表

func (*DictTypeList) Descriptor deprecated

func (*DictTypeList) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeList.ProtoReflect.Descriptor instead.

func (*DictTypeList) GetResults

func (x *DictTypeList) GetResults() []*DictTypeModel

func (*DictTypeList) ProtoMessage

func (*DictTypeList) ProtoMessage()

func (*DictTypeList) ProtoReflect

func (x *DictTypeList) ProtoReflect() protoreflect.Message

func (*DictTypeList) Reset

func (x *DictTypeList) Reset()

func (*DictTypeList) String

func (x *DictTypeList) String() string

type DictTypeModel

type DictTypeModel struct {

	// 字典类型编码
	TypeCode string `protobuf:"bytes,1,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典类型名称
	TypeName string `protobuf:"bytes,2,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// 排序
	ListOrder int32 `protobuf:"varint,3,opt,name=list_order,json=listOrder,proto3" json:"list_order,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,4,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// 字典实体类型
	EntryType EntryTypes `protobuf:"varint,5,opt,name=entry_type,json=entryType,proto3,enum=jmash.dict.EntryTypes" json:"entry_type,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// contains filtered or unexported fields
}

字典类型实体

func (*DictTypeModel) Descriptor deprecated

func (*DictTypeModel) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeModel.ProtoReflect.Descriptor instead.

func (*DictTypeModel) GetDescription_

func (x *DictTypeModel) GetDescription_() string

func (*DictTypeModel) GetEnable_

func (x *DictTypeModel) GetEnable_() bool

func (*DictTypeModel) GetEntryType

func (x *DictTypeModel) GetEntryType() EntryTypes

func (*DictTypeModel) GetListOrder

func (x *DictTypeModel) GetListOrder() int32

func (*DictTypeModel) GetTypeCode

func (x *DictTypeModel) GetTypeCode() string

func (*DictTypeModel) GetTypeName

func (x *DictTypeModel) GetTypeName() string

func (*DictTypeModel) ProtoMessage

func (*DictTypeModel) ProtoMessage()

func (*DictTypeModel) ProtoReflect

func (x *DictTypeModel) ProtoReflect() protoreflect.Message

func (*DictTypeModel) Reset

func (x *DictTypeModel) Reset()

func (*DictTypeModel) String

func (x *DictTypeModel) String() string

type DictTypeModelTotal

type DictTypeModelTotal struct {

	// 总记录数
	TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

合计

func (*DictTypeModelTotal) Descriptor deprecated

func (*DictTypeModelTotal) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeModelTotal.ProtoReflect.Descriptor instead.

func (*DictTypeModelTotal) GetTotalSize

func (x *DictTypeModelTotal) GetTotalSize() int32

func (*DictTypeModelTotal) ProtoMessage

func (*DictTypeModelTotal) ProtoMessage()

func (*DictTypeModelTotal) ProtoReflect

func (x *DictTypeModelTotal) ProtoReflect() protoreflect.Message

func (*DictTypeModelTotal) Reset

func (x *DictTypeModelTotal) Reset()

func (*DictTypeModelTotal) String

func (x *DictTypeModelTotal) String() string

type DictTypeMoveKey

type DictTypeMoveKey struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	TypeCode string `protobuf:"bytes,2,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	Up       bool   `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"`
	// contains filtered or unexported fields
}

上移/下移

func (*DictTypeMoveKey) Descriptor deprecated

func (*DictTypeMoveKey) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeMoveKey.ProtoReflect.Descriptor instead.

func (*DictTypeMoveKey) GetTenant

func (x *DictTypeMoveKey) GetTenant() string

func (*DictTypeMoveKey) GetTypeCode

func (x *DictTypeMoveKey) GetTypeCode() string

func (*DictTypeMoveKey) GetUp

func (x *DictTypeMoveKey) GetUp() bool

func (*DictTypeMoveKey) ProtoMessage

func (*DictTypeMoveKey) ProtoMessage()

func (*DictTypeMoveKey) ProtoReflect

func (x *DictTypeMoveKey) ProtoReflect() protoreflect.Message

func (*DictTypeMoveKey) Reset

func (x *DictTypeMoveKey) Reset()

func (*DictTypeMoveKey) String

func (x *DictTypeMoveKey) String() string

type DictTypePage

type DictTypePage struct {

	// 当前页内容
	Results []*DictTypeModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// 当前页码
	CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
	// 页尺寸
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 总记录数
	TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// 本页小计
	SubTotalDto *DictTypeModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
	// 合计
	TotalDto *DictTypeModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
	// contains filtered or unexported fields
}

字典类型分页

func (*DictTypePage) Descriptor deprecated

func (*DictTypePage) Descriptor() ([]byte, []int)

Deprecated: Use DictTypePage.ProtoReflect.Descriptor instead.

func (*DictTypePage) GetCurPage

func (x *DictTypePage) GetCurPage() int32

func (*DictTypePage) GetPageSize

func (x *DictTypePage) GetPageSize() int32

func (*DictTypePage) GetResults

func (x *DictTypePage) GetResults() []*DictTypeModel

func (*DictTypePage) GetSubTotalDto

func (x *DictTypePage) GetSubTotalDto() *DictTypeModelTotal

func (*DictTypePage) GetTotalDto

func (x *DictTypePage) GetTotalDto() *DictTypeModelTotal

func (*DictTypePage) GetTotalSize

func (x *DictTypePage) GetTotalSize() int32

func (*DictTypePage) ProtoMessage

func (*DictTypePage) ProtoMessage()

func (*DictTypePage) ProtoReflect

func (x *DictTypePage) ProtoReflect() protoreflect.Message

func (*DictTypePage) Reset

func (x *DictTypePage) Reset()

func (*DictTypePage) String

func (x *DictTypePage) String() string

type DictTypeReq

type DictTypeReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 当前页码
	CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
	// 页尺寸
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 排序名称
	OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"`
	// 是否升序排序
	OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,6,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典类型名称(模糊查询)
	LikeTypeName string `protobuf:"bytes,7,opt,name=like_type_name,json=likeTypeName,proto3" json:"like_type_name,omitempty"`
	// 是否包含启用字段
	HasEnable bool `protobuf:"varint,8,opt,name=has_enable,json=hasEnable,proto3" json:"has_enable,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,9,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// 是否包含字典实体类型
	HasEntryType bool `protobuf:"varint,10,opt,name=has_entry_type,json=hasEntryType,proto3" json:"has_entry_type,omitempty"`
	// 字典实体类型
	EntryType EntryTypes `protobuf:"varint,11,opt,name=entry_type,json=entryType,proto3,enum=jmash.dict.EntryTypes" json:"entry_type,omitempty"`
	// contains filtered or unexported fields
}

字典类型查询

func (*DictTypeReq) Descriptor deprecated

func (*DictTypeReq) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeReq.ProtoReflect.Descriptor instead.

func (*DictTypeReq) GetCurPage

func (x *DictTypeReq) GetCurPage() int32

func (*DictTypeReq) GetEnable_

func (x *DictTypeReq) GetEnable_() bool

func (*DictTypeReq) GetEntryType

func (x *DictTypeReq) GetEntryType() EntryTypes

func (*DictTypeReq) GetHasEnable

func (x *DictTypeReq) GetHasEnable() bool

func (*DictTypeReq) GetHasEntryType

func (x *DictTypeReq) GetHasEntryType() bool

func (*DictTypeReq) GetLikeTypeName

func (x *DictTypeReq) GetLikeTypeName() string

func (*DictTypeReq) GetOrderAsc

func (x *DictTypeReq) GetOrderAsc() bool

func (*DictTypeReq) GetOrderName

func (x *DictTypeReq) GetOrderName() string

func (*DictTypeReq) GetPageSize

func (x *DictTypeReq) GetPageSize() int32

func (*DictTypeReq) GetTenant

func (x *DictTypeReq) GetTenant() string

func (*DictTypeReq) GetTypeCode

func (x *DictTypeReq) GetTypeCode() string

func (*DictTypeReq) ProtoMessage

func (*DictTypeReq) ProtoMessage()

func (*DictTypeReq) ProtoReflect

func (x *DictTypeReq) ProtoReflect() protoreflect.Message

func (*DictTypeReq) Reset

func (x *DictTypeReq) Reset()

func (*DictTypeReq) String

func (x *DictTypeReq) String() string

type DictTypeUpdateReq

type DictTypeUpdateReq struct {
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// 用于检测重复请求的唯一字符串ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// 更新字段掩码.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// 字典类型编码
	TypeCode string `protobuf:"bytes,5,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
	// 字典类型名称
	TypeName string `protobuf:"bytes,6,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// 是否启用
	Enable_ bool `protobuf:"varint,7,opt,name=enable_,json=enable,proto3" json:"enable_,omitempty"`
	// 描述
	Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
	// contains filtered or unexported fields
}

字典类型修改实体

func (*DictTypeUpdateReq) Descriptor deprecated

func (*DictTypeUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use DictTypeUpdateReq.ProtoReflect.Descriptor instead.

func (*DictTypeUpdateReq) GetDescription_

func (x *DictTypeUpdateReq) GetDescription_() string

func (*DictTypeUpdateReq) GetEnable_

func (x *DictTypeUpdateReq) GetEnable_() bool

func (*DictTypeUpdateReq) GetRequestId

func (x *DictTypeUpdateReq) GetRequestId() string

func (*DictTypeUpdateReq) GetTenant

func (x *DictTypeUpdateReq) GetTenant() string

func (*DictTypeUpdateReq) GetTypeCode

func (x *DictTypeUpdateReq) GetTypeCode() string

func (*DictTypeUpdateReq) GetTypeName

func (x *DictTypeUpdateReq) GetTypeName() string

func (*DictTypeUpdateReq) GetUpdateMask

func (x *DictTypeUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask

func (*DictTypeUpdateReq) GetValidateOnly

func (x *DictTypeUpdateReq) GetValidateOnly() bool

func (*DictTypeUpdateReq) ProtoMessage

func (*DictTypeUpdateReq) ProtoMessage()

func (*DictTypeUpdateReq) ProtoReflect

func (x *DictTypeUpdateReq) ProtoReflect() protoreflect.Message

func (*DictTypeUpdateReq) Reset

func (x *DictTypeUpdateReq) Reset()

func (*DictTypeUpdateReq) String

func (x *DictTypeUpdateReq) String() string

type Dict_DownloadDictTypeClient

type Dict_DownloadDictTypeClient interface {
	Recv() (*httpbody.HttpBody, error)
	grpc.ClientStream
}

type Dict_DownloadDictTypeServer

type Dict_DownloadDictTypeServer interface {
	Send(*httpbody.HttpBody) error
	grpc.ServerStream
}

type Dict_ExportDictTypeClient

type Dict_ExportDictTypeClient interface {
	Recv() (*httpbody.HttpBody, error)
	grpc.ClientStream
}

type Dict_ExportDictTypeServer

type Dict_ExportDictTypeServer interface {
	Send(*httpbody.HttpBody) error
	grpc.ServerStream
}

type EntryTypes

type EntryTypes int32
const (
	// 普通字典
	EntryTypes_normal EntryTypes = 0
	// 层级字典
	EntryTypes_layout EntryTypes = 1
)

func (EntryTypes) Descriptor

func (EntryTypes) Descriptor() protoreflect.EnumDescriptor

func (EntryTypes) Enum

func (x EntryTypes) Enum() *EntryTypes

func (EntryTypes) EnumDescriptor deprecated

func (EntryTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntryTypes.Descriptor instead.

func (EntryTypes) Number

func (x EntryTypes) Number() protoreflect.EnumNumber

func (EntryTypes) String

func (x EntryTypes) String() string

func (EntryTypes) Type

type UnimplementedDictServer

type UnimplementedDictServer struct {
}

UnimplementedDictServer must be embedded to have forward compatible implementations.

func (UnimplementedDictServer) BatchDeleteDictEntry

func (UnimplementedDictServer) BatchDeleteDictLayEntry

func (UnimplementedDictServer) BatchDeleteDictType

func (UnimplementedDictServer) CreateDictEntry

func (UnimplementedDictServer) CreateDictLayEntry

func (UnimplementedDictServer) CreateDictType

func (UnimplementedDictServer) DeleteDictEntry

func (UnimplementedDictServer) DeleteDictLayEntry

func (UnimplementedDictServer) DeleteDictType

func (UnimplementedDictServer) DownloadDictType

func (UnimplementedDictServer) EnableDictEntry

func (UnimplementedDictServer) EnableDictLayEntry

func (UnimplementedDictServer) EnableDictType

func (UnimplementedDictServer) ExportDictType

func (UnimplementedDictServer) FindDictEntryById

func (UnimplementedDictServer) FindDictEntryList

func (UnimplementedDictServer) FindDictEntryPage

func (UnimplementedDictServer) FindDictLayEntryById

func (UnimplementedDictServer) FindDictLayEntryList

func (UnimplementedDictServer) FindDictTypeById

func (UnimplementedDictServer) FindDictTypeList

func (UnimplementedDictServer) FindDictTypePage

func (UnimplementedDictServer) FindEnumEntry

func (UnimplementedDictServer) FindEnumList

func (UnimplementedDictServer) FindEnumMap

func (UnimplementedDictServer) ImportDictType

func (UnimplementedDictServer) MoveDictEntry

func (UnimplementedDictServer) MoveDictLayEntry

func (UnimplementedDictServer) MoveDictType

func (UnimplementedDictServer) UpdateDictEntry

func (UnimplementedDictServer) UpdateDictLayEntry

func (UnimplementedDictServer) UpdateDictType

func (UnimplementedDictServer) Version

type UnsafeDictServer

type UnsafeDictServer interface {
	// contains filtered or unexported methods
}

UnsafeDictServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DictServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL