21 lines
640 B
C#
21 lines
640 B
C#
using FlowerShopContracts.Attributes;
|
|
using FlowerShopDataModels.Models;
|
|
|
|
namespace FlowerShopContracts.ViewModels
|
|
{
|
|
public class ClientViewModel : IClientModel
|
|
{
|
|
[Column(visible: false)]
|
|
public int Id { get; set; }
|
|
|
|
[Column("ФИО клиента", width: 150)]
|
|
public string ClientFIO { get; set; } = string.Empty;
|
|
|
|
[Column("Логин (почта)", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[Column("Пароль", width: 150)]
|
|
public string Password { get; set; } = string.Empty;
|
|
}
|
|
}
|