PIbd-22_Karamushko_M_K_Pizz.../Pizzeria/PizzeriaContracts/ViewModels/ClientViewModel.cs
2023-05-05 00:09:30 +04:00

20 lines
667 B
C#

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