add defaults, still todo
This commit is contained in:
@@ -10,10 +10,10 @@ public class OrderItem : EntityBase
|
|||||||
public int Quantity { get; set; }
|
public int Quantity { get; set; }
|
||||||
public decimal UnitPrice { get; set; }
|
public decimal UnitPrice { get; set; }
|
||||||
public decimal TotalPrice { get; set; }
|
public decimal TotalPrice { get; set; }
|
||||||
public string CustomizationImageUrl { get; set; }
|
public string CustomizationImageUrl { get; set; } = default!;
|
||||||
public string CustomizationDescription { get; set; }
|
public string CustomizationDescription { get; set; } = default!;
|
||||||
|
|
||||||
public virtual Order Order { get; set; }
|
public virtual Order Order { get; set; } = default!;
|
||||||
public virtual Product.Product Product { get; set; }
|
public virtual Product.Product Product { get; set; } = default!;
|
||||||
public virtual ProductVariant ProductVariant { get; set; }
|
public virtual ProductVariant ProductVariant { get; set; } = default!;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user