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

19 lines
681 B
C#
Raw Permalink Normal View History

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