Retructured solution
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace LiteCharms.Features.Shop.ShoppingCarts.Models;
|
||||
|
||||
public class ShoppingCart
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public DateTimeOffset? UpdatedAt { get; set; }
|
||||
|
||||
public Guid CustomerId { get; set; }
|
||||
|
||||
public Guid? OrderId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace LiteCharms.Features.Shop.ShoppingCarts.Models;
|
||||
|
||||
public class ShoppingCartItem
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public Guid ShoppingCartId { get; set; }
|
||||
|
||||
public Guid ProductPriceId { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public DateTimeOffset UpdatedAt { get; set; }
|
||||
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace LiteCharms.Features.Shop.ShoppingCarts.Models;
|
||||
|
||||
public class ShoppingCartPackage
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public Guid ShoppingCartId { get; set; }
|
||||
|
||||
public Guid PackageId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user