feed_formula.pb.go 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.9
  5. // source: backend/operation/feed_formula.proto
  6. package operationPb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type AddFeedFormulaRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  25. EncodeNumber string `protobuf:"bytes,3,opt,name=encode_number,json=encodeNumber,proto3" json:"encode_number,omitempty"` // 编码
  26. Colour string `protobuf:"bytes,4,opt,name=colour,proto3" json:"colour,omitempty"` // 颜色
  27. CattleCategoryId CattleCategoryParent_Kind `protobuf:"varint,5,opt,name=cattle_category_id,json=cattleCategoryId,proto3,enum=backend.operation.CattleCategoryParent_Kind" json:"cattle_category_id,omitempty"` // 畜牧类别id
  28. CattleCategoryName string `protobuf:"bytes,6,opt,name=cattle_category_name,json=cattleCategoryName,proto3" json:"cattle_category_name,omitempty"` // 畜牧类型名称
  29. FormulaTypeId int32 `protobuf:"varint,7,opt,name=formula_type_id,json=formulaTypeId,proto3" json:"formula_type_id,omitempty"` // 配方类型id
  30. FormulaTypeName string `protobuf:"bytes,8,opt,name=formula_type_name,json=formulaTypeName,proto3" json:"formula_type_name,omitempty"` // 配方类型名称
  31. DataSourceId DataSource_Kind `protobuf:"varint,9,opt,name=data_source_id,json=dataSourceId,proto3,enum=backend.operation.DataSource_Kind" json:"data_source_id,omitempty"` // 数据来源
  32. DataSourceName string `protobuf:"bytes,10,opt,name=data_source_name,json=dataSourceName,proto3" json:"data_source_name,omitempty"` // 数据来源
  33. Remarks string `protobuf:"bytes,11,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  34. Version int32 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"` // 版本号
  35. IsShow IsShow_Kind `protobuf:"varint,13,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  36. IsModify IsShow_Kind `protobuf:"varint,14,opt,name=is_modify,json=isModify,proto3,enum=backend.operation.IsShow_Kind" json:"is_modify,omitempty"` // 是否可修改
  37. CreatedAt int32 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  38. CreatedAtFormat string `protobuf:"bytes,16,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  39. PastureName string `protobuf:"bytes,17,opt,name=Pasture_name,json=PastureName,proto3" json:"Pasture_name,omitempty"` // 牧场名称
  40. }
  41. func (x *AddFeedFormulaRequest) Reset() {
  42. *x = AddFeedFormulaRequest{}
  43. if protoimpl.UnsafeEnabled {
  44. mi := &file_backend_operation_feed_formula_proto_msgTypes[0]
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. ms.StoreMessageInfo(mi)
  47. }
  48. }
  49. func (x *AddFeedFormulaRequest) String() string {
  50. return protoimpl.X.MessageStringOf(x)
  51. }
  52. func (*AddFeedFormulaRequest) ProtoMessage() {}
  53. func (x *AddFeedFormulaRequest) ProtoReflect() protoreflect.Message {
  54. mi := &file_backend_operation_feed_formula_proto_msgTypes[0]
  55. if protoimpl.UnsafeEnabled && x != nil {
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. if ms.LoadMessageInfo() == nil {
  58. ms.StoreMessageInfo(mi)
  59. }
  60. return ms
  61. }
  62. return mi.MessageOf(x)
  63. }
  64. // Deprecated: Use AddFeedFormulaRequest.ProtoReflect.Descriptor instead.
  65. func (*AddFeedFormulaRequest) Descriptor() ([]byte, []int) {
  66. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{0}
  67. }
  68. func (x *AddFeedFormulaRequest) GetId() int32 {
  69. if x != nil {
  70. return x.Id
  71. }
  72. return 0
  73. }
  74. func (x *AddFeedFormulaRequest) GetName() string {
  75. if x != nil {
  76. return x.Name
  77. }
  78. return ""
  79. }
  80. func (x *AddFeedFormulaRequest) GetEncodeNumber() string {
  81. if x != nil {
  82. return x.EncodeNumber
  83. }
  84. return ""
  85. }
  86. func (x *AddFeedFormulaRequest) GetColour() string {
  87. if x != nil {
  88. return x.Colour
  89. }
  90. return ""
  91. }
  92. func (x *AddFeedFormulaRequest) GetCattleCategoryId() CattleCategoryParent_Kind {
  93. if x != nil {
  94. return x.CattleCategoryId
  95. }
  96. return CattleCategoryParent_INVALID
  97. }
  98. func (x *AddFeedFormulaRequest) GetCattleCategoryName() string {
  99. if x != nil {
  100. return x.CattleCategoryName
  101. }
  102. return ""
  103. }
  104. func (x *AddFeedFormulaRequest) GetFormulaTypeId() int32 {
  105. if x != nil {
  106. return x.FormulaTypeId
  107. }
  108. return 0
  109. }
  110. func (x *AddFeedFormulaRequest) GetFormulaTypeName() string {
  111. if x != nil {
  112. return x.FormulaTypeName
  113. }
  114. return ""
  115. }
  116. func (x *AddFeedFormulaRequest) GetDataSourceId() DataSource_Kind {
  117. if x != nil {
  118. return x.DataSourceId
  119. }
  120. return DataSource_INVALID
  121. }
  122. func (x *AddFeedFormulaRequest) GetDataSourceName() string {
  123. if x != nil {
  124. return x.DataSourceName
  125. }
  126. return ""
  127. }
  128. func (x *AddFeedFormulaRequest) GetRemarks() string {
  129. if x != nil {
  130. return x.Remarks
  131. }
  132. return ""
  133. }
  134. func (x *AddFeedFormulaRequest) GetVersion() int32 {
  135. if x != nil {
  136. return x.Version
  137. }
  138. return 0
  139. }
  140. func (x *AddFeedFormulaRequest) GetIsShow() IsShow_Kind {
  141. if x != nil {
  142. return x.IsShow
  143. }
  144. return IsShow_INVALID
  145. }
  146. func (x *AddFeedFormulaRequest) GetIsModify() IsShow_Kind {
  147. if x != nil {
  148. return x.IsModify
  149. }
  150. return IsShow_INVALID
  151. }
  152. func (x *AddFeedFormulaRequest) GetCreatedAt() int32 {
  153. if x != nil {
  154. return x.CreatedAt
  155. }
  156. return 0
  157. }
  158. func (x *AddFeedFormulaRequest) GetCreatedAtFormat() string {
  159. if x != nil {
  160. return x.CreatedAtFormat
  161. }
  162. return ""
  163. }
  164. func (x *AddFeedFormulaRequest) GetPastureName() string {
  165. if x != nil {
  166. return x.PastureName
  167. }
  168. return ""
  169. }
  170. type SearchFeedFormulaRequest struct {
  171. state protoimpl.MessageState
  172. sizeCache protoimpl.SizeCache
  173. unknownFields protoimpl.UnknownFields
  174. CattleCategoryId int32 `protobuf:"varint,1,opt,name=cattle_category_id,json=cattleCategoryId,proto3" json:"cattle_category_id,omitempty"` // 分类id
  175. FormulaTypeId int32 `protobuf:"varint,2,opt,name=formula_type_id,json=formulaTypeId,proto3" json:"formula_type_id,omitempty"` // 配方类型id
  176. DataSource int32 `protobuf:"varint,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // 饲料来源
  177. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  178. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // 配方名称
  179. Remarks string `protobuf:"bytes,6,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  180. Pagination *PaginationModel `protobuf:"bytes,7,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  181. }
  182. func (x *SearchFeedFormulaRequest) Reset() {
  183. *x = SearchFeedFormulaRequest{}
  184. if protoimpl.UnsafeEnabled {
  185. mi := &file_backend_operation_feed_formula_proto_msgTypes[1]
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. ms.StoreMessageInfo(mi)
  188. }
  189. }
  190. func (x *SearchFeedFormulaRequest) String() string {
  191. return protoimpl.X.MessageStringOf(x)
  192. }
  193. func (*SearchFeedFormulaRequest) ProtoMessage() {}
  194. func (x *SearchFeedFormulaRequest) ProtoReflect() protoreflect.Message {
  195. mi := &file_backend_operation_feed_formula_proto_msgTypes[1]
  196. if protoimpl.UnsafeEnabled && x != nil {
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. if ms.LoadMessageInfo() == nil {
  199. ms.StoreMessageInfo(mi)
  200. }
  201. return ms
  202. }
  203. return mi.MessageOf(x)
  204. }
  205. // Deprecated: Use SearchFeedFormulaRequest.ProtoReflect.Descriptor instead.
  206. func (*SearchFeedFormulaRequest) Descriptor() ([]byte, []int) {
  207. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{1}
  208. }
  209. func (x *SearchFeedFormulaRequest) GetCattleCategoryId() int32 {
  210. if x != nil {
  211. return x.CattleCategoryId
  212. }
  213. return 0
  214. }
  215. func (x *SearchFeedFormulaRequest) GetFormulaTypeId() int32 {
  216. if x != nil {
  217. return x.FormulaTypeId
  218. }
  219. return 0
  220. }
  221. func (x *SearchFeedFormulaRequest) GetDataSource() int32 {
  222. if x != nil {
  223. return x.DataSource
  224. }
  225. return 0
  226. }
  227. func (x *SearchFeedFormulaRequest) GetIsShow() IsShow_Kind {
  228. if x != nil {
  229. return x.IsShow
  230. }
  231. return IsShow_INVALID
  232. }
  233. func (x *SearchFeedFormulaRequest) GetName() string {
  234. if x != nil {
  235. return x.Name
  236. }
  237. return ""
  238. }
  239. func (x *SearchFeedFormulaRequest) GetRemarks() string {
  240. if x != nil {
  241. return x.Remarks
  242. }
  243. return ""
  244. }
  245. func (x *SearchFeedFormulaRequest) GetPagination() *PaginationModel {
  246. if x != nil {
  247. return x.Pagination
  248. }
  249. return nil
  250. }
  251. type SearchFeedFormulaListResponse struct {
  252. state protoimpl.MessageState
  253. sizeCache protoimpl.SizeCache
  254. unknownFields protoimpl.UnknownFields
  255. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  256. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  257. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
  258. List []*AddFeedFormulaRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  259. }
  260. func (x *SearchFeedFormulaListResponse) Reset() {
  261. *x = SearchFeedFormulaListResponse{}
  262. if protoimpl.UnsafeEnabled {
  263. mi := &file_backend_operation_feed_formula_proto_msgTypes[2]
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. ms.StoreMessageInfo(mi)
  266. }
  267. }
  268. func (x *SearchFeedFormulaListResponse) String() string {
  269. return protoimpl.X.MessageStringOf(x)
  270. }
  271. func (*SearchFeedFormulaListResponse) ProtoMessage() {}
  272. func (x *SearchFeedFormulaListResponse) ProtoReflect() protoreflect.Message {
  273. mi := &file_backend_operation_feed_formula_proto_msgTypes[2]
  274. if protoimpl.UnsafeEnabled && x != nil {
  275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  276. if ms.LoadMessageInfo() == nil {
  277. ms.StoreMessageInfo(mi)
  278. }
  279. return ms
  280. }
  281. return mi.MessageOf(x)
  282. }
  283. // Deprecated: Use SearchFeedFormulaListResponse.ProtoReflect.Descriptor instead.
  284. func (*SearchFeedFormulaListResponse) Descriptor() ([]byte, []int) {
  285. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{2}
  286. }
  287. func (x *SearchFeedFormulaListResponse) GetPage() int32 {
  288. if x != nil {
  289. return x.Page
  290. }
  291. return 0
  292. }
  293. func (x *SearchFeedFormulaListResponse) GetPageSize() int32 {
  294. if x != nil {
  295. return x.PageSize
  296. }
  297. return 0
  298. }
  299. func (x *SearchFeedFormulaListResponse) GetTotal() int32 {
  300. if x != nil {
  301. return x.Total
  302. }
  303. return 0
  304. }
  305. func (x *SearchFeedFormulaListResponse) GetList() []*AddFeedFormulaRequest {
  306. if x != nil {
  307. return x.List
  308. }
  309. return nil
  310. }
  311. // 是否启用
  312. type IsShowModifyFeedFormula struct {
  313. state protoimpl.MessageState
  314. sizeCache protoimpl.SizeCache
  315. unknownFields protoimpl.UnknownFields
  316. FeedFormulaId int32 `protobuf:"varint,1,opt,name=feed_formula_id,json=feedFormulaId,proto3" json:"feed_formula_id,omitempty"`
  317. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  318. EditType int32 `protobuf:"varint,3,opt,name=edit_type,json=editType,proto3" json:"edit_type,omitempty"` // 1 更新是否启用 2 更新 modify
  319. }
  320. func (x *IsShowModifyFeedFormula) Reset() {
  321. *x = IsShowModifyFeedFormula{}
  322. if protoimpl.UnsafeEnabled {
  323. mi := &file_backend_operation_feed_formula_proto_msgTypes[3]
  324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  325. ms.StoreMessageInfo(mi)
  326. }
  327. }
  328. func (x *IsShowModifyFeedFormula) String() string {
  329. return protoimpl.X.MessageStringOf(x)
  330. }
  331. func (*IsShowModifyFeedFormula) ProtoMessage() {}
  332. func (x *IsShowModifyFeedFormula) ProtoReflect() protoreflect.Message {
  333. mi := &file_backend_operation_feed_formula_proto_msgTypes[3]
  334. if protoimpl.UnsafeEnabled && x != nil {
  335. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  336. if ms.LoadMessageInfo() == nil {
  337. ms.StoreMessageInfo(mi)
  338. }
  339. return ms
  340. }
  341. return mi.MessageOf(x)
  342. }
  343. // Deprecated: Use IsShowModifyFeedFormula.ProtoReflect.Descriptor instead.
  344. func (*IsShowModifyFeedFormula) Descriptor() ([]byte, []int) {
  345. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{3}
  346. }
  347. func (x *IsShowModifyFeedFormula) GetFeedFormulaId() int32 {
  348. if x != nil {
  349. return x.FeedFormulaId
  350. }
  351. return 0
  352. }
  353. func (x *IsShowModifyFeedFormula) GetIsShow() IsShow_Kind {
  354. if x != nil {
  355. return x.IsShow
  356. }
  357. return IsShow_INVALID
  358. }
  359. func (x *IsShowModifyFeedFormula) GetEditType() int32 {
  360. if x != nil {
  361. return x.EditType
  362. }
  363. return 0
  364. }
  365. var File_backend_operation_feed_formula_proto protoreflect.FileDescriptor
  366. var file_backend_operation_feed_formula_proto_rawDesc = []byte{
  367. 0x0a, 0x24, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  368. 0x69, 0x6f, 0x6e, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61,
  369. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  370. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65,
  371. 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67,
  372. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x62,
  373. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  374. 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x05, 0x0a, 0x15,
  375. 0x41, 0x64, 0x64, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x52, 0x65,
  376. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  377. 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  378. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x63,
  379. 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  380. 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16,
  381. 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x6f, 0x75, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  382. 0x63, 0x6f, 0x6c, 0x6f, 0x75, 0x72, 0x12, 0x5a, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65,
  383. 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
  384. 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  385. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74,
  386. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64,
  387. 0x52, 0x10, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  388. 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74,
  389. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  390. 0x52, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  391. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f,
  392. 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66,
  393. 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11,
  394. 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  395. 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61,
  396. 0x54, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61,
  397. 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e,
  398. 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  399. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
  400. 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  401. 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
  402. 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x61,
  403. 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
  404. 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72,
  405. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  406. 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  407. 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x0d, 0x20, 0x01, 0x28,
  408. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  409. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  410. 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x73, 0x5f,
  411. 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62,
  412. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  413. 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x08, 0x69, 0x73,
  414. 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  415. 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
  416. 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  417. 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
  418. 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61,
  419. 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  420. 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
  421. 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xbc, 0x02, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46,
  422. 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  423. 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65,
  424. 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x63,
  425. 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12,
  426. 0x26, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f,
  427. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c,
  428. 0x61, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f,
  429. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61,
  430. 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73,
  431. 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  432. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73,
  433. 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f,
  434. 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  435. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  436. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  437. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20,
  438. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  439. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  440. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  441. 0x69, 0x6f, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x65,
  442. 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  443. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
  444. 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
  445. 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
  446. 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
  447. 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x04,
  448. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x61, 0x63,
  449. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41,
  450. 0x64, 0x64, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x52, 0x65, 0x71,
  451. 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x17, 0x49,
  452. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x46, 0x65, 0x65, 0x64, 0x46,
  453. 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x12, 0x26, 0x0a, 0x0f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x66,
  454. 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  455. 0x0d, 0x66, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x49, 0x64, 0x12, 0x37,
  456. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  457. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  458. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  459. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x5f,
  460. 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74,
  461. 0x54, 0x79, 0x70, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  462. 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  463. }
  464. var (
  465. file_backend_operation_feed_formula_proto_rawDescOnce sync.Once
  466. file_backend_operation_feed_formula_proto_rawDescData = file_backend_operation_feed_formula_proto_rawDesc
  467. )
  468. func file_backend_operation_feed_formula_proto_rawDescGZIP() []byte {
  469. file_backend_operation_feed_formula_proto_rawDescOnce.Do(func() {
  470. file_backend_operation_feed_formula_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_feed_formula_proto_rawDescData)
  471. })
  472. return file_backend_operation_feed_formula_proto_rawDescData
  473. }
  474. var file_backend_operation_feed_formula_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  475. var file_backend_operation_feed_formula_proto_goTypes = []interface{}{
  476. (*AddFeedFormulaRequest)(nil), // 0: backend.operation.AddFeedFormulaRequest
  477. (*SearchFeedFormulaRequest)(nil), // 1: backend.operation.SearchFeedFormulaRequest
  478. (*SearchFeedFormulaListResponse)(nil), // 2: backend.operation.SearchFeedFormulaListResponse
  479. (*IsShowModifyFeedFormula)(nil), // 3: backend.operation.IsShowModifyFeedFormula
  480. (CattleCategoryParent_Kind)(0), // 4: backend.operation.CattleCategoryParent.Kind
  481. (DataSource_Kind)(0), // 5: backend.operation.DataSource.Kind
  482. (IsShow_Kind)(0), // 6: backend.operation.IsShow.Kind
  483. (*PaginationModel)(nil), // 7: backend.operation.PaginationModel
  484. }
  485. var file_backend_operation_feed_formula_proto_depIdxs = []int32{
  486. 4, // 0: backend.operation.AddFeedFormulaRequest.cattle_category_id:type_name -> backend.operation.CattleCategoryParent.Kind
  487. 5, // 1: backend.operation.AddFeedFormulaRequest.data_source_id:type_name -> backend.operation.DataSource.Kind
  488. 6, // 2: backend.operation.AddFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
  489. 6, // 3: backend.operation.AddFeedFormulaRequest.is_modify:type_name -> backend.operation.IsShow.Kind
  490. 6, // 4: backend.operation.SearchFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
  491. 7, // 5: backend.operation.SearchFeedFormulaRequest.pagination:type_name -> backend.operation.PaginationModel
  492. 0, // 6: backend.operation.SearchFeedFormulaListResponse.list:type_name -> backend.operation.AddFeedFormulaRequest
  493. 6, // 7: backend.operation.IsShowModifyFeedFormula.is_show:type_name -> backend.operation.IsShow.Kind
  494. 8, // [8:8] is the sub-list for method output_type
  495. 8, // [8:8] is the sub-list for method input_type
  496. 8, // [8:8] is the sub-list for extension type_name
  497. 8, // [8:8] is the sub-list for extension extendee
  498. 0, // [0:8] is the sub-list for field type_name
  499. }
  500. func init() { file_backend_operation_feed_formula_proto_init() }
  501. func file_backend_operation_feed_formula_proto_init() {
  502. if File_backend_operation_feed_formula_proto != nil {
  503. return
  504. }
  505. file_backend_operation_pagination_proto_init()
  506. file_backend_operation_enum_proto_init()
  507. if !protoimpl.UnsafeEnabled {
  508. file_backend_operation_feed_formula_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  509. switch v := v.(*AddFeedFormulaRequest); i {
  510. case 0:
  511. return &v.state
  512. case 1:
  513. return &v.sizeCache
  514. case 2:
  515. return &v.unknownFields
  516. default:
  517. return nil
  518. }
  519. }
  520. file_backend_operation_feed_formula_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  521. switch v := v.(*SearchFeedFormulaRequest); i {
  522. case 0:
  523. return &v.state
  524. case 1:
  525. return &v.sizeCache
  526. case 2:
  527. return &v.unknownFields
  528. default:
  529. return nil
  530. }
  531. }
  532. file_backend_operation_feed_formula_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  533. switch v := v.(*SearchFeedFormulaListResponse); i {
  534. case 0:
  535. return &v.state
  536. case 1:
  537. return &v.sizeCache
  538. case 2:
  539. return &v.unknownFields
  540. default:
  541. return nil
  542. }
  543. }
  544. file_backend_operation_feed_formula_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  545. switch v := v.(*IsShowModifyFeedFormula); i {
  546. case 0:
  547. return &v.state
  548. case 1:
  549. return &v.sizeCache
  550. case 2:
  551. return &v.unknownFields
  552. default:
  553. return nil
  554. }
  555. }
  556. }
  557. type x struct{}
  558. out := protoimpl.TypeBuilder{
  559. File: protoimpl.DescBuilder{
  560. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  561. RawDescriptor: file_backend_operation_feed_formula_proto_rawDesc,
  562. NumEnums: 0,
  563. NumMessages: 4,
  564. NumExtensions: 0,
  565. NumServices: 0,
  566. },
  567. GoTypes: file_backend_operation_feed_formula_proto_goTypes,
  568. DependencyIndexes: file_backend_operation_feed_formula_proto_depIdxs,
  569. MessageInfos: file_backend_operation_feed_formula_proto_msgTypes,
  570. }.Build()
  571. File_backend_operation_feed_formula_proto = out.File
  572. file_backend_operation_feed_formula_proto_rawDesc = nil
  573. file_backend_operation_feed_formula_proto_goTypes = nil
  574. file_backend_operation_feed_formula_proto_depIdxs = nil
  575. }