PIbd-21_Anisin_R.S._CarRepa.../CarRepairShop/CarRepairShopContracts/ViewModels/ClientViewModel.cs
2024-05-17 00:53:12 +04:00

21 lines
708 B
C#

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