namespace Inspectron.Epson;

/// <summary>
/// Represents a discovered Epson printer
/// </summary>
public class DiscoveredPrinter
{
    public string ModelName { get; set; }
    public string IPAddress { get; set; }
    public string MACAddress { get; set; }
    public int Port { get; set; }
    public DateTime DiscoveredAt { get; set; }
    public byte[] RawResponse { get; set; }
    public string ServiceUrl { get; set; }
    public ushort Lifetime { get; set; }
    public string ServiceType { get; set; }

    public override string ToString()
    {
        return $"Model: {ModelName}, IP: {IPAddress}, MAC: {MACAddress}, Type: {ServiceType}";
    }
}