PIbd-22_Rogashova_E.A._SUBD/BookShopContracts/BindingModels/OrderBindingModel.cs

22 lines
646 B
C#
Raw Normal View History

using BookShopDataModels.Models;
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;
}
}