PIbd-22_Chernyshev_Shabunov.../ComputerShopContracts/BindingModels/ShipmentBindingModel.cs

23 lines
529 B
C#
Raw Normal View History

using ComputerShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopContracts.BindingModels
{
public class ShipmentBindingModel : IShipmentModel
{
public int Id { get; set; }
public int UserId { get; set; }
public string ProviderName { get; set; } = string.Empty;
public DateTime DateShipment { get; set; } = DateTime.Now;
public Dictionary<int, IOrderModel> ShipmentOrders { get; set; } = new();
}
}