mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 23:30:25 +08:00
23 lines
350 B
Protocol Buffer
23 lines
350 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "./pb";
|
|
|
|
package pb;
|
|
|
|
import "models/model_user.proto";
|
|
import "models/model_plan.proto";
|
|
import "models/model_server.proto";
|
|
|
|
message UserPlan {
|
|
int64 id = 1;
|
|
int64 userId = 2;
|
|
int64 planId = 3;
|
|
bool isOn = 4;
|
|
string dayTo = 5;
|
|
string name = 6;
|
|
|
|
User user = 30;
|
|
Plan plan = 31;
|
|
Server server = 32;
|
|
}
|
|
|