24 lines
537 B
C#
24 lines
537 B
C#
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;
|
|
}
|
|
}
|