PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyContracts/BindingModels/ExcursionBindingModel.cs

22 lines
545 B
C#

using TravelAgencyDataModels.Models;
namespace TravelAgencyContracts.BindingModels
{
public class ExcursionBindingModel : IExcursionModel
{
public int Id { get; set; }
public string ExcursionName { get; set; } = string.Empty;
public string ExcursionDescription { get; set; } = string.Empty;
public double Price { get; set; }
public int UserId { get; set; }
public int PlaceId { get; set; }
public Dictionary<int, ITourModel> ExcursionTours { get; set; } = new();
}
}