mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-24 11:50:25 +08:00
对服务增加基础的数据统计/部分代码分Package
This commit is contained in:
21
pkg/rpc/protos/models/model_user.proto
Normal file
21
pkg/rpc/protos/models/model_user.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_node_cluster.proto";
|
||||
import "models/model_user_feature.proto";
|
||||
|
||||
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;
|
||||
NodeCluster nodeCluster = 10;
|
||||
repeated UserFeature features = 11;
|
||||
}
|
||||
Reference in New Issue
Block a user