// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v5.29.3 // source: system.proto package pb import ( _ "git.nobla.cn/golang/aeus/pkg/proto/rest" _ "github.com/envoyproxy/protoc-gen-validate/validate" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/descriptorpb" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // Setting 参数设置表 type Setting struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Setting) Reset() { *x = Setting{} mi := &file_system_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Setting) String() string { return protoimpl.X.MessageStringOf(x) } func (*Setting) ProtoMessage() {} func (x *Setting) ProtoReflect() protoreflect.Message { mi := &file_system_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Setting.ProtoReflect.Descriptor instead. func (*Setting) Descriptor() ([]byte, []int) { return file_system_proto_rawDescGZIP(), []int{0} } func (x *Setting) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Setting) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Setting) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } func (x *Setting) GetName() string { if x != nil { return x.Name } return "" } func (x *Setting) GetValue() string { if x != nil { return x.Value } return "" } func (x *Setting) GetDescription() string { if x != nil { return x.Description } return "" } // Activity 活动记录 type Activity struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` Module string `protobuf:"bytes,5,opt,name=module,proto3" json:"module,omitempty"` Table string `protobuf:"bytes,6,opt,name=table,proto3" json:"table,omitempty"` Data string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Activity) Reset() { *x = Activity{} mi := &file_system_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Activity) String() string { return protoimpl.X.MessageStringOf(x) } func (*Activity) ProtoMessage() {} func (x *Activity) ProtoReflect() protoreflect.Message { mi := &file_system_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Activity.ProtoReflect.Descriptor instead. func (*Activity) Descriptor() ([]byte, []int) { return file_system_proto_rawDescGZIP(), []int{1} } func (x *Activity) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Activity) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Activity) GetUid() string { if x != nil { return x.Uid } return "" } func (x *Activity) GetAction() string { if x != nil { return x.Action } return "" } func (x *Activity) GetModule() string { if x != nil { return x.Module } return "" } func (x *Activity) GetTable() string { if x != nil { return x.Table } return "" } func (x *Activity) GetData() string { if x != nil { return x.Data } return "" } type SettingItem struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SettingItem) Reset() { *x = SettingItem{} mi := &file_system_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SettingItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*SettingItem) ProtoMessage() {} func (x *SettingItem) ProtoReflect() protoreflect.Message { mi := &file_system_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SettingItem.ProtoReflect.Descriptor instead. func (*SettingItem) Descriptor() ([]byte, []int) { return file_system_proto_rawDescGZIP(), []int{2} } func (x *SettingItem) GetName() string { if x != nil { return x.Name } return "" } func (x *SettingItem) GetValue() string { if x != nil { return x.Value } return "" } type GetSettingRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetSettingRequest) Reset() { *x = GetSettingRequest{} mi := &file_system_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetSettingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetSettingRequest) ProtoMessage() {} func (x *GetSettingRequest) ProtoReflect() protoreflect.Message { mi := &file_system_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetSettingRequest.ProtoReflect.Descriptor instead. func (*GetSettingRequest) Descriptor() ([]byte, []int) { return file_system_proto_rawDescGZIP(), []int{3} } type GetSettingResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Data []*SettingItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetSettingResponse) Reset() { *x = GetSettingResponse{} mi := &file_system_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetSettingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetSettingResponse) ProtoMessage() {} func (x *GetSettingResponse) ProtoReflect() protoreflect.Message { mi := &file_system_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetSettingResponse.ProtoReflect.Descriptor instead. func (*GetSettingResponse) Descriptor() ([]byte, []int) { return file_system_proto_rawDescGZIP(), []int{4} } func (x *GetSettingResponse) GetData() []*SettingItem { if x != nil { return x.Data } return nil } var File_system_proto protoreflect.FileDescriptor const file_system_proto_rawDesc = "" + "\n" + "\fsystem.proto\x12\x06system\x1a\x0faeus/rest.proto\x1a\x17validate/validate.proto\x1a google/protobuf/descriptor.proto\x1a\x1cgoogle/api/annotations.proto\"\xd8\x03\n" + "\aSetting\x12$\n" + "\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" + "\n" + "primaryKey\x12\x02IDR\x02id\x12E\n" + "\n" + "created_at\x18\x02 \x01(\x03B&\xb2\xb9\x19\"\x12\f创建时间\x1a\x12search;view;exportR\tcreatedAt\x12E\n" + "\n" + "updated_at\x18\x03 \x01(\x03B&\xb2\xb9\x19\"\x12\f更新时间\x1a\x12search;view;exportR\tupdatedAt\x12N\n" + "\x04name\x18\x04 \x01(\tB:\xfaB\x04r\x02\x18\x14\xb2\xb9\x19/\n" + "\asize:60\x12\t配置项2\x0freadonly:update:\brequiredR\x04name\x12K\n" + "\x05value\x18\x05 \x01(\tB5\xfaB\x05r\x03\x18\x80\x04\xb2\xb9\x19)\n" + "\bsize:512\x12\t配置值*\btextarea:\brequiredR\x05value\x12l\n" + "\vdescription\x18\x06 \x01(\tBJ\xfaB\x05r\x03\x18\x80\b\xb2\xb9\x19>\n" + "\tsize:1024\x12\f备注说明\x1a\x19create;update;view;export*\btextareaR\vdescription:\x0e\xba\xb9\x19\n" + "\n" + "\bsettings\"\xe2\x05\n" + "\bActivity\x12$\n" + "\x02id\x18\x01 \x01(\x03B\x14\xb2\xb9\x19\x10\n" + "\n" + "primaryKey\x12\x02IDR\x02id\x12L\n" + "\n" + "created_at\x18\x02 \x01(\x03B-\xb2\xb9\x19)\x12\f创建时间\x1a\x19search;search;view;exportR\tcreatedAt\x12W\n" + "\x03uid\x18\x03 \x01(\tBE\xfaB\x06r\x04\x10\x05\x18\x14\xb2\xb9\x198\n" + "\rindex;size:20\x12\x06用户*\x04user2\x0freadonly:update:\brequiredR\x03uid\x12\xc9\x01\n" + "\x06action\x18\x04 \x01(\tB\xb0\x01\xb2\xb9\x19\xab\x01\n" + "!index;size:20;not null;default:''\x12\x06行为\x1a%search;list;create;update;view;export2\rmatch:exactly:\brequiredR>create:新建#198754;update:更新#f09d00;delete:删除#e63757R\x06action\x12h\n" + "\x06module\x18\x05 \x01(\tBP\xb2\xb9\x19L\n" + "\x1bsize:60;not null;default:''\x12\x06模块\x1a%search;list;create;update;view;exportR\x06module\x12_\n" + "\x05table\x18\x06 \x01(\tBI\xb2\xb9\x19E\n" + "\x1bsize:60;not null;default:''\x12\x06模型\x1a\x1elist;create;update;view;exportR\x05table\x12`\n" + "\x04data\x18\a \x01(\tBL\xb2\xb9\x19H\n" + "\x1esize:10240;not null;default:''\x12\x06内容\x1a\x1elist;create;update;view;exportR\x04data:\x10\xba\xb9\x19\f\n" + "\n" + "activities\"7\n" + "\vSettingItem\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value\"\x13\n" + "\x11GetSettingRequest\"=\n" + "\x12GetSettingResponse\x12'\n" + "\x04data\x18\x01 \x03(\v2\x13.system.SettingItemR\x04data2n\n" + "\x0eSettingService\x12\\\n" + "\n" + "GetSetting\x12\x19.system.GetSettingRequest\x1a\x1a.system.GetSettingResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/system/settingB&Z$git.nobla.cn/golang/aeis-admin/pb;pbb\x06proto3" var ( file_system_proto_rawDescOnce sync.Once file_system_proto_rawDescData []byte ) func file_system_proto_rawDescGZIP() []byte { file_system_proto_rawDescOnce.Do(func() { file_system_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_system_proto_rawDesc), len(file_system_proto_rawDesc))) }) return file_system_proto_rawDescData } var file_system_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_system_proto_goTypes = []any{ (*Setting)(nil), // 0: system.Setting (*Activity)(nil), // 1: system.Activity (*SettingItem)(nil), // 2: system.SettingItem (*GetSettingRequest)(nil), // 3: system.GetSettingRequest (*GetSettingResponse)(nil), // 4: system.GetSettingResponse } var file_system_proto_depIdxs = []int32{ 2, // 0: system.GetSettingResponse.data:type_name -> system.SettingItem 3, // 1: system.SettingService.GetSetting:input_type -> system.GetSettingRequest 4, // 2: system.SettingService.GetSetting:output_type -> system.GetSettingResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_system_proto_init() } func file_system_proto_init() { if File_system_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_system_proto_rawDesc), len(file_system_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 1, }, GoTypes: file_system_proto_goTypes, DependencyIndexes: file_system_proto_depIdxs, MessageInfos: file_system_proto_msgTypes, }.Build() File_system_proto = out.File file_system_proto_goTypes = nil file_system_proto_depIdxs = nil }