SUBD_Labs/BeauySalonContracts/ViewModels/VisitViewModel.cs

24 lines
817 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 MasterId { get; set; }
[DisplayName("Мастер")]
public string MasterFIO { get; set; } = string.Empty;
public int ServiceId { get; set; }
[DisplayName("Услуга")]
public string ServiceName { get; set; } = string.Empty;
[DisplayName("Сумма")]
public double Sum { get; set; }
}
}