22 lines
399 B
Protocol Buffer
22 lines
399 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package mixservice.mixv1;
|
|
import "mix/mixv1/common.proto";
|
|
option go_package = "./mix/mixv1;mixv1";
|
|
|
|
// 公司
|
|
service Company {
|
|
// 合同列表
|
|
rpc GetList (Empty) returns (RespCompanyGetList) {}
|
|
}
|
|
|
|
message RespCompanyGetList {
|
|
repeated RespCompanyDetail list = 1;
|
|
}
|
|
|
|
message RespCompanyDetail {
|
|
int32 id = 1;
|
|
string name = 2;
|
|
string code = 3;
|
|
int32 status = 4;
|
|
} |