MasstransferExporter/MasstransferCommunicate/Process/Model/Message.cs

14 lines
249 B
C#

namespace MasstransferCommunicate.Process.Model;
public class Message<T>
{
public string Topic { get; set; }
public T Data { get; set; }
public Message(string topic, T data)
{
Topic = topic;
Data = data;
}
}