syntax = "proto3";
option go_package = "./pb";

package pb;

import "models/model_node.proto";
import "models/model_node_cluster.proto";
import "models/model_server.proto";
import "models/model_dns_domain.proto";

// DNS相关同步任务
message DNSTask {
	int64 id = 1;
	string type = 2;
	bool isDone = 3;
	bool isOk = 4;
	string error = 5;
	int64 updatedAt = 6;

	Node node = 30;
	NodeCluster nodeCluster = 31;
	Server server = 32;
	DNSDomain dnsDomain = 33;
}