Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EShop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
EShop
Commits
04f69836
Commit
04f69836
authored
Apr 27, 2020
by
gdlcf88
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added currency properties. Close #4
parent
51e1fe6e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
1 deletion
+25
-1
BasketItem.cs
...rc/EasyAbp.EShop.Baskets.Domain/BasketItems/BasketItem.cs
+3
-0
Order.cs
...op.Orders/src/EasyAbp.EShop.Orders.Domain/Orders/Order.cs
+3
-0
OrderLine.cs
...rders/src/EasyAbp.EShop.Orders.Domain/Orders/OrderLine.cs
+3
-0
PaymentRecordOrder.cs
....Payment.Domain/PaymentRecordOrders/PaymentRecordOrder.cs
+4
-0
PaymentRecord.cs
...yAbp.EShop.Payment.Domain/PaymentRecords/PaymentRecord.cs
+3
-0
RefundRecord.cs
...asyAbp.EShop.Payment.Domain/RefundRecords/RefundRecord.cs
+3
-0
ProductSku.cs
...ucts.Domain/EasyAbp/EShop/Products/Products/ProductSku.cs
+6
-1
No files found.
modules/EasyAbp.EShop.Baskets/src/EasyAbp.EShop.Baskets.Domain/BasketItems/BasketItem.cs
View file @
04f69836
...
...
@@ -26,6 +26,9 @@ namespace EasyAbp.EShop.Baskets.BasketItems
[
NotNull
]
public
virtual
string
SkuDescription
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
UnitPrice
{
get
;
protected
set
;
}
public
virtual
decimal
TotalPrice
{
get
;
protected
set
;
}
...
...
modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Domain/Orders/Order.cs
View file @
04f69836
...
...
@@ -22,6 +22,9 @@ namespace EasyAbp.EShop.Orders.Orders
public
virtual
Guid
?
ShippingMethodId
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
Freight
{
get
;
protected
set
;
}
public
virtual
decimal
ProductTotalPrice
{
get
;
protected
set
;
}
...
...
modules/EasyAbp.EShop.Orders/src/EasyAbp.EShop.Orders.Domain/Orders/OrderLine.cs
View file @
04f69836
...
...
@@ -21,6 +21,9 @@ namespace EasyAbp.EShop.Orders.Orders
[
CanBeNull
]
public
virtual
string
MediaResources
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
UnitPrice
{
get
;
protected
set
;
}
public
virtual
decimal
TotalPrice
{
get
;
protected
set
;
}
...
...
modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecordOrders/PaymentRecordOrder.cs
View file @
04f69836
using
System
;
using
EasyAbp.EShop.Stores.Stores
;
using
JetBrains.Annotations
;
using
Volo.Abp.Domain.Entities.Auditing
;
using
Volo.Abp.MultiTenancy
;
...
...
@@ -13,6 +14,9 @@ namespace EasyAbp.EShop.Payment.PaymentRecordOrders
public
virtual
Guid
OrderId
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
OriginalPaymentAmount
{
get
;
protected
set
;
}
public
virtual
decimal
PaymentDiscount
{
get
;
protected
set
;
}
...
...
modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecords/PaymentRecord.cs
View file @
04f69836
...
...
@@ -16,6 +16,9 @@ namespace EasyAbp.EShop.Payment.PaymentRecords
[
NotNull
]
public
virtual
string
ExternalTradingCode
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
OriginalPaymentAmount
{
get
;
protected
set
;
}
public
virtual
decimal
PaymentDiscount
{
get
;
protected
set
;
}
...
...
modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/RefundRecords/RefundRecord.cs
View file @
04f69836
...
...
@@ -20,6 +20,9 @@ namespace EasyAbp.EShop.Payment.RefundRecords
[
NotNull
]
public
virtual
string
ExternalTradingCode
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
RefundAmount
{
get
;
protected
set
;
}
[
CanBeNull
]
...
...
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Domain/EasyAbp/EShop/Products/Products/ProductSku.cs
View file @
04f69836
...
...
@@ -9,6 +9,9 @@ namespace EasyAbp.EShop.Products.Products
[
NotNull
]
public
virtual
string
SerializedAttributeOptionIds
{
get
;
protected
set
;
}
[
NotNull
]
public
virtual
string
Currency
{
get
;
protected
set
;
}
public
virtual
decimal
OriginalPrice
{
get
;
protected
set
;
}
public
virtual
decimal
Price
{
get
;
protected
set
;
}
...
...
@@ -24,6 +27,7 @@ namespace EasyAbp.EShop.Products.Products
public
ProductSku
(
Guid
id
,
[
NotNull
]
string
serializedAttributeOptionIds
,
[
NotNull
]
string
currency
,
decimal
originalPrice
,
decimal
price
,
int
inventory
,
...
...
@@ -31,6 +35,7 @@ namespace EasyAbp.EShop.Products.Products
int
orderMinQuantity
)
:
base
(
id
)
{
SerializedAttributeOptionIds
=
serializedAttributeOptionIds
;
Currency
=
currency
;
OriginalPrice
=
originalPrice
;
Price
=
price
;
Inventory
=
inventory
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment