2024-02-27 23:28:34 +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-05-05 23:57:12 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Идентификатор клиента
|
|
|
|
|
/// </summary>
|
|
|
|
|
int ClientId { get; }
|
|
|
|
|
|
2024-02-27 23:28:34 +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; }
|
|
|
|
|
}
|
|
|
|
|
}
|