mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-15 05:50:27 +08:00
增加套餐相关代码
This commit is contained in:
19
pkg/rpc/protos/models/model_user_plan.proto
Normal file
19
pkg/rpc/protos/models/model_user_plan.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_user.proto";
|
||||
import "models/model_plan.proto";
|
||||
|
||||
message UserPlan {
|
||||
int64 id = 1;
|
||||
int64 userId = 2;
|
||||
int64 planId = 3;
|
||||
bool isOn = 4;
|
||||
string dayTo = 5;
|
||||
|
||||
User user = 30;
|
||||
Plan plan = 31;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user