SUBD_Labs/BeauySalonContracts/ViewModels/VisitViewModel.cs

21 lines
675 B
C#
Raw Normal View History

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