forked from FulLachy/Teamerino-Memerino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSalesStruct.cs
83 lines (72 loc) · 1.49 KB
/
SalesStruct.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Teamerino_Memerino
{
public class SalesStruct
{
private int _recnum;
private double _price;
private string _date;
private string _time;
//index int refers to barcode, value int refers to quantity
private List<SalesStockStruct> _itemQuantity = new List<SalesStockStruct>();
public int RecordNum
{
get
{
return _recnum;
}
set
{
_recnum = value;
}
}
public double Price
{
get
{
return _price;
}
set
{
_price = value;
}
}
public string Time
{
get
{
return _time;
}
set
{
_time = value;
}
}
public string Date
{
get
{
return _date;
}
set
{
_date = value;
}
}
public List<SalesStockStruct> ItemQuantity
{
get
{
return _itemQuantity;
}
set
{
_itemQuantity = value;
}
}
}
}