sonderangebot artikel

This commit is contained in:
Tizian.Breuch
2025-08-12 14:32:47 +02:00
parent 3e68caf33c
commit 169c1aa2fd
11 changed files with 85 additions and 11 deletions

View File

@@ -16,13 +16,16 @@ namespace Webshop.Application.DTOs.Products
public bool IsInStock { get; set; } = true;
public int StockQuantity { get; set; }
public decimal? Weight { get; set; }
// << ENTFERNT: ImageUrl >>
public string Slug { get; set; } = string.Empty;
public DateTimeOffset CreatedDate { get; set; } = DateTimeOffset.UtcNow;
public DateTimeOffset? LastModifiedDate { get; set; }
public Guid? SupplierId { get; set; }
public decimal? PurchasePrice { get; set; }
public List<Guid> categorieIds { get; set; } = new List<Guid>();
public List<ProductImageDto> Images { get; set; } = new List<ProductImageDto>(); // << NEU >>
public List<ProductImageDto> Images { get; set; } = new List<ProductImageDto>();
// << NEU >>
public bool IsFeatured { get; set; }
public int FeaturedDisplayOrder { get; set; }
}
}

View File

@@ -30,5 +30,8 @@ namespace Webshop.Application.DTOs.Products
public decimal? OldPrice { get; set; }
public Guid? SupplierId { get; set; }
public decimal? PurchasePrice { get; set; }
public bool IsFeatured { get; set; } = false;
public int FeaturedDisplayOrder { get; set; } = 0;
}
}

View File

@@ -33,5 +33,7 @@ namespace Webshop.Application.DTOs.Products
public decimal? OldPrice { get; set; }
public Guid? SupplierId { get; set; }
public decimal? PurchasePrice { get; set; }
public bool IsFeatured { get; set; }
public int FeaturedDisplayOrder { get; set; }
}
}