main
Last change
on this file since 04008ae was 17d6948, checked in by Nikola Mishevski <Nikola.Mishevski@…>, 6 days ago |
initial commit WineTracker Project
|
-
Property mode
set to
100644
|
File size:
719 bytes
|
Line | |
---|
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.