32 lines
614 B
Protocol Buffer
32 lines
614 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package finance.api.inner;
|
|
|
|
option go_package = "./finance/financev1;financev1";
|
|
|
|
service CompanySubject {
|
|
rpc ListCompanySubject (ListCompanySubjectRequest) returns (ListCompanySubjectReply);
|
|
}
|
|
|
|
message ListCompanySubjectRequest {
|
|
int32 page = 1;
|
|
int32 page_size = 2;
|
|
string keyword = 3;
|
|
int32 code = 4;
|
|
int32 status = 5;
|
|
}
|
|
message ListCompanySubjectReply {
|
|
repeated CompanySubjectItem list = 1;
|
|
int64 total = 2;
|
|
}
|
|
|
|
message CompanySubjectItem {
|
|
int32 id = 1;
|
|
string name = 2;
|
|
int32 code = 3;
|
|
int32 status = 4;
|
|
string created_at = 5;
|
|
string updated_at = 6;
|
|
string corp_id = 7;
|
|
}
|