sonderangebot artikel
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user