ISEbd_21_Kuklew_M.I._Softwa.../SoftwareInstallationContracts/ViewModels/ClientViewModel.cs

20 lines
715 B
C#
Raw Normal View History

2024-06-17 19:27:42 +04:00
using SoftwareInstallationContracts.Attributes;
using SoftwareInstallationDataModels.Models;
2024-05-11 21:16:59 +04:00
using System.ComponentModel;
2024-06-17 19:27:42 +04:00
2024-05-11 21:16:59 +04:00
namespace SoftwareInstallationContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
2024-06-17 19:27:42 +04:00
[Column(visible: false)]
2024-05-11 21:16:59 +04:00
public int Id { get; set; }
2024-06-17 19:27:42 +04:00
[Column(title: "ФИО клиента", width: 150)]
2024-05-11 21:16:59 +04:00
public string ClientFIO { get; set; } = string.Empty;
2024-06-17 19:27:42 +04:00
[Column(title: "Email клиента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2024-05-11 21:16:59 +04:00
public string Email { get; set; } = string.Empty;
2024-06-17 19:27:42 +04:00
[Column(title: "Пароль", width: 150)]
2024-05-11 21:16:59 +04:00
public string Password { get; set; } = string.Empty;
}
}