SUBD_Labs/BeauySalonContracts/ViewModels/VisitViewModel.cs

21 lines
675 B
C#

using BeautySalonDataModels.Models;
using System.ComponentModel;
namespace BeautySalonContracts.ViewModels
{
public class VisitViewModel : IVisitModel
{
public int Id { get; set; }
[DisplayName("Дата посещения")]
public DateTime DateOfVisit { get; set; }
public int ClientId { get; set; }
[DisplayName("Клиент")]
public string ClientFIO { get; set; } = string.Empty;
public int ServiceId { get; set; }
[DisplayName("Услуга")]
public string ServiceName { get; set; } = string.Empty;
[DisplayName("Сумма")]
public double Sum { get; set; }
}
}