witProtobuf/account.proto

38 lines
626 B
Protocol Buffer

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