sonderangebot artikel
This commit is contained in:
@@ -33,9 +33,6 @@ namespace Webshop.Domain.Entities
|
||||
public decimal? Height { get; set; }
|
||||
public decimal? Length { get; set; }
|
||||
|
||||
// << ENTFERNT: ImageUrl wird durch Images ersetzt >>
|
||||
// public string? ImageUrl { get; set; }
|
||||
|
||||
[Required, MaxLength(255)]
|
||||
public string Slug { get; set; } = string.Empty;
|
||||
[Required]
|
||||
@@ -45,13 +42,16 @@ namespace Webshop.Domain.Entities
|
||||
public Guid? SupplierId { get; set; }
|
||||
public decimal? PurchasePrice { get; set; }
|
||||
|
||||
// << NEUE EIGENSCHAFTEN FÜR SONDERANGEBOTE >>
|
||||
public bool IsFeatured { get; set; } = false;
|
||||
public int FeaturedDisplayOrder { get; set; } = 0;
|
||||
// << ENDE NEUE EIGENSCHAFTEN >>
|
||||
|
||||
public virtual Supplier? Supplier { get; set; }
|
||||
public virtual ICollection<ProductVariant> Variants { get; set; } = new List<ProductVariant>();
|
||||
public virtual ICollection<Review> Reviews { get; set; } = new List<Review>();
|
||||
public virtual ICollection<ProductDiscount> ProductDiscounts { get; set; } = new List<ProductDiscount>();
|
||||
public virtual ICollection<Productcategorie> Productcategories { get; set; } = new List<Productcategorie>();
|
||||
|
||||
// << NEU: Navigation Property zu Bildern >>
|
||||
public virtual ICollection<ProductImage> Images { get; set; } = new List<ProductImage>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user