PIbd-21_Anisin_R.S._CourseW.../TravelAgency/TravelAgencyContracts/ViewModels/TourViewModel.cs

25 lines
651 B
C#
Raw Normal View History

2024-04-27 23:49:22 +04:00
using System.ComponentModel;
2024-05-28 18:32:51 +04:00
using TravelAgencyDataModels.Models;
2024-04-27 23:49:22 +04:00
namespace TravelAgencyContracts.ViewModels
{
2024-05-28 18:32:51 +04:00
public class TourViewModel : ITourModel
2024-04-27 23:49:22 +04:00
{
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; }
2024-04-28 23:08:12 +04:00
[DisplayName("Дата тура")]
public DateTime TourDate { get; set; }
2024-04-27 23:49:22 +04:00
public int UserId { get; set; }
}
}