namespace SimpleLIS.Models;

public class Message
{
    public int MessageId { get; set; }
#pragma warning disable CS8618
    public string ControlId { get; set; }
#pragma warning restore CS8618
#pragma warning disable CS8618
    public string MessageType { get; set; }
#pragma warning restore CS8618
#pragma warning disable CS8618
    public string SendingApp { get; set; }
#pragma warning restore CS8618
#pragma warning disable CS8618
    public string SendingFacility { get; set; }
#pragma warning restore CS8618
#pragma warning disable CS8618
    public string ReceivingApp { get; set; }
#pragma warning restore CS8618
#pragma warning disable CS8618
    public string ReceivingFacility { get; set; }
#pragma warning restore CS8618
    public DateTime Timestamp { get; set; }
#pragma warning disable CS8618
    public string Version { get; set; }
#pragma warning restore CS8618

    // Navigation Property for Observations
#pragma warning disable CS8618
    public ICollection<Observation> Observations { get; set; }
#pragma warning restore CS8618

    public int PatientId { get; set; }
#pragma warning disable CS8618
    public Patient Patient { get; set; }
#pragma warning restore CS8618
}
