go-common/app/job/main/passport-game-cloud/model/model.proto
2019-04-22 18:49:16 +08:00

17 lines
540 B
Protocol Buffer

syntax = "proto3";
package model;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
// Perm token.
message Perm {
int64 Mid = 1 [(gogoproto.jsontag) = "mid"];
int32 AppID = 2 [(gogoproto.jsontag) = "appid"];
int32 AppSubID = 3 [(gogoproto.jsontag) = "app_subid"];
string AccessToken = 4 [(gogoproto.jsontag) = "access_token"];
string RefreshToken = 5 [(gogoproto.jsontag) = "refresh_token"];
int64 CreateAt = 6 [(gogoproto.jsontag) = "create_at"];
int64 Expires = 7 [(gogoproto.jsontag) = "expires"];
}