using System; namespace MMDAL.DTO.ParameterPartyOverride { // Standing Min/Max threshold override for one Parameter within a // ParameterSet, scoped to a Party (+ optionally an Item). ItemId=-1 // means "any item for this party". A party with no row here falls // back to MPARAMETER's global default. public class ParameterPartyOverrideDTO { public int ParameterPartyOverrideId { get; set; } public int PartyId { get; set; } public string PartyCode { get; set; } public string PartyName { get; set; } public int ItemId { get; set; } = -1; public string ItemCode { get; set; } public string ItemName { get; set; } public int ParameterSetId { get; set; } public int ParameterId { get; set; } public string ParameterCode { get; set; } public string ParameterName { get; set; } public double? MinValue { get; set; } public double? MaxValue { get; set; } public byte Status { get; set; } public short Version { get; set; } public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } } }