namespace ScadaLink.Commons.Entities.Instances;

public class InstanceConnectionBinding
{
    public int Id { get; set; }
    public int InstanceId { get; set; }
    public string AttributeName { get; set; }
    public int DataConnectionId { get; set; }

    public InstanceConnectionBinding(string attributeName)
    {
        AttributeName = attributeName ?? throw new ArgumentNullException(nameof(attributeName));
    }
}
