PIbd-22_Smirnov_A.A._Securi.../SecuritySystem/SecuritySystemContracts/BindingModels/OrderBindingModel.cs

28 lines
731 B
C#
Raw Normal View History

2024-05-07 15:10:34 +04:00
using SecuritySystemDataModels.Enums;
using SecuritySystemDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecuritySystemContracts.BindingModels
{
//реализация сущности "Заказ"
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int SecureId { get; set; }
public int Count { get; set; }
public double Sum { get; set; }
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
public DateTime DateCreate { get; set; } = DateTime.Now;
public DateTime? DateImplement { get; set; }
}
}