2024-04-28 21:24:09 +04:00

39 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelAgencyDataModels.Enums;
using TravelAgencyDataModels.Models;
namespace TravelAgencyCompanyContracts.ViewModel
{
public class TourViewModel:ITourModel
{
public int Id { get; set; }
public int CustomerId { get; set; }
public int HotelId { get; set; }
public int TransportId { get; set; }
public int InsuranceId { get; set; }
[DisplayName("Пункт отправления")]
public string FromPlace { get; set; } = string.Empty;
[DisplayName("Пункт прибытия")]
public string ToPlace { get; set; } = string.Empty;
[DisplayName("Количество ночей")]
public int CountNight { get; set; }
[DisplayName("Статус")]
public StructureStatus Status { get; set; } = StructureStatus.Неизвестен;
[DisplayName("Дата начала работ")]
public DateTime DepartureDate { get; set; } = DateTime.Now;
[DisplayName("Дата окончания работ")]
public DateTime? ArrivalDate { get; set; }
}
}