PIbd-22_Puchkina_A.A_Travel.../TravelCompany/TravelCompanyContracts/BindingModels/ShopBindingModel.cs
2024-05-21 20:49:58 +04:00

20 lines
613 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelCompanyDataModels.Models;
namespace TravelCompanyContracts.BindingModels
{
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }
public string ShopName { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public DateTime OpeningDate { get; set; } = DateTime.Now;
public int TravelsMaximum{ get; set; }
public Dictionary<int, (ITravelModel, int)> ShopTravels { get; set; } = new();
}
}