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

22 lines
646 B
C#
Raw Normal View History

using BookShopDataModels.Models;
2023-05-13 14:30:05 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;
}
}