PIbd-22_Smirnov_A.A._Securi.../SecuritySystem/SecuritySystemContracts/ViewModels/ClientViewModel.cs

28 lines
768 B
C#
Raw Normal View History

2024-06-22 10:36:54 +04:00
using SecuritySystemContracts.Attributes;
using SecuritySystemDataModels.Models;
2024-05-08 08:03:51 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecuritySystemContracts.ViewModels
{
2024-06-22 10:36:54 +04:00
public class ClientViewModel : IClientModel
{
[Column(visible: false)]
public int Id { get; set; }
2024-05-08 08:03:51 +04:00
2024-06-22 10:36:54 +04:00
[Column(title: "ФИО клиента", width: 150)]
public string ClientFIO { get; set; } = string.Empty;
2024-05-08 08:03:51 +04:00
2024-06-22 10:36:54 +04:00
[Column(title: "Логие (эл. почта)", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string Email { get; set; } = string.Empty;
2024-05-08 08:03:51 +04:00
2024-06-22 10:36:54 +04:00
[Column(title: "Пароль", width: 150)]
public string Password { get; set; } = string.Empty;
2024-05-08 08:03:51 +04:00
2024-06-22 10:36:54 +04:00
}
2024-05-08 08:03:51 +04:00
}