witProtobuf/account.proto

42 lines
713 B
Protocol Buffer

//is this a comment?
syntax = "proto3";
package guipb;
//import "Common.proto";
//import "google/protobuf/timestamp.proto";
message Account {
int64 ID = 1;
string nick = 2;
string username = 3;
string token = 4;
string password = 5;
string pwdhash = 6;
string hostname = 7;
string domain = 8;
int32 port = 9;
string email = 10;
string URL = 11;
string ctime = 12;
string mtime = 13;
string atime = 14;
string browser = 15;
repeated HttpHeader httpHeaders = 16;
string code = 17;
string codedate = 18;
string createdon = 19;
string codetype = 20;
string secret2fa = 21;
string confirmed2fa = 22;
string roles = 23;
message HttpHeader {
string name = 1;
string value = 2;
}
}