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

22 lines
545 B
C#
Raw Normal View History

2024-04-27 23:49:22 +04:00
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; }
2024-04-27 23:49:22 +04:00
public Dictionary<int, ITourModel> ExcursionTours { get; set; } = new();
}
}