PIbd-21_Anisin_R.S._CarRepa.../CarRepairShop/CarRepairShopContracts/ViewModels/ClientViewModel.cs

21 lines
708 B
C#
Raw Normal View History

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