2020-12-04 16:01:06 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
2021-01-25 16:41:30 +08:00
|
|
|
import "models/model_node_cluster.proto";
|
|
|
|
|
import "models/model_user_feature.proto";
|
2020-12-17 15:51:09 +08:00
|
|
|
|
2020-12-04 16:01:06 +08:00
|
|
|
message User {
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
string username = 2;
|
|
|
|
|
string fullname = 3;
|
|
|
|
|
string mobile = 4;
|
|
|
|
|
string tel = 5;
|
|
|
|
|
string email = 6;
|
|
|
|
|
string remark = 7;
|
|
|
|
|
bool isOn = 8;
|
|
|
|
|
int64 createdAt = 9;
|
2022-01-05 10:44:58 +08:00
|
|
|
string registeredIP = 12;
|
|
|
|
|
bool isVerified = 13;
|
|
|
|
|
bool isRejected = 14;
|
|
|
|
|
string rejectReason = 15;
|
2022-01-23 19:16:58 +08:00
|
|
|
bool isDeleted = 16;
|
2022-01-05 10:44:58 +08:00
|
|
|
|
2020-12-17 17:36:01 +08:00
|
|
|
NodeCluster nodeCluster = 10;
|
2020-12-30 22:01:26 +08:00
|
|
|
repeated UserFeature features = 11;
|
2020-12-04 16:01:06 +08:00
|
|
|
}
|