2022-08-13 23:55:59 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
|
|
|
|
message IPLibraryFile {
|
|
|
|
|
int64 id = 1;
|
2022-08-21 20:36:56 +08:00
|
|
|
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;
|
2023-03-30 20:02:46 +08:00
|
|
|
string password = 15; // 密码
|
2022-08-13 23:55:59 +08:00
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|