20 lines
703 B
C#
Raw Normal View History

2023-03-26 22:01:47 +04:00
using SoftwareInstallationDataModels.Models;
using System.ComponentModel;
2023-04-23 16:43:54 +04:00
using SofrwareInstallationContracts.Attributes;
2023-03-26 22:01:47 +04:00
namespace SofrwareInstallationContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
2023-04-23 16:43:54 +04:00
[Column(visible: false)]
2023-03-26 22:01:47 +04:00
public int Id { get; set; }
2023-04-23 16:43:54 +04:00
[Column("ФИО клиента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2023-03-26 22:01:47 +04:00
public string ClientFIO { get; set; } = string.Empty;
2023-04-23 16:43:54 +04:00
[Column("Логин (эл. почта)", width: 150)]
2023-03-26 22:01:47 +04:00
public string Email { get; set; } = string.Empty;
2023-04-23 16:43:54 +04:00
[Column("Пароль", width: 150)]
2023-03-26 22:01:47 +04:00
public string Password { get; set; } = string.Empty;
}
}