syntax = "proto3";

option go_package = "./;rpc_proto";
package rpc_proto;

import "rpc_role.proto";

message Coin
{
	uint32				coin_num = 1;
}

message Account
{
	string					mobile = 1;
	string					email = 2;
	Coin					coin = 3;
	string					last_login_role = 4;
	repeated Role			role_col = 5;
}

message AccessToken
{
	string					access_token	= 1;
	uint64					expire			= 2;	//有效期，秒
	string					region			= 3;	//Domestic、Abroad，用于SDK区分国内外passport
	string					refresh_token	= 4;
}
