Initial commit (code only without large binaries)
This commit is contained in:
27
EdgeCommon/pkg/rpc/protos/models/model_ns_domain.proto
Normal file
27
EdgeCommon/pkg/rpc/protos/models/model_ns_domain.proto
Normal file
@@ -0,0 +1,27 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_ns_cluster.proto";
|
||||
import "models/model_ns_domain_group.proto";
|
||||
import "models/model_user.proto";
|
||||
|
||||
// DNS域名
|
||||
message NSDomain {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
bool isOn = 3;
|
||||
int64 createdAt = 4;
|
||||
bool isDeleted = 5;
|
||||
int64 version = 6;
|
||||
bytes tsigJSON = 7;
|
||||
repeated int64 nsDomainGroupIds = 8;
|
||||
string status = 9;
|
||||
int64 userId = 10; // 用户ID
|
||||
bytes recordsHealthCheckJSON = 11; // 健康检查设置
|
||||
|
||||
NSCluster nsCluster = 30;
|
||||
User user = 31;
|
||||
repeated NSDomainGroup nsDomainGroups = 32;
|
||||
}
|
||||
Reference in New Issue
Block a user