SearchModel Работник
This commit is contained in:
parent
cae87564d4
commit
7aa8ee51c1
@ -0,0 +1,12 @@
|
||||
using FoodOrdersDataModels.Models;
|
||||
using HardwareShopDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class BuildSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public string? BuildName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using FoodOrdersDataModels.Models;
|
||||
using HardwareShopDataModels.Enums;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class ClientViewModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public string? Login { get; set; } = string.Empty;
|
||||
|
||||
public string? Email { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using FoodOrdersDataModels.Models;
|
||||
using HardwareShopDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class CommentSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
using HardwareShopDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class ComponentSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using FoodOrdersDataModels.Enums;
|
||||
using HardwareShopDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class GoodViewModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using FoodOrdersDataModels.Enums;
|
||||
using FoodOrdersDataModels.Models;
|
||||
using HardwareShopDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class OrderSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using FoodOrdersDataModels.Enums;
|
||||
using FoodOrdersDataModels.Models;
|
||||
using HardwareShopDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
namespace FoodOrdersContracts.SearchModels
|
||||
{
|
||||
public class PurachaseViewModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
||||
}
|
@ -3,7 +3,7 @@ using HardwareShopDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
namespace FoodOrdersContracts.ViewModels
|
||||
{
|
||||
public class BuildViewModel : IBuildModel
|
||||
public class BuildSearchModel : IBuildModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
|
@ -4,7 +4,7 @@ using System.ComponentModel;
|
||||
|
||||
namespace FoodOrdersContracts.ViewModels
|
||||
{
|
||||
public class CommentViewModel : ICommentModel
|
||||
public class CommentSearchModel : ICommentModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace FoodOrdersContracts.ViewModels
|
||||
{
|
||||
public class ComponentViewModel : IComponentModel
|
||||
public class ComponentSearchModel : IComponentModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ using HardwareShopDataModels.Models;
|
||||
using System.ComponentModel;
|
||||
namespace FoodOrdersContracts.ViewModels
|
||||
{
|
||||
public class OrderViewModel : IOrderModel
|
||||
public class OrderSearchModel : IOrderModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
|
@ -3,9 +3,7 @@
|
||||
public enum PurchaseStatus
|
||||
{
|
||||
Неизвестен = -1,
|
||||
Принят = 0,
|
||||
Выполняется = 1,
|
||||
Готов = 2,
|
||||
Выдан = 3
|
||||
Выполняется = 0,
|
||||
Выдан = 1
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user