PIbd22_Kuznetsov_A.V._Sewin.../SewingDresses/SewingDressesContracts/ViewModels/ClientViewModel.cs

19 lines
681 B
C#

using System.ComponentModel;
using SewingDressesContracts.Attributes;
using SewingDressesDataModels.Models;
namespace SewingDressesContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
[Column(visible:false)]
public int Id { get; set; }
[Column(title: "Имя клиента", width: 150)]
public string ClientFIO { get; set; } = string.Empty;
[Column(title: "Почта", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string Email { get; set; } = string.Empty;
[Column(title:"Пароль", width: 150)]
public string Password { get; set; } = string.Empty;
}
}