Files
EdgeCommon/pkg/rpc/protos/models/model_user.proto

34 lines
739 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_node_cluster.proto";
import "models/model_user_feature.proto";
2022-07-24 16:45:07 +08:00
import "models/model_login.proto";
message User {
int64 id = 1;
string username = 2;
string fullname = 3;
string mobile = 4;
string tel = 5;
string email = 6;
string verifiedEmail = 20;
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-07-24 11:29:28 +08:00
bool isIndividualIdentified = 17;
bool isEnterpriseIdentified = 18;
string bandwidthAlgo = 21; // 带宽算法
2022-01-05 10:44:58 +08:00
2022-07-24 16:45:07 +08:00
Login otpLogin = 19; // OTP认证
NodeCluster nodeCluster = 10;
repeated UserFeature features = 11;
}