31 lines
756 B
Protocol Buffer
Executable File
31 lines
756 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package loafle.cms.proto.user;
|
|
|
|
option csharp_namespace = "Loafle.Cms.Proto.User";
|
|
option cc_enable_arenas = true;
|
|
option go_package = "git.loafle.net/cms/proto/user";
|
|
option java_package = "com.loafle.cms.proto.user";
|
|
option objc_class_prefix = "LF";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
message User {
|
|
int64 id = 1;
|
|
string name = 2;
|
|
string username = 3;
|
|
string email = 4;
|
|
string password = 5;
|
|
bool block = 6;
|
|
bool sendEmail = 7;
|
|
google.protobuf.Timestamp registerDate = 8;
|
|
google.protobuf.Timestamp lastvisitDate = 9;
|
|
string activation = 10;
|
|
string params = 11;
|
|
google.protobuf.Timestamp lastResetTime = 12;
|
|
int64 resetCount = 13;
|
|
string otpKey = 14;
|
|
string otep = 15;
|
|
bool requireReset = 16;
|
|
}
|