PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/ViewModels/ClientViewModel.cs

18 lines
676 B
C#
Raw Normal View History

2024-04-24 15:03:13 +04:00
using ConfectioneryDataModels.Models;
2024-05-22 14:38:56 +04:00
using ConfectioneryContracts.Attributes;
2024-04-24 15:03:13 +04:00
namespace ConfectioneryContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
2024-05-22 14:38:56 +04:00
[Column(visible: false)]
2024-04-24 15:03:13 +04:00
public int Id { get; set; }
2024-05-22 14:38:56 +04:00
[Column(title: "ФИО клиента", width: 250)]
2024-04-24 15:03:13 +04:00
public string ClientFIO { get; set; } = string.Empty;
2024-05-22 14:38:56 +04:00
[Column(title: "Email клиента", gridViewAutoSize:
GridViewAutoSize.Fill, isUseAutoSize: true)]
2024-04-24 15:03:13 +04:00
public string Email { get; set; } = string.Empty;
2024-05-22 14:38:56 +04:00
[Column(title: "Пароль", width: 150)]
2024-04-24 15:03:13 +04:00
public string Password { get; set; } = string.Empty;
}
}