PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyContracts/ViewModels/ClientViewModel.cs

20 lines
703 B
C#
Raw Normal View History

2024-04-18 16:34:54 +04:00
using TravelCompanyDataModels.Models;
using System.ComponentModel;
2024-05-18 14:59:42 +04:00
using TravelCompanyContracts.Attributes;
2024-04-18 16:34:54 +04:00
namespace TravelCompanyContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
2024-05-18 14:59:42 +04:00
[Column(visible: false)]
2024-04-18 16:34:54 +04:00
public int Id { get; set; }
2024-05-18 14:59:42 +04:00
[Column(title: "ФИО клиента", width: 150)]
2024-04-18 16:34:54 +04:00
public string ClientFIO { get; set; } = string.Empty;
2024-05-18 14:59:42 +04:00
[Column(title: "Логин (эл. почта)", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2024-04-18 16:34:54 +04:00
public string Email { get; set; } = string.Empty;
2024-05-18 14:59:42 +04:00
[Column(title: "Пароль", width: 150)]
2024-04-18 16:34:54 +04:00
public string Password { get; set; } = string.Empty;
}
}