namespace WineTrackerWebApi.Models.Report { public class WineReport { private decimal _percentageDifference; public string WineName { get; set; } public string WineTypeName { get; set; } public string WineRegion { get; set; } public DateTime YearProduced { get; set; } public decimal TotalWineBasePrice { get; set; } public decimal TotalWineAgreedPrice { get; set; } public long TotalWineQuantity { get; set; } public decimal TotalWineProfit { get; set; } public decimal PercentageDifference { get => _percentageDifference; set => _percentageDifference = Math.Round(value, 2); } } }