2024-05-17 13:28:57 +04:00
|
|
|
|
using GiftShopContracts.Attributes;
|
|
|
|
|
using GiftShopDataModels.Models;
|
2024-04-09 17:02:29 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace GiftShopContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class ClientViewModel : IClientModel
|
|
|
|
|
{
|
2024-05-17 13:28:57 +04:00
|
|
|
|
[Column(visible: false)]
|
|
|
|
|
public int Id { get; set; }
|
2024-04-09 17:02:29 +04:00
|
|
|
|
|
2024-05-17 13:28:57 +04:00
|
|
|
|
[Column("ФИО клиента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
|
|
|
|
|
public string ClientFIO { get; set; } = string.Empty;
|
2024-04-09 17:02:29 +04:00
|
|
|
|
|
2024-05-17 13:28:57 +04:00
|
|
|
|
[Column("Логин (эл. почта)", width: 150)]
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
2024-04-09 17:02:29 +04:00
|
|
|
|
|
2024-05-17 13:28:57 +04:00
|
|
|
|
[Column("Пароль", width: 150)]
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
2024-04-09 17:02:29 +04:00
|
|
|
|
}
|
|
|
|
|
}
|