update search and products
This commit is contained in:
@@ -24,6 +24,8 @@ public class Product {
|
||||
public string Description { get; set; } = "Lorem Ipsum.";
|
||||
[Required, Range(0.01, (double)decimal.MaxValue)] // Range qui prend pas les decimals!
|
||||
public decimal Price { get; set; } = 0;
|
||||
[Required, Range(0.00, (double)decimal.MaxValue)]
|
||||
public decimal PromoPrice { get; set; } = 0;
|
||||
public uint Quantity { get; set; } = 0;
|
||||
public States Status { get; set; } = States.Available;
|
||||
public string? ImageName { get; set; } // Base pour sortir les images ({ImageName}.jpg , {ImageName}_thumbnail.jpg, etc...)
|
||||
|
Reference in New Issue
Block a user