1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- 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;
- string cattle_category_name = 6;
- int32 formula_type_id = 7;
- 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;
- int32 formula_type_id = 2;
- int32 data_source = 3;
- IsShow.Kind is_show = 4;
- string name = 5;
- string remarks = 6;
- PaginationModel pagination = 7;
- }
- message SearchFeedFormulaListResponse {
- int32 code = 1;
- string msg = 2;
- SearchFeedFormulaListData data = 3;
- }
- message SearchFeedFormulaListData {
- 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;
- }
- message UniqueID {
- int32 code = 1;
- string msg = 2;
- message UniqueData {
- string encode_number = 1;
- }
- UniqueData data = 3;
- }
- message DistributeFeedFormulaRequest {
- repeated int32 pasture_ids = 1;
- repeated int32 feed_formula_ids = 2;
- }
- message FeedFormulaUsageRequest {
- int32 feed_formula_id = 1;
- string start_time = 2;
- string end_time = 3;
- }
- message FeedFormulaUsageResponse {
- repeated FeedFormulaUsageList list = 1;
- }
- message FeedFormulaUsageList {
- int32 pasture_id = 1;
- string pasture_name = 2;
- }
|