mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-25 20:40:24 +08:00
增加DNS套餐相关API
This commit is contained in:
19
pkg/rpc/protos/models/model_ns_user_plan.proto
Normal file
19
pkg/rpc/protos/models/model_ns_user_plan.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_ns_plan.proto";
|
||||
import "models/model_user.proto";
|
||||
|
||||
message NSUserPlan {
|
||||
int64 id = 1;
|
||||
int64 nsPlanId = 2;
|
||||
int64 userId = 3;
|
||||
string dayFrom = 4;
|
||||
string dayTo = 5;
|
||||
string periodUnit = 6;
|
||||
|
||||
NSPlan nsPlan = 30;
|
||||
User user = 31;
|
||||
}
|
||||
Reference in New Issue
Block a user