Add search models

This commit is contained in:
ShabOl 2024-05-15 21:22:01 +04:00
parent 822b5218a4
commit c11d13384a
7 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,9 @@
namespace SushiBarContracts.SearchModels
{
public class ChequeSearchModel
{
public int? CustomerId { get; set; }
public DateTime? OrderDate { get; set; }
}
}

View File

@ -0,0 +1,7 @@
namespace SushiBarContracts.SearchModels
{
public class CookSearchModel
{
public DateTime? EmploymentDate { get; set; }
}
}

View File

@ -0,0 +1,7 @@
namespace SushiBarContracts.SearchModels
{
public class CustomerSearchModel
{
public double? SumOfAllOrders { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace SushiBarContracts.SearchModels
{
public class DishSearchModel
{
public string? DishName { get; set; }
public string? Category { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace SushiBarContracts.SearchModels
{
public class IngredientSearchModel
{
public string? IngredientName { get; set; }
public double? Cost { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace SushiBarContracts.SearchModels
{
public class PromotionSearchModel
{
public float? Discount { get; set; }
public double? TriggeringSum { get; set; }
}
}

View File

@ -8,7 +8,6 @@
<ItemGroup> <ItemGroup>
<Folder Include="BindingModels\" /> <Folder Include="BindingModels\" />
<Folder Include="SearchModels\" />
</ItemGroup> </ItemGroup>
</Project> </Project>