All checks were successful
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Successful in 25s
16 lines
488 B
C#
16 lines
488 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Webshop.Application.DTOs.Shipping; // Wichtig für CartItemDto
|
|
|
|
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>();
|
|
|
|
// Optional: Gesamtsumme zur Anzeige im Frontend
|
|
public decimal TotalPrice { get; set; }
|
|
}
|
|
} |