2024-06-17 10:16:39 +04:00
|
|
|
|
using SushiBarContracts.Attributes;
|
|
|
|
|
using SushiBarDataModels.Models;
|
2024-04-28 19:54:03 +04:00
|
|
|
|
|
|
|
|
|
namespace SushiBarContracts.ViewModels
|
|
|
|
|
{
|
2024-06-17 10:16:39 +04:00
|
|
|
|
public class ClientViewModel : IClientModel
|
2024-04-28 19:54:03 +04:00
|
|
|
|
{
|
2024-06-17 10:16:39 +04:00
|
|
|
|
[Column(visible: false)]
|
|
|
|
|
public int Id { get; set; }
|
2024-06-17 22:01:18 +04:00
|
|
|
|
[Column(visible: false)]
|
2024-06-17 10:16:39 +04:00
|
|
|
|
public string ClientFIO { get; set; } = string.Empty;
|
|
|
|
|
[Column(title: "Email клиента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
|
[Column(title: "Пароль", width: 150)]
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
2024-04-28 19:54:03 +04:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|