PIbd-21_MasenkinMS_Aircraft.../AircraftPlant/AircraftPlantContracts/ViewModels/ClientViewModel.cs

44 lines
1.2 KiB
C#
Raw Normal View History

2024-05-13 02:01:32 +04:00
using AircraftPlantContracts.Attributes;
using AircraftPlantDataModels.Models;
2024-04-07 00:02:29 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.ViewModels
{
/// <summary>
/// Модель для передачи данных пользователю
/// для отображения для клиентов
/// </summary>
public class ClientViewModel : IClientModel
{
/// <summary>
/// Идентификатор
/// </summary>
2024-05-13 02:01:32 +04:00
[Column(visible: false)]
2024-04-07 00:02:29 +04:00
public int Id { get; set; }
2024-05-13 02:01:32 +04:00
/// <summary>
/// ФИО клиента
/// </summary>
[Column(title: "ФИО клиента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string ClientFIO { get; set; } = string.Empty;
2024-04-07 00:02:29 +04:00
2024-05-13 02:01:32 +04:00
/// <summary>
/// Логин (электронная почта)
/// </summary>
[Column(title: "Логин (эл. почта)", width: 150)]
public string Email { get; set; } = string.Empty;
2024-04-07 00:02:29 +04:00
2024-05-13 02:01:32 +04:00
/// <summary>
/// Пароль
/// </summary>
[Column(title: "Пароль", width: 150)]
public string Password { get; set; } = string.Empty;
2024-04-07 00:02:29 +04:00
}
}