增加套餐相关代码

This commit is contained in:
刘祥超
2021-10-29 14:02:49 +08:00
parent 81a17aaad9
commit f90c8db556
9 changed files with 3093 additions and 0 deletions

View 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;
}