60 lines
969 B
Protocol Buffer
60 lines
969 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message PersonInfoSets //人物基本信息
|
|
{
|
|
repeated PersonInfo PersonInfo = 1;
|
|
}
|
|
|
|
message AirportInfoSets //机场信息
|
|
{
|
|
repeated AirportInfoS AirportInfoS = 1;
|
|
}
|
|
|
|
message PortInfoSets //港口信息
|
|
{
|
|
repeated PortInfo PortInfo = 1;
|
|
}
|
|
|
|
message OrganizationInfoSets //港口信息
|
|
{
|
|
repeated OrganizationInfo OrganizationInfo = 1;
|
|
}
|
|
|
|
|
|
message PersonInfo
|
|
{
|
|
string ID = 1; //ID
|
|
string NAME = 2; //名称
|
|
string Age = 3; //年龄
|
|
string Nation = 4; //国籍
|
|
string Introduction = 5; //简介
|
|
}
|
|
|
|
message AirportInfoS
|
|
{
|
|
string ID = 1; //ID
|
|
string NAME = 2; //名称
|
|
string Location = 3; //所在地
|
|
string Longitude = 4; //经度
|
|
string Latitude = 5; //纬度
|
|
}
|
|
|
|
message PortInfo
|
|
{
|
|
string ID = 1; //ID
|
|
string NAME = 2; //名称
|
|
string Location = 3; //所在地
|
|
string Longitude = 4; //经度
|
|
string Latitude = 5; //纬度
|
|
}
|
|
|
|
message OrganizationInfo
|
|
{
|
|
string ID = 1; //ID
|
|
string NAME = 2; //名称
|
|
string Nation = 3;
|
|
string Commander = 4;
|
|
string Type = 5;
|
|
string Introduction = 6;
|
|
}
|