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

package pb;

import "models/model_message_recipient.proto";
import "models/model_message_recipient_group.proto";

message MessageReceiver {
	int64 id = 1;
	int64 clusterId = 2;
	int64 nodeId = 3;
	int64 serverId = 4;
	string type = 5;
	bytes paramsJSON = 6;
	string role = 9; // 集群角色：node 或 dns

	MessageRecipient messageRecipient = 7;
	MessageRecipientGroup messageRecipientGroup = 8;
}