namespace ScadaLink.Commons.Entities.Sites;

public class Site
{
    public int Id { get; set; }
    public string Name { get; set; }
    public string SiteIdentifier { get; set; }
    public string? Description { get; set; }
    public string? NodeAAddress { get; set; }
    public string? NodeBAddress { get; set; }
    public string? GrpcNodeAAddress { get; set; }
    public string? GrpcNodeBAddress { get; set; }

    public Site(string name, string siteIdentifier)
    {
        Name = name ?? throw new ArgumentNullException(nameof(name));
        SiteIdentifier = siteIdentifier ?? throw new ArgumentNullException(nameof(siteIdentifier));
    }
}
