PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyContracts/ViewModels/TourViewModel.cs
2024-04-28 23:08:12 +04:00

24 lines
601 B
C#

using System.ComponentModel;
namespace TravelAgencyContracts.ViewModels
{
public class TourViewModel
{
public int Id { get; set; }
[DisplayName("Название тура")]
public string TourName { get; set; } = string.Empty;
[DisplayName("Описание тура")]
public string TourDescription { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
[DisplayName("Дата тура")]
public DateTime TourDate { get; set; }
public int UserId { get; set; }
}
}