Generator Changes at 11/22/2025 9:58:16 PM +03:30

This commit is contained in:
masoodafar-web
2025-11-22 22:02:04 +03:30
parent fb9d2f6a9c
commit 56478c79c2
22 changed files with 281 additions and 31 deletions

View File

@@ -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

View File

@@ -0,0 +1,7 @@
namespace CMSMicroservice.Domain.Enums;
//
public enum PaymentMethod
{
IPG = 0,
Wallet = 1,
}

View File

@@ -0,0 +1,8 @@
namespace CMSMicroservice.Domain.Events;
public class SubmitShopBuyOrderEvent : BaseEvent
{
public SubmitShopBuyOrderEvent(UserOrder item)
{
}
public UserOrder Item { get; }
}