bugs
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
// src/Webshop.Application/DTOs/ProductDto.cs
|
||||
namespace Webshop.Application.DTOs
|
||||
namespace Webshop.Application.DTOs
|
||||
{
|
||||
public class ProductDto
|
||||
{
|
||||
public Guid Id { get; set; } // Wird bei Erstellung oft vom Backend gesetzt
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty; // Kann null sein
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public string SKU { get; set; } = string.Empty; // STELLEN SIE SICHER, DASS DIES DA IST
|
||||
public decimal Price { get; set; }
|
||||
public string Sku { get; set; } = string.Empty;
|
||||
public string ShortDescription { get; set; } = string.Empty; // Kann null sein, aber hier zur Vollständigkeit
|
||||
public bool IsActive { get; set; } // Muss übergeben werden
|
||||
public bool IsInStock { get; set; } // Muss übergeben werden
|
||||
public int StockQuantity { get; set; } // Muss übergeben werden
|
||||
public string Slug { get; set; } = string.Empty; // Muss übergeben werden
|
||||
|
||||
public bool IsActive { get; set; }
|
||||
public bool IsInStock { get; set; }
|
||||
public int StockQuantity { get; set; }
|
||||
public string? ImageUrl { get; set; } // STELLEN SIE SICHER, DASS DIES DA IST
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user