PIbd-23_Sergunov_M.A._SUBD/BookShop/BookShopContracts/BindingModels/OrderBindingModel.cs

24 lines
537 B
C#
Raw Normal View History

using BookShopDataModels.Models;
namespace BookShopContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int BookId { get; set; }
public string BookName { get; set; } = string.Empty;
public int ClientId { get; set; }
public string ClientName { get; set; } = string.Empty;
public int Count { get; set; }
public double Sum { get; set; }
public DateTime DateCreate { get; set; } = DateTime.Now;
}
}