2024-05-11 02:30:02 +04:00
|
|
|
|
using FurnitureAssemblyDataModels.Enums;
|
|
|
|
|
using System;
|
2024-02-26 10:12:21 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureAssemblyContracts.SearchModels
|
|
|
|
|
{
|
|
|
|
|
// Для поиска сущности "Заказ"
|
|
|
|
|
public class OrderSearchModel
|
|
|
|
|
{
|
|
|
|
|
// для поиска по идентификатору
|
|
|
|
|
public int? Id { get; set; }
|
2024-04-08 14:11:47 +04:00
|
|
|
|
|
2024-05-10 22:00:13 +04:00
|
|
|
|
// для поиска по клиенту
|
|
|
|
|
public int? ClientId { get; set; }
|
2024-05-11 23:29:29 +04:00
|
|
|
|
|
2024-05-12 00:27:31 +04:00
|
|
|
|
// Для поиска по исполнителю
|
2024-05-11 23:19:22 +04:00
|
|
|
|
public int? ImplementerId { get; set; }
|
2024-05-11 23:29:29 +04:00
|
|
|
|
|
2024-05-12 00:27:31 +04:00
|
|
|
|
// Два поля для возможности производить выборку
|
2024-05-11 23:19:22 +04:00
|
|
|
|
public DateTime? DateFrom { get; set; }
|
2024-04-08 14:11:47 +04:00
|
|
|
|
|
2024-05-11 23:29:29 +04:00
|
|
|
|
public DateTime? DateTo { get; set; }
|
2024-05-11 02:30:02 +04:00
|
|
|
|
|
2024-05-12 00:27:31 +04:00
|
|
|
|
// Для статуса заказа
|
2024-05-11 02:30:02 +04:00
|
|
|
|
public OrderStatus? Status { get; set; }
|
2024-02-26 10:12:21 +04:00
|
|
|
|
}
|
|
|
|
|
}
|