PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyContracts/ViewModels/TripViewModel.cs
2024-05-28 18:32:51 +04:00

21 lines
546 B
C#

using System.ComponentModel;
using TravelAgencyDataModels.Models;
namespace TravelAgencyContracts.ViewModels
{
public class TripViewModel : ITripModel
{
public int Id { get; set; }
[DisplayName("Название поездки")]
public string TripName { get; set; } = string.Empty;
[DisplayName("Дата поездки")]
public DateTime TripDate { get; set; }
public int GuideId { get; set; }
public Dictionary<int, IPlaceModel> TripPlaces { get; set; } = new();
}
}