Fix: Remove Weight/WeightUnit from ProductVariant model - columns don't exist in DB
This commit is contained in:
parent
d156e04109
commit
454cd9bfd9
@ -23,10 +23,6 @@ public class ProductVariant
|
|||||||
|
|
||||||
public int StockLevel { get; set; } = 0; // Optional: track stock per variant
|
public int StockLevel { get; set; } = 0; // Optional: track stock per variant
|
||||||
|
|
||||||
public decimal? Weight { get; set; } // Optional: override product weight for this variant
|
|
||||||
|
|
||||||
public ProductWeightUnit? WeightUnit { get; set; } // Optional: override product weight unit for this variant
|
|
||||||
|
|
||||||
public decimal? Price { get; set; } // Optional: override product price for this variant (if null, uses product.Price)
|
public decimal? Price { get; set; } // Optional: override product price for this variant (if null, uses product.Price)
|
||||||
|
|
||||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user