2024-04-27 23:49:22 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using TravelAgencyDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace TravelAgencyContracts.ViewModels
|
|
|
|
|
{
|
2024-05-28 18:32:51 +04:00
|
|
|
|
public class TripViewModel : ITripModel
|
2024-04-27 23:49:22 +04:00
|
|
|
|
{
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|