checkout
This commit is contained in:
12
Webshop.Application/DTOs/Email/EmailSettings.cs
Normal file
12
Webshop.Application/DTOs/Email/EmailSettings.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Webshop.Application.DTOs.Email
|
||||
{
|
||||
public class EmailSettings
|
||||
{
|
||||
public string SmtpServer { get; set; } = "smtp.example.com";
|
||||
public int Port { get; set; } = 587;
|
||||
public string SenderName { get; set; } = "Mein Webshop";
|
||||
public string SenderEmail { get; set; } = "noreply@meinwebshop.de";
|
||||
public string Username { get; set; } = "user";
|
||||
public string Password { get; set; } = "pass";
|
||||
}
|
||||
}
|
||||
13
Webshop.Application/DTOs/Shipping/CartItemDto.cs
Normal file
13
Webshop.Application/DTOs/Shipping/CartItemDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace Webshop.Application.DTOs.Shipping
|
||||
{
|
||||
public class CartItemDto
|
||||
{
|
||||
public Guid ProductId { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
|
||||
// +++ DIESE ZEILE HAT GEFEHLT +++
|
||||
public Guid? ProductVariantId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// src/Webshop.Application/DTOs/Shipping/ShippingCalculationRequestDto.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Webshop.Application.DTOs.Shipping
|
||||
{
|
||||
public class ShippingCalculationRequestDto
|
||||
{
|
||||
public List<CartItemDto> Items { get; set; } = new();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user