Initial commit (code only without large binaries)
This commit is contained in:
36
EdgeCommon/pkg/rpc/protos/models/model_user.proto
Normal file
36
EdgeCommon/pkg/rpc/protos/models/model_user.proto
Normal file
@@ -0,0 +1,36 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_node_cluster.proto";
|
||||
import "models/model_user_feature.proto";
|
||||
import "models/model_login.proto";
|
||||
|
||||
message User {
|
||||
int64 id = 1; // 用户ID
|
||||
string username = 2; // 用户名
|
||||
string fullname = 3; // 全称
|
||||
string mobile = 4; // 手机号码
|
||||
string tel = 5; // 联系电话
|
||||
string email = 6; // 联系邮箱
|
||||
string verifiedEmail = 20; // 已验证邮箱
|
||||
string verifiedMobile = 23; // 已验证手机号码
|
||||
string remark = 7; // 备注
|
||||
bool isOn = 8; // 是否启用
|
||||
int64 createdAt = 9; // 创建时间
|
||||
string registeredIP = 12; // 注册IP
|
||||
bool isVerified = 13; // 是否已实名认证
|
||||
bool isRejected = 14; // 实名认证是否已拒绝
|
||||
string rejectReason = 15; // 实名认证拒绝理由
|
||||
bool isDeleted = 16; // 是否已删除
|
||||
bool isIndividualIdentified = 17; // 是否已通过个人验证
|
||||
bool isEnterpriseIdentified = 18; // 是否已通过企业验证
|
||||
string bandwidthAlgo = 21; // 带宽算法
|
||||
string lang = 22; // 语言代号
|
||||
|
||||
Login otpLogin = 19; // OTP认证
|
||||
|
||||
NodeCluster nodeCluster = 10; // 集群信息
|
||||
repeated UserFeature features = 11; // 开通功能
|
||||
}
|
||||
Reference in New Issue
Block a user