You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
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"]; |
|
} |