Product-enhancements-and-validation-fixes

This commit is contained in:
sysadmin
2025-09-01 08:03:00 +01:00
parent c8a55c143b
commit ee4a5c3578
12 changed files with 340 additions and 211 deletions

View File

@@ -80,6 +80,7 @@ public class DataSeederService : IDataSeederService
Price = 89.99m,
Weight = 250,
WeightUnit = ProductWeightUnit.Grams,
StockQuantity = 10,
CategoryId = categories[0].Id,
IsActive = true,
CreatedAt = DateTime.UtcNow,
@@ -93,6 +94,7 @@ public class DataSeederService : IDataSeederService
Price = 19.99m,
Weight = 50,
WeightUnit = ProductWeightUnit.Grams,
StockQuantity = 10,
CategoryId = categories[0].Id,
IsActive = true,
CreatedAt = DateTime.UtcNow,
@@ -106,6 +108,7 @@ public class DataSeederService : IDataSeederService
Price = 24.99m,
Weight = 200,
WeightUnit = ProductWeightUnit.Grams,
StockQuantity = 15,
CategoryId = categories[1].Id,
IsActive = true,
CreatedAt = DateTime.UtcNow,
@@ -119,6 +122,7 @@ public class DataSeederService : IDataSeederService
Price = 59.99m,
Weight = 500,
WeightUnit = ProductWeightUnit.Grams,
StockQuantity = 15,
CategoryId = categories[1].Id,
IsActive = true,
CreatedAt = DateTime.UtcNow,
@@ -132,6 +136,7 @@ public class DataSeederService : IDataSeederService
Price = 34.99m,
Weight = 800,
WeightUnit = ProductWeightUnit.Grams,
StockQuantity = 25,
CategoryId = categories[2].Id,
IsActive = true,
CreatedAt = DateTime.UtcNow,