| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | syntax = "proto3";package backend.operation;option go_package = ".;operationPb";import "backend/operation/pagination.proto";import "backend/operation/enum.proto";message AddFeedFormulaRequest {  int32 id = 1;  string name = 2;                   // 名称  string  encode_number = 3;         // 编码  string colour = 4;                 // 颜色  CattleCategoryParent.Kind cattle_category_id = 5;      // 畜牧类别id  string cattle_category_name = 6;   // 畜牧类型名称  int32 formula_type_id = 7;         // 配方类型id  string formula_type_name = 8;      // 配方类型名称  DataSource.Kind data_source_id = 9;   // 数据来源  string data_source_name = 10;   // 数据来源  string remarks = 11;               // 备注  int32 version = 12;                // 版本号  IsShow.Kind is_show = 13;          // 是否启用  IsShow.Kind is_modify = 14;        // 是否可修改  int32 created_at = 15;             // 创建时间  string created_at_format = 16;     // 创建时间格式化  string pasture_name = 17;          // 牧场名称}message SearchFeedFormulaRequest {  int32 cattle_category_id = 1;    // 分类id  int32 formula_type_id = 2;       // 配方类型id  int32 data_source = 3;           // 饲料来源  IsShow.Kind is_show = 4;         // 是否启用  string name = 5;                 // 配方名称  string remarks = 6;              // 备注  PaginationModel pagination = 7;  // 分页}message SearchFeedFormulaListResponse {  int32 page = 1;  int32 page_size = 2;  int32 total = 3;  repeated AddFeedFormulaRequest list = 4;}// 是否启用message IsShowModifyFeedFormula {  int32 feed_formula_id = 1;  IsShow.Kind is_show = 2;  int32 edit_type = 3;                  // 1 更新是否启用 2 更新 modify}
 |