2024-02-21 01:42:28 +04:00
|
|
|
|
using AircraftPlantDataModels.Enums;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AircraftPlantDataModels.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Интерфейс для модели заказа
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IOrderModel : IId
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор изделия
|
|
|
|
|
/// </summary>
|
|
|
|
|
int PlaneId { get; }
|
|
|
|
|
|
2024-04-07 00:02:29 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор клиента
|
|
|
|
|
/// </summary>
|
|
|
|
|
int ClientId { get; }
|
|
|
|
|
|
2024-04-20 22:35:38 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор исполнителя
|
|
|
|
|
/// </summary>
|
|
|
|
|
int? ImplementerId { get; }
|
|
|
|
|
|
2024-02-21 01:42:28 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Количество изделий
|
|
|
|
|
/// </summary>
|
|
|
|
|
int Count { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сумма заказа
|
|
|
|
|
/// </summary>
|
|
|
|
|
double Sum { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Статус заказа
|
|
|
|
|
/// </summary>
|
|
|
|
|
OrderStatus Status { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата создания заказа
|
|
|
|
|
/// </summary>
|
|
|
|
|
DateTime DateCreate { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата выполнения заказа
|
|
|
|
|
/// </summary>
|
|
|
|
|
DateTime? DateImplement { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|