model.proto 540 B

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