Generator Changes at 11/22/2025 9:58:16 PM +03:30
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using CMSMicroservice.Domain.Enums;
|
||||
|
||||
namespace CMSMicroservice.Domain.Entities;
|
||||
//سفارش کاربر
|
||||
public class UserOrder : BaseAuditableEntity
|
||||
@@ -24,6 +22,7 @@ public class UserOrder : BaseAuditableEntity
|
||||
public long UserAddressId { get; set; }
|
||||
//UserAddress Navigation Property
|
||||
public virtual UserAddress UserAddress { get; set; }
|
||||
public PaymentMethod? PaymentMethod { get; set; }
|
||||
//FactorDetails Collection Navigation Reference
|
||||
public virtual ICollection<FactorDetails> FactorDetailss { get; set; }
|
||||
//Transactions Collection Navigation Reference
|
||||
|
||||
7
src/CMSMicroservice.Domain/Enums/PaymentMethod.cs
Normal file
7
src/CMSMicroservice.Domain/Enums/PaymentMethod.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace CMSMicroservice.Domain.Enums;
|
||||
//
|
||||
public enum PaymentMethod
|
||||
{
|
||||
IPG = 0,
|
||||
Wallet = 1,
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace CMSMicroservice.Domain.Events;
|
||||
public class SubmitShopBuyOrderEvent : BaseEvent
|
||||
{
|
||||
public SubmitShopBuyOrderEvent(UserOrder item)
|
||||
{
|
||||
}
|
||||
public UserOrder Item { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user