mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-19 09:00:24 +08:00
新版IP库管理阶段性提交(未完成)
This commit is contained in:
34
pkg/rpc/protos/models/model_ip_library_file.proto
Normal file
34
pkg/rpc/protos/models/model_ip_library_file.proto
Normal file
@@ -0,0 +1,34 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message IPLibraryFile {
|
||||
int64 id = 1;
|
||||
int64 fileId = 2;
|
||||
bool isFinished = 3;
|
||||
int64 createdAt = 4;
|
||||
repeated string countryNames = 5;
|
||||
repeated Province provinces = 6;
|
||||
repeated City cities = 7;
|
||||
repeated Town towns = 8;
|
||||
repeated string providerNames = 9;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user