PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyContracts/ViewModels/TripViewModel.cs
2024-04-27 23:49:22 +04:00

21 lines
533 B
C#

using System.ComponentModel;
using TravelAgencyDataModels.Models;
namespace TravelAgencyContracts.ViewModels
{
public class TripViewModel
{
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();
}
}