pasture.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990
  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/pasture.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 AddPastureRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 牧场名称
  25. Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // 登录账号名称
  26. ManagerUser string `protobuf:"bytes,4,opt,name=manager_user,json=managerUser,proto3" json:"manager_user,omitempty"` // 牧场负责人名称
  27. ManagerPhone string `protobuf:"bytes,5,opt,name=manager_phone,json=managerPhone,proto3" json:"manager_phone,omitempty"` // 牧场负责人手机号
  28. Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` // 牧场地址
  29. IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  30. CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  31. CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  32. }
  33. func (x *AddPastureRequest) Reset() {
  34. *x = AddPastureRequest{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_backend_operation_pasture_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *AddPastureRequest) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*AddPastureRequest) ProtoMessage() {}
  45. func (x *AddPastureRequest) ProtoReflect() protoreflect.Message {
  46. mi := &file_backend_operation_pasture_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use AddPastureRequest.ProtoReflect.Descriptor instead.
  57. func (*AddPastureRequest) Descriptor() ([]byte, []int) {
  58. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *AddPastureRequest) GetId() int64 {
  61. if x != nil {
  62. return x.Id
  63. }
  64. return 0
  65. }
  66. func (x *AddPastureRequest) GetName() string {
  67. if x != nil {
  68. return x.Name
  69. }
  70. return ""
  71. }
  72. func (x *AddPastureRequest) GetAccount() string {
  73. if x != nil {
  74. return x.Account
  75. }
  76. return ""
  77. }
  78. func (x *AddPastureRequest) GetManagerUser() string {
  79. if x != nil {
  80. return x.ManagerUser
  81. }
  82. return ""
  83. }
  84. func (x *AddPastureRequest) GetManagerPhone() string {
  85. if x != nil {
  86. return x.ManagerPhone
  87. }
  88. return ""
  89. }
  90. func (x *AddPastureRequest) GetAddress() string {
  91. if x != nil {
  92. return x.Address
  93. }
  94. return ""
  95. }
  96. func (x *AddPastureRequest) GetIsShow() IsShow_Kind {
  97. if x != nil {
  98. return x.IsShow
  99. }
  100. return IsShow_INVALID
  101. }
  102. func (x *AddPastureRequest) GetCreatedAt() int64 {
  103. if x != nil {
  104. return x.CreatedAt
  105. }
  106. return 0
  107. }
  108. func (x *AddPastureRequest) GetCreatedAtFormat() string {
  109. if x != nil {
  110. return x.CreatedAtFormat
  111. }
  112. return ""
  113. }
  114. type SearchPastureRequest struct {
  115. state protoimpl.MessageState
  116. sizeCache protoimpl.SizeCache
  117. unknownFields protoimpl.UnknownFields
  118. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 牧场名称
  119. ManagerUser string `protobuf:"bytes,2,opt,name=manager_user,json=managerUser,proto3" json:"manager_user,omitempty"` // 牧场负责人名称
  120. ManagerPhone string `protobuf:"bytes,3,opt,name=manager_phone,json=managerPhone,proto3" json:"manager_phone,omitempty"` // 牧场负责人手机号
  121. StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // 开始时间
  122. EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // 结束时间
  123. Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  124. }
  125. func (x *SearchPastureRequest) Reset() {
  126. *x = SearchPastureRequest{}
  127. if protoimpl.UnsafeEnabled {
  128. mi := &file_backend_operation_pasture_proto_msgTypes[1]
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. ms.StoreMessageInfo(mi)
  131. }
  132. }
  133. func (x *SearchPastureRequest) String() string {
  134. return protoimpl.X.MessageStringOf(x)
  135. }
  136. func (*SearchPastureRequest) ProtoMessage() {}
  137. func (x *SearchPastureRequest) ProtoReflect() protoreflect.Message {
  138. mi := &file_backend_operation_pasture_proto_msgTypes[1]
  139. if protoimpl.UnsafeEnabled && x != nil {
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. if ms.LoadMessageInfo() == nil {
  142. ms.StoreMessageInfo(mi)
  143. }
  144. return ms
  145. }
  146. return mi.MessageOf(x)
  147. }
  148. // Deprecated: Use SearchPastureRequest.ProtoReflect.Descriptor instead.
  149. func (*SearchPastureRequest) Descriptor() ([]byte, []int) {
  150. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{1}
  151. }
  152. func (x *SearchPastureRequest) GetName() string {
  153. if x != nil {
  154. return x.Name
  155. }
  156. return ""
  157. }
  158. func (x *SearchPastureRequest) GetManagerUser() string {
  159. if x != nil {
  160. return x.ManagerUser
  161. }
  162. return ""
  163. }
  164. func (x *SearchPastureRequest) GetManagerPhone() string {
  165. if x != nil {
  166. return x.ManagerPhone
  167. }
  168. return ""
  169. }
  170. func (x *SearchPastureRequest) GetStartTime() int64 {
  171. if x != nil {
  172. return x.StartTime
  173. }
  174. return 0
  175. }
  176. func (x *SearchPastureRequest) GetEndTime() int64 {
  177. if x != nil {
  178. return x.EndTime
  179. }
  180. return 0
  181. }
  182. func (x *SearchPastureRequest) GetPagination() *PaginationModel {
  183. if x != nil {
  184. return x.Pagination
  185. }
  186. return nil
  187. }
  188. type SearchPastureResponse struct {
  189. state protoimpl.MessageState
  190. sizeCache protoimpl.SizeCache
  191. unknownFields protoimpl.UnknownFields
  192. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  193. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  194. List []*AddPastureRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  195. }
  196. func (x *SearchPastureResponse) Reset() {
  197. *x = SearchPastureResponse{}
  198. if protoimpl.UnsafeEnabled {
  199. mi := &file_backend_operation_pasture_proto_msgTypes[2]
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. ms.StoreMessageInfo(mi)
  202. }
  203. }
  204. func (x *SearchPastureResponse) String() string {
  205. return protoimpl.X.MessageStringOf(x)
  206. }
  207. func (*SearchPastureResponse) ProtoMessage() {}
  208. func (x *SearchPastureResponse) ProtoReflect() protoreflect.Message {
  209. mi := &file_backend_operation_pasture_proto_msgTypes[2]
  210. if protoimpl.UnsafeEnabled && x != nil {
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. if ms.LoadMessageInfo() == nil {
  213. ms.StoreMessageInfo(mi)
  214. }
  215. return ms
  216. }
  217. return mi.MessageOf(x)
  218. }
  219. // Deprecated: Use SearchPastureResponse.ProtoReflect.Descriptor instead.
  220. func (*SearchPastureResponse) Descriptor() ([]byte, []int) {
  221. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{2}
  222. }
  223. func (x *SearchPastureResponse) GetPage() int32 {
  224. if x != nil {
  225. return x.Page
  226. }
  227. return 0
  228. }
  229. func (x *SearchPastureResponse) GetTotal() int32 {
  230. if x != nil {
  231. return x.Total
  232. }
  233. return 0
  234. }
  235. func (x *SearchPastureResponse) GetList() []*AddPastureRequest {
  236. if x != nil {
  237. return x.List
  238. }
  239. return nil
  240. }
  241. // 重置牧场登录密码
  242. type RestPasswordGroupPasture struct {
  243. state protoimpl.MessageState
  244. sizeCache protoimpl.SizeCache
  245. unknownFields protoimpl.UnknownFields
  246. PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  247. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码(md5加密过的)
  248. }
  249. func (x *RestPasswordGroupPasture) Reset() {
  250. *x = RestPasswordGroupPasture{}
  251. if protoimpl.UnsafeEnabled {
  252. mi := &file_backend_operation_pasture_proto_msgTypes[3]
  253. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  254. ms.StoreMessageInfo(mi)
  255. }
  256. }
  257. func (x *RestPasswordGroupPasture) String() string {
  258. return protoimpl.X.MessageStringOf(x)
  259. }
  260. func (*RestPasswordGroupPasture) ProtoMessage() {}
  261. func (x *RestPasswordGroupPasture) ProtoReflect() protoreflect.Message {
  262. mi := &file_backend_operation_pasture_proto_msgTypes[3]
  263. if protoimpl.UnsafeEnabled && x != nil {
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. if ms.LoadMessageInfo() == nil {
  266. ms.StoreMessageInfo(mi)
  267. }
  268. return ms
  269. }
  270. return mi.MessageOf(x)
  271. }
  272. // Deprecated: Use RestPasswordGroupPasture.ProtoReflect.Descriptor instead.
  273. func (*RestPasswordGroupPasture) Descriptor() ([]byte, []int) {
  274. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{3}
  275. }
  276. func (x *RestPasswordGroupPasture) GetPastureId() int64 {
  277. if x != nil {
  278. return x.PastureId
  279. }
  280. return 0
  281. }
  282. func (x *RestPasswordGroupPasture) GetPassword() string {
  283. if x != nil {
  284. return x.Password
  285. }
  286. return ""
  287. }
  288. type IsShowGroupPasture struct {
  289. state protoimpl.MessageState
  290. sizeCache protoimpl.SizeCache
  291. unknownFields protoimpl.UnknownFields
  292. PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  293. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  294. }
  295. func (x *IsShowGroupPasture) Reset() {
  296. *x = IsShowGroupPasture{}
  297. if protoimpl.UnsafeEnabled {
  298. mi := &file_backend_operation_pasture_proto_msgTypes[4]
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. ms.StoreMessageInfo(mi)
  301. }
  302. }
  303. func (x *IsShowGroupPasture) String() string {
  304. return protoimpl.X.MessageStringOf(x)
  305. }
  306. func (*IsShowGroupPasture) ProtoMessage() {}
  307. func (x *IsShowGroupPasture) ProtoReflect() protoreflect.Message {
  308. mi := &file_backend_operation_pasture_proto_msgTypes[4]
  309. if protoimpl.UnsafeEnabled && x != nil {
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. if ms.LoadMessageInfo() == nil {
  312. ms.StoreMessageInfo(mi)
  313. }
  314. return ms
  315. }
  316. return mi.MessageOf(x)
  317. }
  318. // Deprecated: Use IsShowGroupPasture.ProtoReflect.Descriptor instead.
  319. func (*IsShowGroupPasture) Descriptor() ([]byte, []int) {
  320. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{4}
  321. }
  322. func (x *IsShowGroupPasture) GetPastureId() int64 {
  323. if x != nil {
  324. return x.PastureId
  325. }
  326. return 0
  327. }
  328. func (x *IsShowGroupPasture) GetIsShow() IsShow_Kind {
  329. if x != nil {
  330. return x.IsShow
  331. }
  332. return IsShow_INVALID
  333. }
  334. // 添加牧畜分类
  335. type AddCattleCategoryRequest struct {
  336. state protoimpl.MessageState
  337. sizeCache protoimpl.SizeCache
  338. unknownFields protoimpl.UnknownFields
  339. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  340. ParentId CattleCategoryParent_Kind `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,enum=backend.operation.CattleCategoryParent_Kind" json:"parent_id,omitempty"` // 父类id
  341. ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 父类名称
  342. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 牧畜分类名称
  343. Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"` // 畜牧类别编号
  344. IsShow IsShow_Kind `protobuf:"varint,6,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  345. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  346. CreatedAtFormat string `protobuf:"bytes,8,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式
  347. }
  348. func (x *AddCattleCategoryRequest) Reset() {
  349. *x = AddCattleCategoryRequest{}
  350. if protoimpl.UnsafeEnabled {
  351. mi := &file_backend_operation_pasture_proto_msgTypes[5]
  352. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  353. ms.StoreMessageInfo(mi)
  354. }
  355. }
  356. func (x *AddCattleCategoryRequest) String() string {
  357. return protoimpl.X.MessageStringOf(x)
  358. }
  359. func (*AddCattleCategoryRequest) ProtoMessage() {}
  360. func (x *AddCattleCategoryRequest) ProtoReflect() protoreflect.Message {
  361. mi := &file_backend_operation_pasture_proto_msgTypes[5]
  362. if protoimpl.UnsafeEnabled && x != nil {
  363. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  364. if ms.LoadMessageInfo() == nil {
  365. ms.StoreMessageInfo(mi)
  366. }
  367. return ms
  368. }
  369. return mi.MessageOf(x)
  370. }
  371. // Deprecated: Use AddCattleCategoryRequest.ProtoReflect.Descriptor instead.
  372. func (*AddCattleCategoryRequest) Descriptor() ([]byte, []int) {
  373. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{5}
  374. }
  375. func (x *AddCattleCategoryRequest) GetId() int64 {
  376. if x != nil {
  377. return x.Id
  378. }
  379. return 0
  380. }
  381. func (x *AddCattleCategoryRequest) GetParentId() CattleCategoryParent_Kind {
  382. if x != nil {
  383. return x.ParentId
  384. }
  385. return CattleCategoryParent_INVALID
  386. }
  387. func (x *AddCattleCategoryRequest) GetParentName() string {
  388. if x != nil {
  389. return x.ParentName
  390. }
  391. return ""
  392. }
  393. func (x *AddCattleCategoryRequest) GetName() string {
  394. if x != nil {
  395. return x.Name
  396. }
  397. return ""
  398. }
  399. func (x *AddCattleCategoryRequest) GetNumber() string {
  400. if x != nil {
  401. return x.Number
  402. }
  403. return ""
  404. }
  405. func (x *AddCattleCategoryRequest) GetIsShow() IsShow_Kind {
  406. if x != nil {
  407. return x.IsShow
  408. }
  409. return IsShow_INVALID
  410. }
  411. func (x *AddCattleCategoryRequest) GetCreatedAt() int64 {
  412. if x != nil {
  413. return x.CreatedAt
  414. }
  415. return 0
  416. }
  417. func (x *AddCattleCategoryRequest) GetCreatedAtFormat() string {
  418. if x != nil {
  419. return x.CreatedAtFormat
  420. }
  421. return ""
  422. }
  423. // 是否启用
  424. type IsShowCattleCategory struct {
  425. state protoimpl.MessageState
  426. sizeCache protoimpl.SizeCache
  427. unknownFields protoimpl.UnknownFields
  428. CattleCategoryId int64 `protobuf:"varint,1,opt,name=cattle_category_id,json=cattleCategoryId,proto3" json:"cattle_category_id,omitempty"`
  429. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  430. }
  431. func (x *IsShowCattleCategory) Reset() {
  432. *x = IsShowCattleCategory{}
  433. if protoimpl.UnsafeEnabled {
  434. mi := &file_backend_operation_pasture_proto_msgTypes[6]
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. ms.StoreMessageInfo(mi)
  437. }
  438. }
  439. func (x *IsShowCattleCategory) String() string {
  440. return protoimpl.X.MessageStringOf(x)
  441. }
  442. func (*IsShowCattleCategory) ProtoMessage() {}
  443. func (x *IsShowCattleCategory) ProtoReflect() protoreflect.Message {
  444. mi := &file_backend_operation_pasture_proto_msgTypes[6]
  445. if protoimpl.UnsafeEnabled && x != nil {
  446. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  447. if ms.LoadMessageInfo() == nil {
  448. ms.StoreMessageInfo(mi)
  449. }
  450. return ms
  451. }
  452. return mi.MessageOf(x)
  453. }
  454. // Deprecated: Use IsShowCattleCategory.ProtoReflect.Descriptor instead.
  455. func (*IsShowCattleCategory) Descriptor() ([]byte, []int) {
  456. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{6}
  457. }
  458. func (x *IsShowCattleCategory) GetCattleCategoryId() int64 {
  459. if x != nil {
  460. return x.CattleCategoryId
  461. }
  462. return 0
  463. }
  464. func (x *IsShowCattleCategory) GetIsShow() IsShow_Kind {
  465. if x != nil {
  466. return x.IsShow
  467. }
  468. return IsShow_INVALID
  469. }
  470. // 畜牧分类查询列表
  471. type SearchCattleCategoryRequest struct {
  472. state protoimpl.MessageState
  473. sizeCache protoimpl.SizeCache
  474. unknownFields protoimpl.UnknownFields
  475. ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
  476. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  477. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  478. Pagination *PaginationModel `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  479. }
  480. func (x *SearchCattleCategoryRequest) Reset() {
  481. *x = SearchCattleCategoryRequest{}
  482. if protoimpl.UnsafeEnabled {
  483. mi := &file_backend_operation_pasture_proto_msgTypes[7]
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. ms.StoreMessageInfo(mi)
  486. }
  487. }
  488. func (x *SearchCattleCategoryRequest) String() string {
  489. return protoimpl.X.MessageStringOf(x)
  490. }
  491. func (*SearchCattleCategoryRequest) ProtoMessage() {}
  492. func (x *SearchCattleCategoryRequest) ProtoReflect() protoreflect.Message {
  493. mi := &file_backend_operation_pasture_proto_msgTypes[7]
  494. if protoimpl.UnsafeEnabled && x != nil {
  495. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  496. if ms.LoadMessageInfo() == nil {
  497. ms.StoreMessageInfo(mi)
  498. }
  499. return ms
  500. }
  501. return mi.MessageOf(x)
  502. }
  503. // Deprecated: Use SearchCattleCategoryRequest.ProtoReflect.Descriptor instead.
  504. func (*SearchCattleCategoryRequest) Descriptor() ([]byte, []int) {
  505. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{7}
  506. }
  507. func (x *SearchCattleCategoryRequest) GetParentName() string {
  508. if x != nil {
  509. return x.ParentName
  510. }
  511. return ""
  512. }
  513. func (x *SearchCattleCategoryRequest) GetIsShow() IsShow_Kind {
  514. if x != nil {
  515. return x.IsShow
  516. }
  517. return IsShow_INVALID
  518. }
  519. func (x *SearchCattleCategoryRequest) GetName() string {
  520. if x != nil {
  521. return x.Name
  522. }
  523. return ""
  524. }
  525. func (x *SearchCattleCategoryRequest) GetPagination() *PaginationModel {
  526. if x != nil {
  527. return x.Pagination
  528. }
  529. return nil
  530. }
  531. type SearchCattleCategoryResponse struct {
  532. state protoimpl.MessageState
  533. sizeCache protoimpl.SizeCache
  534. unknownFields protoimpl.UnknownFields
  535. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  536. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  537. List []*AddCattleCategoryRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  538. }
  539. func (x *SearchCattleCategoryResponse) Reset() {
  540. *x = SearchCattleCategoryResponse{}
  541. if protoimpl.UnsafeEnabled {
  542. mi := &file_backend_operation_pasture_proto_msgTypes[8]
  543. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  544. ms.StoreMessageInfo(mi)
  545. }
  546. }
  547. func (x *SearchCattleCategoryResponse) String() string {
  548. return protoimpl.X.MessageStringOf(x)
  549. }
  550. func (*SearchCattleCategoryResponse) ProtoMessage() {}
  551. func (x *SearchCattleCategoryResponse) ProtoReflect() protoreflect.Message {
  552. mi := &file_backend_operation_pasture_proto_msgTypes[8]
  553. if protoimpl.UnsafeEnabled && x != nil {
  554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  555. if ms.LoadMessageInfo() == nil {
  556. ms.StoreMessageInfo(mi)
  557. }
  558. return ms
  559. }
  560. return mi.MessageOf(x)
  561. }
  562. // Deprecated: Use SearchCattleCategoryResponse.ProtoReflect.Descriptor instead.
  563. func (*SearchCattleCategoryResponse) Descriptor() ([]byte, []int) {
  564. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{8}
  565. }
  566. func (x *SearchCattleCategoryResponse) GetPage() int32 {
  567. if x != nil {
  568. return x.Page
  569. }
  570. return 0
  571. }
  572. func (x *SearchCattleCategoryResponse) GetTotal() int32 {
  573. if x != nil {
  574. return x.Total
  575. }
  576. return 0
  577. }
  578. func (x *SearchCattleCategoryResponse) GetList() []*AddCattleCategoryRequest {
  579. if x != nil {
  580. return x.List
  581. }
  582. return nil
  583. }
  584. var File_backend_operation_pasture_proto protoreflect.FileDescriptor
  585. var file_backend_operation_pasture_proto_rawDesc = []byte{
  586. 0x0a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  587. 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  588. 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  589. 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70,
  590. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
  591. 0x74, 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72,
  592. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  593. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x50, 0x61,
  594. 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  595. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
  596. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  597. 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  598. 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61,
  599. 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  600. 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a,
  601. 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05,
  602. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x50, 0x68, 0x6f,
  603. 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20,
  604. 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07,
  605. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  606. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  607. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  608. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  609. 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
  610. 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
  611. 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
  612. 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  613. 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73, 0x74, 0x75,
  614. 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  615. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a,
  616. 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20,
  617. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
  618. 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e,
  619. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
  620. 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
  621. 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,
  622. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  623. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
  624. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  625. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  626. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  627. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  628. 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73,
  629. 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
  630. 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
  631. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  632. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  633. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  634. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x73, 0x74,
  635. 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74,
  636. 0x22, 0x55, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
  637. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
  638. 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  639. 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70,
  640. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
  641. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x6c, 0x0a, 0x12, 0x49, 0x73, 0x53, 0x68, 0x6f,
  642. 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a,
  643. 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  644. 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07,
  645. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  646. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  647. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  648. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xc6, 0x02, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x43, 0x61, 0x74,
  649. 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
  650. 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
  651. 0x69, 0x64, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
  652. 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  653. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65,
  654. 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b,
  655. 0x69, 0x6e, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a,
  656. 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
  657. 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12,
  658. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  659. 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
  660. 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
  661. 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
  662. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  663. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
  664. 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
  665. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  666. 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
  667. 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63,
  668. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x7d,
  669. 0x0a, 0x14, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61,
  670. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65,
  671. 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  672. 0x28, 0x03, 0x52, 0x10, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  673. 0x72, 0x79, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  674. 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  675. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  676. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xcf, 0x01,
  677. 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61,
  678. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a,
  679. 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  680. 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37,
  681. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  682. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  683. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  684. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  685. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70,
  686. 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
  687. 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  688. 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
  689. 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  690. 0x89, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65,
  691. 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  692. 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  693. 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
  694. 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x04, 0x6c, 0x69,
  695. 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  696. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
  697. 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65,
  698. 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e,
  699. 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72,
  700. 0x6f, 0x74, 0x6f, 0x33,
  701. }
  702. var (
  703. file_backend_operation_pasture_proto_rawDescOnce sync.Once
  704. file_backend_operation_pasture_proto_rawDescData = file_backend_operation_pasture_proto_rawDesc
  705. )
  706. func file_backend_operation_pasture_proto_rawDescGZIP() []byte {
  707. file_backend_operation_pasture_proto_rawDescOnce.Do(func() {
  708. file_backend_operation_pasture_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_pasture_proto_rawDescData)
  709. })
  710. return file_backend_operation_pasture_proto_rawDescData
  711. }
  712. var file_backend_operation_pasture_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  713. var file_backend_operation_pasture_proto_goTypes = []interface{}{
  714. (*AddPastureRequest)(nil), // 0: backend.operation.AddPastureRequest
  715. (*SearchPastureRequest)(nil), // 1: backend.operation.SearchPastureRequest
  716. (*SearchPastureResponse)(nil), // 2: backend.operation.SearchPastureResponse
  717. (*RestPasswordGroupPasture)(nil), // 3: backend.operation.RestPasswordGroupPasture
  718. (*IsShowGroupPasture)(nil), // 4: backend.operation.IsShowGroupPasture
  719. (*AddCattleCategoryRequest)(nil), // 5: backend.operation.AddCattleCategoryRequest
  720. (*IsShowCattleCategory)(nil), // 6: backend.operation.IsShowCattleCategory
  721. (*SearchCattleCategoryRequest)(nil), // 7: backend.operation.SearchCattleCategoryRequest
  722. (*SearchCattleCategoryResponse)(nil), // 8: backend.operation.SearchCattleCategoryResponse
  723. (IsShow_Kind)(0), // 9: backend.operation.IsShow.Kind
  724. (*PaginationModel)(nil), // 10: backend.operation.PaginationModel
  725. (CattleCategoryParent_Kind)(0), // 11: backend.operation.CattleCategoryParent.Kind
  726. }
  727. var file_backend_operation_pasture_proto_depIdxs = []int32{
  728. 9, // 0: backend.operation.AddPastureRequest.is_show:type_name -> backend.operation.IsShow.Kind
  729. 10, // 1: backend.operation.SearchPastureRequest.pagination:type_name -> backend.operation.PaginationModel
  730. 0, // 2: backend.operation.SearchPastureResponse.list:type_name -> backend.operation.AddPastureRequest
  731. 9, // 3: backend.operation.IsShowGroupPasture.is_show:type_name -> backend.operation.IsShow.Kind
  732. 11, // 4: backend.operation.AddCattleCategoryRequest.parent_id:type_name -> backend.operation.CattleCategoryParent.Kind
  733. 9, // 5: backend.operation.AddCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  734. 9, // 6: backend.operation.IsShowCattleCategory.is_show:type_name -> backend.operation.IsShow.Kind
  735. 9, // 7: backend.operation.SearchCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  736. 10, // 8: backend.operation.SearchCattleCategoryRequest.pagination:type_name -> backend.operation.PaginationModel
  737. 5, // 9: backend.operation.SearchCattleCategoryResponse.list:type_name -> backend.operation.AddCattleCategoryRequest
  738. 10, // [10:10] is the sub-list for method output_type
  739. 10, // [10:10] is the sub-list for method input_type
  740. 10, // [10:10] is the sub-list for extension type_name
  741. 10, // [10:10] is the sub-list for extension extendee
  742. 0, // [0:10] is the sub-list for field type_name
  743. }
  744. func init() { file_backend_operation_pasture_proto_init() }
  745. func file_backend_operation_pasture_proto_init() {
  746. if File_backend_operation_pasture_proto != nil {
  747. return
  748. }
  749. file_backend_operation_enum_proto_init()
  750. file_backend_operation_pagination_proto_init()
  751. if !protoimpl.UnsafeEnabled {
  752. file_backend_operation_pasture_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  753. switch v := v.(*AddPastureRequest); i {
  754. case 0:
  755. return &v.state
  756. case 1:
  757. return &v.sizeCache
  758. case 2:
  759. return &v.unknownFields
  760. default:
  761. return nil
  762. }
  763. }
  764. file_backend_operation_pasture_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  765. switch v := v.(*SearchPastureRequest); i {
  766. case 0:
  767. return &v.state
  768. case 1:
  769. return &v.sizeCache
  770. case 2:
  771. return &v.unknownFields
  772. default:
  773. return nil
  774. }
  775. }
  776. file_backend_operation_pasture_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  777. switch v := v.(*SearchPastureResponse); i {
  778. case 0:
  779. return &v.state
  780. case 1:
  781. return &v.sizeCache
  782. case 2:
  783. return &v.unknownFields
  784. default:
  785. return nil
  786. }
  787. }
  788. file_backend_operation_pasture_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  789. switch v := v.(*RestPasswordGroupPasture); i {
  790. case 0:
  791. return &v.state
  792. case 1:
  793. return &v.sizeCache
  794. case 2:
  795. return &v.unknownFields
  796. default:
  797. return nil
  798. }
  799. }
  800. file_backend_operation_pasture_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  801. switch v := v.(*IsShowGroupPasture); i {
  802. case 0:
  803. return &v.state
  804. case 1:
  805. return &v.sizeCache
  806. case 2:
  807. return &v.unknownFields
  808. default:
  809. return nil
  810. }
  811. }
  812. file_backend_operation_pasture_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  813. switch v := v.(*AddCattleCategoryRequest); i {
  814. case 0:
  815. return &v.state
  816. case 1:
  817. return &v.sizeCache
  818. case 2:
  819. return &v.unknownFields
  820. default:
  821. return nil
  822. }
  823. }
  824. file_backend_operation_pasture_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  825. switch v := v.(*IsShowCattleCategory); i {
  826. case 0:
  827. return &v.state
  828. case 1:
  829. return &v.sizeCache
  830. case 2:
  831. return &v.unknownFields
  832. default:
  833. return nil
  834. }
  835. }
  836. file_backend_operation_pasture_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  837. switch v := v.(*SearchCattleCategoryRequest); i {
  838. case 0:
  839. return &v.state
  840. case 1:
  841. return &v.sizeCache
  842. case 2:
  843. return &v.unknownFields
  844. default:
  845. return nil
  846. }
  847. }
  848. file_backend_operation_pasture_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  849. switch v := v.(*SearchCattleCategoryResponse); i {
  850. case 0:
  851. return &v.state
  852. case 1:
  853. return &v.sizeCache
  854. case 2:
  855. return &v.unknownFields
  856. default:
  857. return nil
  858. }
  859. }
  860. }
  861. type x struct{}
  862. out := protoimpl.TypeBuilder{
  863. File: protoimpl.DescBuilder{
  864. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  865. RawDescriptor: file_backend_operation_pasture_proto_rawDesc,
  866. NumEnums: 0,
  867. NumMessages: 9,
  868. NumExtensions: 0,
  869. NumServices: 0,
  870. },
  871. GoTypes: file_backend_operation_pasture_proto_goTypes,
  872. DependencyIndexes: file_backend_operation_pasture_proto_depIdxs,
  873. MessageInfos: file_backend_operation_pasture_proto_msgTypes,
  874. }.Build()
  875. File_backend_operation_pasture_proto = out.File
  876. file_backend_operation_pasture_proto_rawDesc = nil
  877. file_backend_operation_pasture_proto_goTypes = nil
  878. file_backend_operation_pasture_proto_depIdxs = nil
  879. }