cart
Some checks failed
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Failing after 20s
Some checks failed
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Failing after 20s
This commit is contained in:
14
Webshop.Application/DTOs/Customers/CartDto.cs
Normal file
14
Webshop.Application/DTOs/Customers/CartDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Webshop.Application.DTOs.Shipping; // Oder wo CartItemDto liegt
|
||||
|
||||
namespace Webshop.Application.DTOs.Customers
|
||||
{
|
||||
public class CartDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string UserId { get; set; } = string.Empty;
|
||||
public List<CartItemDto> Items { get; set; } = new List<CartItemDto>();
|
||||
public decimal TotalEstimatedPrice { get; set; } // Optional: Summe berechnet
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user