Documentation ¶
Overview ¶
Package dict is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterDictHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDictHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DictClient) error
- func RegisterDictHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDictHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DictServer) error
- func RegisterDictServer(s grpc.ServiceRegistrar, srv DictServer)
- type DictClient
- type DictEntryCreateReq
- func (*DictEntryCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryCreateReq) GetDescription_() string
- func (x *DictEntryCreateReq) GetDictCode() string
- func (x *DictEntryCreateReq) GetDictName() string
- func (x *DictEntryCreateReq) GetEnable_() bool
- func (x *DictEntryCreateReq) GetRequestId() string
- func (x *DictEntryCreateReq) GetTenant() string
- func (x *DictEntryCreateReq) GetTypeCode() string
- func (x *DictEntryCreateReq) GetValidateOnly() bool
- func (*DictEntryCreateReq) ProtoMessage()
- func (x *DictEntryCreateReq) ProtoReflect() protoreflect.Message
- func (x *DictEntryCreateReq) Reset()
- func (x *DictEntryCreateReq) String() string
- type DictEntryEnableKey
- func (*DictEntryEnableKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryEnableKey) GetDictCode() string
- func (x *DictEntryEnableKey) GetEnable() bool
- func (x *DictEntryEnableKey) GetTenant() string
- func (x *DictEntryEnableKey) GetTypeCode() string
- func (*DictEntryEnableKey) ProtoMessage()
- func (x *DictEntryEnableKey) ProtoReflect() protoreflect.Message
- func (x *DictEntryEnableKey) Reset()
- func (x *DictEntryEnableKey) String() string
- type DictEntryKey
- func (*DictEntryKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryKey) GetDictCode() string
- func (x *DictEntryKey) GetTenant() string
- func (x *DictEntryKey) GetTypeCode() string
- func (*DictEntryKey) ProtoMessage()
- func (x *DictEntryKey) ProtoReflect() protoreflect.Message
- func (x *DictEntryKey) Reset()
- func (x *DictEntryKey) String() string
- type DictEntryKeyList
- func (*DictEntryKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryKeyList) GetDictEntryKey() []*DictEntryKey
- func (x *DictEntryKeyList) GetTenant() string
- func (*DictEntryKeyList) ProtoMessage()
- func (x *DictEntryKeyList) ProtoReflect() protoreflect.Message
- func (x *DictEntryKeyList) Reset()
- func (x *DictEntryKeyList) String() string
- type DictEntryList
- type DictEntryModel
- func (*DictEntryModel) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryModel) GetDescription_() string
- func (x *DictEntryModel) GetDictCode() string
- func (x *DictEntryModel) GetDictName() string
- func (x *DictEntryModel) GetEnable_() bool
- func (x *DictEntryModel) GetListOrder() int32
- func (x *DictEntryModel) GetTypeCode() string
- func (*DictEntryModel) ProtoMessage()
- func (x *DictEntryModel) ProtoReflect() protoreflect.Message
- func (x *DictEntryModel) Reset()
- func (x *DictEntryModel) String() string
- type DictEntryModelTotal
- func (*DictEntryModelTotal) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryModelTotal) GetTotalSize() int32
- func (*DictEntryModelTotal) ProtoMessage()
- func (x *DictEntryModelTotal) ProtoReflect() protoreflect.Message
- func (x *DictEntryModelTotal) Reset()
- func (x *DictEntryModelTotal) String() string
- type DictEntryMoveKey
- func (*DictEntryMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryMoveKey) GetDictCode() string
- func (x *DictEntryMoveKey) GetTenant() string
- func (x *DictEntryMoveKey) GetTypeCode() string
- func (x *DictEntryMoveKey) GetUp() bool
- func (*DictEntryMoveKey) ProtoMessage()
- func (x *DictEntryMoveKey) ProtoReflect() protoreflect.Message
- func (x *DictEntryMoveKey) Reset()
- func (x *DictEntryMoveKey) String() string
- type DictEntryPage
- func (*DictEntryPage) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryPage) GetCurPage() int32
- func (x *DictEntryPage) GetPageSize() int32
- func (x *DictEntryPage) GetResults() []*DictEntryModel
- func (x *DictEntryPage) GetSubTotalDto() *DictEntryModelTotal
- func (x *DictEntryPage) GetTotalDto() *DictEntryModelTotal
- func (x *DictEntryPage) GetTotalSize() int32
- func (*DictEntryPage) ProtoMessage()
- func (x *DictEntryPage) ProtoReflect() protoreflect.Message
- func (x *DictEntryPage) Reset()
- func (x *DictEntryPage) String() string
- type DictEntryReq
- func (*DictEntryReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryReq) GetCurPage() int32
- func (x *DictEntryReq) GetDictCode() string
- func (x *DictEntryReq) GetEnable_() bool
- func (x *DictEntryReq) GetHasEnable() bool
- func (x *DictEntryReq) GetOrderAsc() bool
- func (x *DictEntryReq) GetOrderName() string
- func (x *DictEntryReq) GetPageSize() int32
- func (x *DictEntryReq) GetTenant() string
- func (x *DictEntryReq) GetTypeCode() string
- func (*DictEntryReq) ProtoMessage()
- func (x *DictEntryReq) ProtoReflect() protoreflect.Message
- func (x *DictEntryReq) Reset()
- func (x *DictEntryReq) String() string
- type DictEntryUpdateReq
- func (*DictEntryUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryUpdateReq) GetDescription_() string
- func (x *DictEntryUpdateReq) GetDictCode() string
- func (x *DictEntryUpdateReq) GetDictName() string
- func (x *DictEntryUpdateReq) GetEnable_() bool
- func (x *DictEntryUpdateReq) GetRequestId() string
- func (x *DictEntryUpdateReq) GetTenant() string
- func (x *DictEntryUpdateReq) GetTypeCode() string
- func (x *DictEntryUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *DictEntryUpdateReq) GetValidateOnly() bool
- func (*DictEntryUpdateReq) ProtoMessage()
- func (x *DictEntryUpdateReq) ProtoReflect() protoreflect.Message
- func (x *DictEntryUpdateReq) Reset()
- func (x *DictEntryUpdateReq) String() string
- type DictLayEntryCreateReq
- func (*DictLayEntryCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryCreateReq) GetDescription_() string
- func (x *DictLayEntryCreateReq) GetDictCode() string
- func (x *DictLayEntryCreateReq) GetDictName() string
- func (x *DictLayEntryCreateReq) GetEnable_() bool
- func (x *DictLayEntryCreateReq) GetParentId() string
- func (x *DictLayEntryCreateReq) GetRequestId() string
- func (x *DictLayEntryCreateReq) GetTenant() string
- func (x *DictLayEntryCreateReq) GetTypeCode() string
- func (x *DictLayEntryCreateReq) GetValidateOnly() bool
- func (*DictLayEntryCreateReq) ProtoMessage()
- func (x *DictLayEntryCreateReq) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryCreateReq) Reset()
- func (x *DictLayEntryCreateReq) String() string
- type DictLayEntryEnableKey
- func (*DictLayEntryEnableKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryEnableKey) GetDictId() string
- func (x *DictLayEntryEnableKey) GetEnable() bool
- func (x *DictLayEntryEnableKey) GetTenant() string
- func (*DictLayEntryEnableKey) ProtoMessage()
- func (x *DictLayEntryEnableKey) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryEnableKey) Reset()
- func (x *DictLayEntryEnableKey) String() string
- type DictLayEntryKey
- func (*DictLayEntryKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryKey) GetDictId() string
- func (x *DictLayEntryKey) GetTenant() string
- func (*DictLayEntryKey) ProtoMessage()
- func (x *DictLayEntryKey) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryKey) Reset()
- func (x *DictLayEntryKey) String() string
- type DictLayEntryKeyList
- func (*DictLayEntryKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryKeyList) GetDictId() []string
- func (x *DictLayEntryKeyList) GetTenant() string
- func (*DictLayEntryKeyList) ProtoMessage()
- func (x *DictLayEntryKeyList) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryKeyList) Reset()
- func (x *DictLayEntryKeyList) String() string
- type DictLayEntryList
- func (*DictLayEntryList) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryList) GetResults() []*DictLayEntryModel
- func (*DictLayEntryList) ProtoMessage()
- func (x *DictLayEntryList) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryList) Reset()
- func (x *DictLayEntryList) String() string
- type DictLayEntryModel
- func (*DictLayEntryModel) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryModel) GetChildren() []*DictLayEntryModel
- func (x *DictLayEntryModel) GetDepth_() int32
- func (x *DictLayEntryModel) GetDescription_() string
- func (x *DictLayEntryModel) GetDictCode() string
- func (x *DictLayEntryModel) GetDictId() string
- func (x *DictLayEntryModel) GetDictName() string
- func (x *DictLayEntryModel) GetEnable_() bool
- func (x *DictLayEntryModel) GetListOrder() int32
- func (x *DictLayEntryModel) GetParentId() string
- func (x *DictLayEntryModel) GetTypeCode() string
- func (*DictLayEntryModel) ProtoMessage()
- func (x *DictLayEntryModel) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryModel) Reset()
- func (x *DictLayEntryModel) String() string
- type DictLayEntryModelTotal
- func (*DictLayEntryModelTotal) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryModelTotal) GetTotalSize() int32
- func (*DictLayEntryModelTotal) ProtoMessage()
- func (x *DictLayEntryModelTotal) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryModelTotal) Reset()
- func (x *DictLayEntryModelTotal) String() string
- type DictLayEntryMoveKey
- func (*DictLayEntryMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryMoveKey) GetDictId() string
- func (x *DictLayEntryMoveKey) GetTenant() string
- func (x *DictLayEntryMoveKey) GetUp() bool
- func (*DictLayEntryMoveKey) ProtoMessage()
- func (x *DictLayEntryMoveKey) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryMoveKey) Reset()
- func (x *DictLayEntryMoveKey) String() string
- type DictLayEntryPage
- func (*DictLayEntryPage) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryPage) GetCurPage() int32
- func (x *DictLayEntryPage) GetPageSize() int32
- func (x *DictLayEntryPage) GetResults() []*DictLayEntryModel
- func (x *DictLayEntryPage) GetSubTotalDto() *DictLayEntryModelTotal
- func (x *DictLayEntryPage) GetTotalDto() *DictLayEntryModelTotal
- func (x *DictLayEntryPage) GetTotalSize() int32
- func (*DictLayEntryPage) ProtoMessage()
- func (x *DictLayEntryPage) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryPage) Reset()
- func (x *DictLayEntryPage) String() string
- type DictLayEntryReq
- func (*DictLayEntryReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryReq) GetDepth_() int32
- func (x *DictLayEntryReq) GetDictCode() string
- func (x *DictLayEntryReq) GetEnable_() bool
- func (x *DictLayEntryReq) GetExcludeId() string
- func (x *DictLayEntryReq) GetHasEnable() bool
- func (x *DictLayEntryReq) GetParentId() string
- func (x *DictLayEntryReq) GetTenant() string
- func (x *DictLayEntryReq) GetTypeCode() string
- func (*DictLayEntryReq) ProtoMessage()
- func (x *DictLayEntryReq) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryReq) Reset()
- func (x *DictLayEntryReq) String() string
- type DictLayEntryUpdateReq
- func (*DictLayEntryUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictLayEntryUpdateReq) GetDescription_() string
- func (x *DictLayEntryUpdateReq) GetDictId() string
- func (x *DictLayEntryUpdateReq) GetDictName() string
- func (x *DictLayEntryUpdateReq) GetEnable_() bool
- func (x *DictLayEntryUpdateReq) GetParentId() string
- func (x *DictLayEntryUpdateReq) GetRequestId() string
- func (x *DictLayEntryUpdateReq) GetTenant() string
- func (x *DictLayEntryUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *DictLayEntryUpdateReq) GetValidateOnly() bool
- func (*DictLayEntryUpdateReq) ProtoMessage()
- func (x *DictLayEntryUpdateReq) ProtoReflect() protoreflect.Message
- func (x *DictLayEntryUpdateReq) Reset()
- func (x *DictLayEntryUpdateReq) String() string
- type DictServer
- type DictTypeCreateReq
- func (*DictTypeCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeCreateReq) GetDescription_() string
- func (x *DictTypeCreateReq) GetEnable_() bool
- func (x *DictTypeCreateReq) GetEntryType() EntryTypes
- func (x *DictTypeCreateReq) GetRequestId() string
- func (x *DictTypeCreateReq) GetTenant() string
- func (x *DictTypeCreateReq) GetTypeCode() string
- func (x *DictTypeCreateReq) GetTypeName() string
- func (x *DictTypeCreateReq) GetValidateOnly() bool
- func (*DictTypeCreateReq) ProtoMessage()
- func (x *DictTypeCreateReq) ProtoReflect() protoreflect.Message
- func (x *DictTypeCreateReq) Reset()
- func (x *DictTypeCreateReq) String() string
- type DictTypeEnableKey
- func (*DictTypeEnableKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeEnableKey) GetEnable() bool
- func (x *DictTypeEnableKey) GetTenant() string
- func (x *DictTypeEnableKey) GetTypeCode() string
- func (*DictTypeEnableKey) ProtoMessage()
- func (x *DictTypeEnableKey) ProtoReflect() protoreflect.Message
- func (x *DictTypeEnableKey) Reset()
- func (x *DictTypeEnableKey) String() string
- type DictTypeExportReq
- func (*DictTypeExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeExportReq) GetFileName() string
- func (x *DictTypeExportReq) GetReq() *DictTypeReq
- func (x *DictTypeExportReq) GetTableHeads() []*basic.TableHead
- func (x *DictTypeExportReq) GetTenant() string
- func (x *DictTypeExportReq) GetTitle() string
- func (*DictTypeExportReq) ProtoMessage()
- func (x *DictTypeExportReq) ProtoReflect() protoreflect.Message
- func (x *DictTypeExportReq) Reset()
- func (x *DictTypeExportReq) String() string
- type DictTypeImportReq
- func (*DictTypeImportReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeImportReq) GetAddFlag() bool
- func (x *DictTypeImportReq) GetFileNames() string
- func (x *DictTypeImportReq) GetRequestId() string
- func (x *DictTypeImportReq) GetTenant() string
- func (x *DictTypeImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*DictTypeImportReq) ProtoMessage()
- func (x *DictTypeImportReq) ProtoReflect() protoreflect.Message
- func (x *DictTypeImportReq) Reset()
- func (x *DictTypeImportReq) String() string
- type DictTypeKey
- func (*DictTypeKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeKey) GetTenant() string
- func (x *DictTypeKey) GetTypeCode() string
- func (*DictTypeKey) ProtoMessage()
- func (x *DictTypeKey) ProtoReflect() protoreflect.Message
- func (x *DictTypeKey) Reset()
- func (x *DictTypeKey) String() string
- type DictTypeKeyList
- func (*DictTypeKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeKeyList) GetTenant() string
- func (x *DictTypeKeyList) GetTypeCode() []string
- func (*DictTypeKeyList) ProtoMessage()
- func (x *DictTypeKeyList) ProtoReflect() protoreflect.Message
- func (x *DictTypeKeyList) Reset()
- func (x *DictTypeKeyList) String() string
- type DictTypeList
- type DictTypeModel
- func (*DictTypeModel) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeModel) GetDescription_() string
- func (x *DictTypeModel) GetEnable_() bool
- func (x *DictTypeModel) GetEntryType() EntryTypes
- func (x *DictTypeModel) GetListOrder() int32
- func (x *DictTypeModel) GetTypeCode() string
- func (x *DictTypeModel) GetTypeName() string
- func (*DictTypeModel) ProtoMessage()
- func (x *DictTypeModel) ProtoReflect() protoreflect.Message
- func (x *DictTypeModel) Reset()
- func (x *DictTypeModel) String() string
- type DictTypeModelTotal
- func (*DictTypeModelTotal) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeModelTotal) GetTotalSize() int32
- func (*DictTypeModelTotal) ProtoMessage()
- func (x *DictTypeModelTotal) ProtoReflect() protoreflect.Message
- func (x *DictTypeModelTotal) Reset()
- func (x *DictTypeModelTotal) String() string
- type DictTypeMoveKey
- func (*DictTypeMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeMoveKey) GetTenant() string
- func (x *DictTypeMoveKey) GetTypeCode() string
- func (x *DictTypeMoveKey) GetUp() bool
- func (*DictTypeMoveKey) ProtoMessage()
- func (x *DictTypeMoveKey) ProtoReflect() protoreflect.Message
- func (x *DictTypeMoveKey) Reset()
- func (x *DictTypeMoveKey) String() string
- type DictTypePage
- func (*DictTypePage) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypePage) GetCurPage() int32
- func (x *DictTypePage) GetPageSize() int32
- func (x *DictTypePage) GetResults() []*DictTypeModel
- func (x *DictTypePage) GetSubTotalDto() *DictTypeModelTotal
- func (x *DictTypePage) GetTotalDto() *DictTypeModelTotal
- func (x *DictTypePage) GetTotalSize() int32
- func (*DictTypePage) ProtoMessage()
- func (x *DictTypePage) ProtoReflect() protoreflect.Message
- func (x *DictTypePage) Reset()
- func (x *DictTypePage) String() string
- type DictTypeReq
- func (*DictTypeReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeReq) GetCurPage() int32
- func (x *DictTypeReq) GetEnable_() bool
- func (x *DictTypeReq) GetEntryType() EntryTypes
- func (x *DictTypeReq) GetHasEnable() bool
- func (x *DictTypeReq) GetHasEntryType() bool
- func (x *DictTypeReq) GetLikeTypeName() string
- func (x *DictTypeReq) GetOrderAsc() bool
- func (x *DictTypeReq) GetOrderName() string
- func (x *DictTypeReq) GetPageSize() int32
- func (x *DictTypeReq) GetTenant() string
- func (x *DictTypeReq) GetTypeCode() string
- func (*DictTypeReq) ProtoMessage()
- func (x *DictTypeReq) ProtoReflect() protoreflect.Message
- func (x *DictTypeReq) Reset()
- func (x *DictTypeReq) String() string
- type DictTypeUpdateReq
- func (*DictTypeUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DictTypeUpdateReq) GetDescription_() string
- func (x *DictTypeUpdateReq) GetEnable_() bool
- func (x *DictTypeUpdateReq) GetRequestId() string
- func (x *DictTypeUpdateReq) GetTenant() string
- func (x *DictTypeUpdateReq) GetTypeCode() string
- func (x *DictTypeUpdateReq) GetTypeName() string
- func (x *DictTypeUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *DictTypeUpdateReq) GetValidateOnly() bool
- func (*DictTypeUpdateReq) ProtoMessage()
- func (x *DictTypeUpdateReq) ProtoReflect() protoreflect.Message
- func (x *DictTypeUpdateReq) Reset()
- func (x *DictTypeUpdateReq) String() string
- type Dict_DownloadDictTypeClient
- type Dict_DownloadDictTypeServer
- type Dict_ExportDictTypeClient
- type Dict_ExportDictTypeServer
- type EntryTypes
- type UnimplementedDictServer
- func (UnimplementedDictServer) BatchDeleteDictEntry(context.Context, *DictEntryKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedDictServer) BatchDeleteDictLayEntry(context.Context, *DictLayEntryKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedDictServer) BatchDeleteDictType(context.Context, *DictTypeKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedDictServer) CreateDictEntry(context.Context, *DictEntryCreateReq) (*DictEntryModel, error)
- func (UnimplementedDictServer) CreateDictLayEntry(context.Context, *DictLayEntryCreateReq) (*DictLayEntryModel, error)
- func (UnimplementedDictServer) CreateDictType(context.Context, *DictTypeCreateReq) (*DictTypeModel, error)
- func (UnimplementedDictServer) DeleteDictEntry(context.Context, *DictEntryKey) (*DictEntryModel, error)
- func (UnimplementedDictServer) DeleteDictLayEntry(context.Context, *DictLayEntryKey) (*DictLayEntryModel, error)
- func (UnimplementedDictServer) DeleteDictType(context.Context, *DictTypeKey) (*DictTypeModel, error)
- func (UnimplementedDictServer) DownloadDictType(*DictTypeExportReq, Dict_DownloadDictTypeServer) error
- func (UnimplementedDictServer) EnableDictEntry(context.Context, *DictEntryEnableKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedDictServer) EnableDictLayEntry(context.Context, *DictLayEntryEnableKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedDictServer) EnableDictType(context.Context, *DictTypeEnableKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedDictServer) ExportDictType(*DictTypeExportReq, Dict_ExportDictTypeServer) error
- func (UnimplementedDictServer) FindDictEntryById(context.Context, *DictEntryKey) (*DictEntryModel, error)
- func (UnimplementedDictServer) FindDictEntryList(context.Context, *DictEntryReq) (*DictEntryList, error)
- func (UnimplementedDictServer) FindDictEntryPage(context.Context, *DictEntryReq) (*DictEntryPage, error)
- func (UnimplementedDictServer) FindDictLayEntryById(context.Context, *DictLayEntryKey) (*DictLayEntryModel, error)
- func (UnimplementedDictServer) FindDictLayEntryList(context.Context, *DictLayEntryReq) (*DictLayEntryList, error)
- func (UnimplementedDictServer) FindDictTypeById(context.Context, *DictTypeKey) (*DictTypeModel, error)
- func (UnimplementedDictServer) FindDictTypeList(context.Context, *DictTypeReq) (*DictTypeList, error)
- func (UnimplementedDictServer) FindDictTypePage(context.Context, *DictTypeReq) (*DictTypePage, error)
- func (UnimplementedDictServer) FindEnumEntry(context.Context, *basic.EnumEntryReq) (*basic.EntryList, error)
- func (UnimplementedDictServer) FindEnumList(context.Context, *wrapperspb.StringValue) (*basic.EnumValueList, error)
- func (UnimplementedDictServer) FindEnumMap(context.Context, *wrapperspb.StringValue) (*basic.CustomEnumValueMap, error)
- func (UnimplementedDictServer) ImportDictType(context.Context, *DictTypeImportReq) (*wrapperspb.StringValue, error)
- func (UnimplementedDictServer) MoveDictEntry(context.Context, *DictEntryMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedDictServer) MoveDictLayEntry(context.Context, *DictLayEntryMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedDictServer) MoveDictType(context.Context, *DictTypeMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedDictServer) UpdateDictEntry(context.Context, *DictEntryUpdateReq) (*DictEntryModel, error)
- func (UnimplementedDictServer) UpdateDictLayEntry(context.Context, *DictLayEntryUpdateReq) (*DictLayEntryModel, error)
- func (UnimplementedDictServer) UpdateDictType(context.Context, *DictTypeUpdateReq) (*DictTypeModel, error)
- func (UnimplementedDictServer) Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- type UnsafeDictServer
Constants ¶
This section is empty.
Variables ¶
var ( EntryTypes_name = map[int32]string{ 0: "normal", 1: "layout", } EntryTypes_value = map[string]int32{ "normal": 0, "layout": 1, } )
Enum value maps for EntryTypes.
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)
var File_jmash_dict_dict_rpc_proto protoreflect.FileDescriptor
var File_jmash_dict_protobuf_os_dict_entry_message_proto protoreflect.FileDescriptor
var File_jmash_dict_protobuf_os_dict_lay_entry_message_proto protoreflect.FileDescriptor
var File_jmash_dict_protobuf_os_dict_type_message_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDictHandler ¶
RegisterDictHandler registers the http handlers for service Dict to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDictHandlerClient ¶
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 ¶
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 ¶
func (EntryTypes) Type() protoreflect.EnumType
type UnimplementedDictServer ¶
type UnimplementedDictServer struct { }
UnimplementedDictServer must be embedded to have forward compatible implementations.
func (UnimplementedDictServer) BatchDeleteDictEntry ¶
func (UnimplementedDictServer) BatchDeleteDictEntry(context.Context, *DictEntryKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedDictServer) BatchDeleteDictLayEntry ¶
func (UnimplementedDictServer) BatchDeleteDictLayEntry(context.Context, *DictLayEntryKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedDictServer) BatchDeleteDictType ¶
func (UnimplementedDictServer) BatchDeleteDictType(context.Context, *DictTypeKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedDictServer) CreateDictEntry ¶
func (UnimplementedDictServer) CreateDictEntry(context.Context, *DictEntryCreateReq) (*DictEntryModel, error)
func (UnimplementedDictServer) CreateDictLayEntry ¶
func (UnimplementedDictServer) CreateDictLayEntry(context.Context, *DictLayEntryCreateReq) (*DictLayEntryModel, error)
func (UnimplementedDictServer) CreateDictType ¶
func (UnimplementedDictServer) CreateDictType(context.Context, *DictTypeCreateReq) (*DictTypeModel, error)
func (UnimplementedDictServer) DeleteDictEntry ¶
func (UnimplementedDictServer) DeleteDictEntry(context.Context, *DictEntryKey) (*DictEntryModel, error)
func (UnimplementedDictServer) DeleteDictLayEntry ¶
func (UnimplementedDictServer) DeleteDictLayEntry(context.Context, *DictLayEntryKey) (*DictLayEntryModel, error)
func (UnimplementedDictServer) DeleteDictType ¶
func (UnimplementedDictServer) DeleteDictType(context.Context, *DictTypeKey) (*DictTypeModel, error)
func (UnimplementedDictServer) DownloadDictType ¶
func (UnimplementedDictServer) DownloadDictType(*DictTypeExportReq, Dict_DownloadDictTypeServer) error
func (UnimplementedDictServer) EnableDictEntry ¶
func (UnimplementedDictServer) EnableDictEntry(context.Context, *DictEntryEnableKey) (*wrapperspb.BoolValue, error)
func (UnimplementedDictServer) EnableDictLayEntry ¶
func (UnimplementedDictServer) EnableDictLayEntry(context.Context, *DictLayEntryEnableKey) (*wrapperspb.BoolValue, error)
func (UnimplementedDictServer) EnableDictType ¶
func (UnimplementedDictServer) EnableDictType(context.Context, *DictTypeEnableKey) (*wrapperspb.BoolValue, error)
func (UnimplementedDictServer) ExportDictType ¶
func (UnimplementedDictServer) ExportDictType(*DictTypeExportReq, Dict_ExportDictTypeServer) error
func (UnimplementedDictServer) FindDictEntryById ¶
func (UnimplementedDictServer) FindDictEntryById(context.Context, *DictEntryKey) (*DictEntryModel, error)
func (UnimplementedDictServer) FindDictEntryList ¶
func (UnimplementedDictServer) FindDictEntryList(context.Context, *DictEntryReq) (*DictEntryList, error)
func (UnimplementedDictServer) FindDictEntryPage ¶
func (UnimplementedDictServer) FindDictEntryPage(context.Context, *DictEntryReq) (*DictEntryPage, error)
func (UnimplementedDictServer) FindDictLayEntryById ¶
func (UnimplementedDictServer) FindDictLayEntryById(context.Context, *DictLayEntryKey) (*DictLayEntryModel, error)
func (UnimplementedDictServer) FindDictLayEntryList ¶
func (UnimplementedDictServer) FindDictLayEntryList(context.Context, *DictLayEntryReq) (*DictLayEntryList, error)
func (UnimplementedDictServer) FindDictTypeById ¶
func (UnimplementedDictServer) FindDictTypeById(context.Context, *DictTypeKey) (*DictTypeModel, error)
func (UnimplementedDictServer) FindDictTypeList ¶
func (UnimplementedDictServer) FindDictTypeList(context.Context, *DictTypeReq) (*DictTypeList, error)
func (UnimplementedDictServer) FindDictTypePage ¶
func (UnimplementedDictServer) FindDictTypePage(context.Context, *DictTypeReq) (*DictTypePage, error)
func (UnimplementedDictServer) FindEnumEntry ¶
func (UnimplementedDictServer) FindEnumEntry(context.Context, *basic.EnumEntryReq) (*basic.EntryList, error)
func (UnimplementedDictServer) FindEnumList ¶
func (UnimplementedDictServer) FindEnumList(context.Context, *wrapperspb.StringValue) (*basic.EnumValueList, error)
func (UnimplementedDictServer) FindEnumMap ¶
func (UnimplementedDictServer) FindEnumMap(context.Context, *wrapperspb.StringValue) (*basic.CustomEnumValueMap, error)
func (UnimplementedDictServer) ImportDictType ¶
func (UnimplementedDictServer) ImportDictType(context.Context, *DictTypeImportReq) (*wrapperspb.StringValue, error)
func (UnimplementedDictServer) MoveDictEntry ¶
func (UnimplementedDictServer) MoveDictEntry(context.Context, *DictEntryMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedDictServer) MoveDictLayEntry ¶
func (UnimplementedDictServer) MoveDictLayEntry(context.Context, *DictLayEntryMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedDictServer) MoveDictType ¶
func (UnimplementedDictServer) MoveDictType(context.Context, *DictTypeMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedDictServer) UpdateDictEntry ¶
func (UnimplementedDictServer) UpdateDictEntry(context.Context, *DictEntryUpdateReq) (*DictEntryModel, error)
func (UnimplementedDictServer) UpdateDictLayEntry ¶
func (UnimplementedDictServer) UpdateDictLayEntry(context.Context, *DictLayEntryUpdateReq) (*DictLayEntryModel, error)
func (UnimplementedDictServer) UpdateDictType ¶
func (UnimplementedDictServer) UpdateDictType(context.Context, *DictTypeUpdateReq) (*DictTypeModel, error)
func (UnimplementedDictServer) Version ¶
func (UnimplementedDictServer) Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
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.