44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using AircraftPlantContracts.Attributes;
|
|
using AircraftPlantDataModels.Models;
|
|
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>
|
|
[Column(visible: false)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// ФИО клиента
|
|
/// </summary>
|
|
[Column(title: "ФИО клиента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
|
|
public string ClientFIO { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Логин (электронная почта)
|
|
/// </summary>
|
|
[Column(title: "Логин (эл. почта)", width: 150)]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Пароль
|
|
/// </summary>
|
|
[Column(title: "Пароль", width: 150)]
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
}
|
|
}
|