mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-04 05:00:24 +08:00
39 lines
745 B
Protocol Buffer
39 lines
745 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "./pb";
|
|
|
|
package pb;
|
|
|
|
message IPLibraryFile {
|
|
int64 id = 1;
|
|
string name = 2;
|
|
int64 fileId = 3;
|
|
string template = 4;
|
|
repeated string emptyValues = 5;
|
|
int64 generatedFileId = 6;
|
|
int64 generatedAt = 7;
|
|
bool isFinished = 8;
|
|
int64 createdAt = 9;
|
|
repeated string countryNames = 10;
|
|
repeated Province provinces = 11;
|
|
repeated City cities = 12;
|
|
repeated Town towns = 13;
|
|
repeated string providerNames = 14;
|
|
|
|
message Province {
|
|
string countryName = 1;
|
|
string provinceName = 2;
|
|
}
|
|
|
|
message City {
|
|
string countryName = 1;
|
|
string provinceName = 2;
|
|
string cityName = 3;
|
|
}
|
|
|
|
message Town {
|
|
string countryName = 1;
|
|
string provinceName = 2;
|
|
string cityName = 3;
|
|
string townName = 4;
|
|
}
|
|
} |