Add search models
This commit is contained in:
parent
822b5218a4
commit
c11d13384a
9
SushiBarContracts/SearchModels/ChequeSearchModel.cs
Normal file
9
SushiBarContracts/SearchModels/ChequeSearchModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace SushiBarContracts.SearchModels
|
||||
{
|
||||
public class ChequeSearchModel
|
||||
{
|
||||
public int? CustomerId { get; set; }
|
||||
|
||||
public DateTime? OrderDate { get; set; }
|
||||
}
|
||||
}
|
7
SushiBarContracts/SearchModels/CookSearchModel.cs
Normal file
7
SushiBarContracts/SearchModels/CookSearchModel.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace SushiBarContracts.SearchModels
|
||||
{
|
||||
public class CookSearchModel
|
||||
{
|
||||
public DateTime? EmploymentDate { get; set; }
|
||||
}
|
||||
}
|
7
SushiBarContracts/SearchModels/CustomerSearchModel.cs
Normal file
7
SushiBarContracts/SearchModels/CustomerSearchModel.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace SushiBarContracts.SearchModels
|
||||
{
|
||||
public class CustomerSearchModel
|
||||
{
|
||||
public double? SumOfAllOrders { get; set; }
|
||||
}
|
||||
}
|
9
SushiBarContracts/SearchModels/DishSearchModel.cs
Normal file
9
SushiBarContracts/SearchModels/DishSearchModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace SushiBarContracts.SearchModels
|
||||
{
|
||||
public class DishSearchModel
|
||||
{
|
||||
public string? DishName { get; set; }
|
||||
|
||||
public string? Category { get; set; }
|
||||
}
|
||||
}
|
9
SushiBarContracts/SearchModels/IngredientSearchModel.cs
Normal file
9
SushiBarContracts/SearchModels/IngredientSearchModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace SushiBarContracts.SearchModels
|
||||
{
|
||||
public class IngredientSearchModel
|
||||
{
|
||||
public string? IngredientName { get; set; }
|
||||
|
||||
public double? Cost { get; set; }
|
||||
}
|
||||
}
|
9
SushiBarContracts/SearchModels/PromotionSearchModel.cs
Normal file
9
SushiBarContracts/SearchModels/PromotionSearchModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace SushiBarContracts.SearchModels
|
||||
{
|
||||
public class PromotionSearchModel
|
||||
{
|
||||
public float? Discount { get; set; }
|
||||
|
||||
public double? TriggeringSum { get; set; }
|
||||
}
|
||||
}
|
@ -8,7 +8,6 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="BindingModels\" />
|
||||
<Folder Include="SearchModels\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user