changes
This commit is contained in:
22
Webshop.Application/DTOs/AdminProductDto.cs
Normal file
22
Webshop.Application/DTOs/AdminProductDto.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Webshop.Application.DTOs
|
||||
{
|
||||
public class AdminProductDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public string SKU { get; set; } = string.Empty;
|
||||
public decimal Price { get; set; }
|
||||
public decimal? OldPrice { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public bool IsInStock { get; set; } = true;
|
||||
public int StockQuantity { get; set; }
|
||||
public decimal? Weight { get; set; }
|
||||
public string? ImageUrl { get; set; }
|
||||
public string Slug { get; set; } = string.Empty;
|
||||
public DateTimeOffset CreatedDate { get; set; }
|
||||
public DateTimeOffset? LastModifiedDate { get; set; }
|
||||
public Guid? SupplierId { get; set; }
|
||||
public decimal? PurchasePrice { get; set; } // Admin-spezifisches Feld
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user