namespace DnsmasqWebUI.Models;
public class DhcpHostEntry
{
public int LineNumber { get; set; }
/// Stable identifier (content-based: MACs|Address|Name, with ":LineNumber" for uniqueness). Set by server on GET; used to match entries on PUT so reordering is safe.
public string Id { get; set; } = "";
public string RawLine { get; set; } = "";
public bool IsComment { get; set; }
public bool IsDeleted { get; set; }
public bool Ignore { get; set; }
public List MacAddresses { get; set; } = new();
public string? Name { get; set; }
public string? Address { get; set; }
public string? Lease { get; set; }
public List Extra { get; set; } = new();
public string? Comment { get; set; }
}