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.
16 lines
540 B
16 lines
540 B
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"]; |
|
}
|
|
|