20 lines
613 B
C#
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();
|
|
}
|
|
}
|