using System; namespace Schaad.Accounting.Models { /// /// A bill over a period (e.g. the yearly NeoVac electricity or water bill), so it can be /// grouped into calendar periods by . /// public interface IPeriodBill { DateOnly PeriodFrom { get; set; } DateOnly PeriodTo { get; set; } /// Adds (0..1) of the other bill's values to this one. void AddShare(T other, decimal share); } }