syntax = "proto3"; option go_package = ".;outsourcing"; service outsourcingService { rpc GetMaterialList(GetMaterialListRequest) returns(GetMaterialListResponse) {} } message Material { string ID = 1; //编号 string Name = 2; //名称 string Unit = 3; //单位 string Specs = 4; // 规格 string Type = 5; // 型号 } message GetMaterialListRequest{ int32 page = 1; int32 pageSize = 2; string Keyword = 3; } message GetMaterialListResponse{ int32 Code = 1; string Msg = 2; repeated Material List = 3; int64 Total = 4; }