go-common/app/service/live/userexp/model/exp.proto

30 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

2019-04-22 10:49:16 +00:00
syntax = "proto3";
package model;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
message Exp {
int64 Uid = 1 [(gogoproto.jsontag) = "uid"];
int64 Uexp = 2 [(gogoproto.jsontag) = "uexp"];
int64 Rexp = 3 [(gogoproto.jsontag) = "rexp"];
}
message ExpLog {
int64 mid= 1 [(gogoproto.jsontag) = "mid"];
int64 uexp = 2 [(gogoproto.jsontag) = "uexp"];
int64 rexp = 3 [(gogoproto.jsontag) = "rexp"];
int64 ts = 4 [(gogoproto.jsontag) = "ts"];
string ip = 5 [(gogoproto.jsontag) = "ip"];
string buvid = 6 [(gogoproto.jsontag) = "buvid"];
map<string, string> content = 7 [(gogoproto.jsontag) = "content"];
}
message Level {
int64 Uid = 1 [(gogoproto.jsontag) = "uid"];
int64 Uexp = 2 [(gogoproto.jsontag) = "uexp"];
int64 Rexp = 3 [(gogoproto.jsontag) = "rexp"];
int32 Ulevel = 4 [(gogoproto.jsontag) = "ulevel"];
int32 Rlevel = 5 [(gogoproto.jsontag) = "rlevel"];
int32 Color = 6 [(gogoproto.jsontag) = "color"];
int64 Unext = 7 [(gogoproto.jsontag) = "unext"];
int64 Rnext = 8 [(gogoproto.jsontag) = "rnext"];
}