namespace ZB.MOM.WW.ScadaBridge.Commons.Entities.Instances; public class InstanceAttributeOverride { /// Gets or sets the primary key. public int Id { get; set; } /// Gets or sets the foreign key of the owning instance. public int InstanceId { get; set; } /// Gets or sets the attribute name this override targets. public string AttributeName { get; set; } /// Gets or sets the override value, or null to clear a previous override. public string? OverrideValue { get; set; } /// Initializes a new for the given attribute name. /// The name of the attribute to override. public InstanceAttributeOverride(string attributeName) { AttributeName = attributeName ?? throw new ArgumentNullException(nameof(attributeName)); } }