|
@@ -2576,13 +2576,14 @@ type ClassRequest struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- KeyWord string `protobuf:"bytes,1,opt,name=key_word,json=keyWord,proto3" json:"key_word,omitempty"` // 关键字
|
|
|
- PastureId int32 `protobuf:"varint,2,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
|
|
|
- ParentId int32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 一类id
|
|
|
- ParentName string `protobuf:"bytes,4,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 一类名称
|
|
|
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // 分类名称
|
|
|
- Number string `protobuf:"bytes,6,opt,name=number,proto3" json:"number,omitempty"` // 分类编号
|
|
|
- IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否展示
|
|
|
+ KeyWord string `protobuf:"bytes,1,opt,name=key_word,json=keyWord,proto3" json:"key_word,omitempty"` // 关键字
|
|
|
+ PastureId int32 `protobuf:"varint,2,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
|
|
|
+ ParentId int32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 一类id
|
|
|
+ ParentName string `protobuf:"bytes,4,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 一类名称
|
|
|
+ Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // 分类名称
|
|
|
+ Number string `protobuf:"bytes,6,opt,name=number,proto3" json:"number,omitempty"` // 分类编号
|
|
|
+ IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否展示
|
|
|
+ IsDelete IsShow_Kind `protobuf:"varint,8,opt,name=is_delete,json=isDelete,proto3,enum=backend.operation.IsShow_Kind" json:"is_delete,omitempty"` // 是否删除
|
|
|
}
|
|
|
|
|
|
func (x *ClassRequest) Reset() {
|
|
@@ -2666,6 +2667,13 @@ func (x *ClassRequest) GetIsShow() IsShow_Kind {
|
|
|
return IsShow_INVALID
|
|
|
}
|
|
|
|
|
|
+func (x *ClassRequest) GetIsDelete() IsShow_Kind {
|
|
|
+ if x != nil {
|
|
|
+ return x.IsDelete
|
|
|
+ }
|
|
|
+ return IsShow_INVALID
|
|
|
+}
|
|
|
+
|
|
|
var File_backend_operation_pasture_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_backend_operation_pasture_proto_rawDesc = []byte{
|
|
@@ -3123,7 +3131,7 @@ var file_backend_operation_pasture_proto_rawDesc = []byte{
|
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
|
0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
|
|
0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0xeb, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52,
|
|
|
+ 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0xa8, 0x02, 0x0a, 0x0c, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52,
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x77, 0x6f,
|
|
|
0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x57, 0x6f, 0x72,
|
|
|
0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18,
|
|
@@ -3138,8 +3146,12 @@ var file_backend_operation_pasture_proto_rawDesc = []byte{
|
|
|
0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
|
|
|
0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
|
0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
|
|
|
- 0x68, 0x6f, 0x77, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
|
|
|
- 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x68, 0x6f, 0x77, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
+ 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
|
|
|
+ 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f,
|
|
|
+ 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x08, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
+ 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
|
|
|
+ 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -3257,11 +3269,12 @@ var file_backend_operation_pasture_proto_depIdxs = []int32{
|
|
|
35, // 53: backend.operation.IsShowEnum.value:type_name -> backend.operation.IsShow.Kind
|
|
|
42, // 54: backend.operation.FormulaTypeEnum.value:type_name -> backend.operation.FormulaType.Kind
|
|
|
35, // 55: backend.operation.ClassRequest.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
- 56, // [56:56] is the sub-list for method output_type
|
|
|
- 56, // [56:56] is the sub-list for method input_type
|
|
|
- 56, // [56:56] is the sub-list for extension type_name
|
|
|
- 56, // [56:56] is the sub-list for extension extendee
|
|
|
- 0, // [0:56] is the sub-list for field type_name
|
|
|
+ 35, // 56: backend.operation.ClassRequest.is_delete:type_name -> backend.operation.IsShow.Kind
|
|
|
+ 57, // [57:57] is the sub-list for method output_type
|
|
|
+ 57, // [57:57] is the sub-list for method input_type
|
|
|
+ 57, // [57:57] is the sub-list for extension type_name
|
|
|
+ 57, // [57:57] is the sub-list for extension extendee
|
|
|
+ 0, // [0:57] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_backend_operation_pasture_proto_init() }
|