main
Rev | Line | |
---|
[17d6948] | 1 | namespace WineTrackerWebApi.Models.Report
|
---|
| 2 | {
|
---|
| 3 | public class WineReport
|
---|
| 4 | {
|
---|
| 5 | private decimal _percentageDifference;
|
---|
| 6 |
|
---|
| 7 | public string WineName { get; set; }
|
---|
| 8 | public string WineTypeName { get; set; }
|
---|
| 9 | public string WineRegion { get; set; }
|
---|
| 10 | public DateTime YearProduced { get; set; }
|
---|
| 11 | public decimal TotalWineBasePrice { get; set; }
|
---|
| 12 | public decimal TotalWineAgreedPrice { get; set; }
|
---|
| 13 | public long TotalWineQuantity { get; set; }
|
---|
| 14 | public decimal TotalWineProfit { get; set; }
|
---|
| 15 | public decimal PercentageDifference
|
---|
| 16 | {
|
---|
| 17 | get => _percentageDifference;
|
---|
| 18 | set => _percentageDifference = Math.Round(value, 2);
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.