using System.Text.Json;
using System.Text.Json.Serialization;

namespace Kafka.Lib;

public interface IMessageType
{
    public string? Id { get; set; }
    public string? EventType { get; }
    
    [JsonIgnore]
    public string Text { get; }
}