mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-08 07:50:27 +08:00
24 lines
475 B
Protocol Buffer
24 lines
475 B
Protocol Buffer
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;
|
|
|
|
NSCluster nsCluster = 30;
|
|
User user = 31;
|
|
repeated NSDomainGroup nsDomainGroups = 32;
|
|
} |