18 lines
855 B
C#
18 lines
855 B
C#
namespace Compliance.Domain.Models
|
|
{
|
|
public class SubsidyInformation
|
|
{
|
|
public decimal BaseDiscountPercentage { get; set; } // Base discount rate
|
|
public Dictionary<string, decimal> GroupDiscounts { get; set; } = []; // Special discounts by consumer group
|
|
public bool ApplyToTUSD { get; set; } = true; // Whether discount applies to TUSD
|
|
public bool ApplyToTE { get; set; } = true; // Whether discount applies to TE
|
|
public bool ApplyToFlags { get; set; } = false; // Whether discount applies to flag charges
|
|
public ConsumptionRange Consumption { get; set; } = new();
|
|
public class ConsumptionRange
|
|
{
|
|
public decimal MinConsumption { get; set; }
|
|
public decimal? MaxConsumption { get; set; }
|
|
public decimal Amount { get; set; }
|
|
}
|
|
}
|
|
} |