2021-10-29 14:02:49 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
|
|
|
|
message Plan {
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
bool isOn = 2;
|
|
|
|
|
string name = 3;
|
|
|
|
|
int64 clusterId = 4;
|
2021-11-09 17:36:34 +08:00
|
|
|
bytes trafficLimitJSON = 5;
|
2021-10-29 14:02:49 +08:00
|
|
|
bytes featuresJSON = 6;
|
|
|
|
|
string priceType = 7;
|
2021-11-09 17:36:34 +08:00
|
|
|
bytes trafficPriceJSON = 8;
|
2022-01-23 19:16:58 +08:00
|
|
|
bytes bandwidthPriceJSON = 12;
|
2022-10-23 16:29:08 +08:00
|
|
|
double monthlyPrice = 9;
|
|
|
|
|
double seasonallyPrice = 10;
|
|
|
|
|
double yearlyPrice = 11;
|
2023-09-06 16:31:14 +08:00
|
|
|
int32 totalServers = 13; // 可以添加的网站数
|
|
|
|
|
int32 totalServerNamesPerServer = 14; // 每个网站可以添加的域名数
|
|
|
|
|
int32 totalServerNames = 15; // 可以添加的域名总数
|
2021-10-29 14:02:49 +08:00
|
|
|
}
|