PIbd-22_Chernyshev_Shabunov.../ComputerShopDataModels/Models/IOrderModel.cs

31 lines
641 B
C#

using ComputerShopDataModels.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopDataModels.Models
{
public interface IOrderModel : IId
{
//ID пользователя, который создал заказ
int UserId { get; }
/// <summary>
/// Дата оформления заказа
/// </summary>
DateTime DateCreate { get; }
/// <summary>
/// Статус заказа
/// </summary>
OrderStatus Status { get; }
/// <summary>
/// Стоимость заказа
/// </summary>
double Sum { get; }
}
}