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

20 lines
503 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 Dictionary<int, ITourModel> ExcursionTours { get; set; } = new();
}
}