test bilder upload
All checks were successful
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Successful in 25s
All checks were successful
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Successful in 25s
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Webshop.Application.Services.Public
|
|||||||
{
|
{
|
||||||
Id = product.Id,
|
Id = product.Id,
|
||||||
Name = product.Name,
|
Name = product.Name,
|
||||||
Description = useShortDescription ? product.ShortDescription : product.Description,
|
Description = product.Description,
|
||||||
Price = product.Price,
|
Price = product.Price,
|
||||||
OldPrice = product.OldPrice,
|
OldPrice = product.OldPrice,
|
||||||
SKU = product.SKU,
|
SKU = product.SKU,
|
||||||
|
|||||||
@@ -65,9 +65,7 @@ namespace Webshop.Infrastructure.Data
|
|||||||
e.Property(p => p.OldPrice).HasPrecision(18, 2);
|
e.Property(p => p.OldPrice).HasPrecision(18, 2);
|
||||||
e.Property(p => p.PurchasePrice).HasPrecision(18, 2);
|
e.Property(p => p.PurchasePrice).HasPrecision(18, 2);
|
||||||
e.Property(p => p.Weight).HasPrecision(18, 3);
|
e.Property(p => p.Weight).HasPrecision(18, 3);
|
||||||
e.Property(p => p.Width).HasPrecision(18, 2);
|
|
||||||
e.Property(p => p.Height).HasPrecision(18, 2);
|
|
||||||
e.Property(p => p.Length).HasPrecision(18, 2);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity<ProductImage>(entity =>
|
modelBuilder.Entity<ProductImage>(entity =>
|
||||||
|
|||||||
Reference in New Issue
Block a user