-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodelOrder.cls
72 lines (68 loc) · 1.88 KB
/
modelOrder.cls
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
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "modelOrder"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Private sales As modelSales
Private itemType As String
Private salesChannel As String
Private orderPriority As String
Private orderDate As Date
Private orderId As Long
Private shipDate As Date
Private location As modelLocation
Public Property Get objSales() As modelSales
Set objSales = sales
End Property
Public Property Set objSales(value As modelSales)
Set sales = value
End Property
Public Property Get item_type() As String
item_type = itemType
End Property
Public Property Let item_type(value As String)
itemType = value
End Property
Public Property Get sales_channel() As String
sales_channel = salesChannel
End Property
Public Property Let sales_channel(value As String)
salesChannel = value
End Property
Public Property Get order_priority() As String
order_priority = orderPriority
End Property
Public Property Let order_priority(value As String)
orderPriority = value
End Property
Public Property Get order_date() As Date
order_date = orderDate
End Property
Public Property Let order_date(value As Date)
orderDate = value
End Property
Public Property Get order_ID() As Long
order_ID = orderId
End Property
Public Property Let order_ID(value As Long)
orderId = value
End Property
Public Property Get ship_date() As Date
ship_date = shipDate
End Property
Public Property Let ship_date(value As Date)
shipDate = value
End Property
Public Property Get objLocation() As modelLocation
Set objLocation = location
End Property
Public Property Set objLocation(value As modelLocation)
Set location = value
End Property
Public Property Get toString()
toString = Me.order_ID & "," & Me.order_date & "," & Me.item_type
End Property