ISEbd-21.Gordeev.I.V.SushiB.../SushiBar/SushiBarContracts/ViewModels/ClientViewModel.cs

29 lines
800 B
C#
Raw Normal View History

using SushiBarContracts.Attributes;
using SushiBarDataModels;
2024-05-01 10:50:16 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
[Column(visible: false)]
2024-05-01 10:50:16 +04:00
public int Id { get; set; }
[Column(title: "ФИО клиента", width: 150)]
2024-05-01 10:50:16 +04:00
public string ClientFIO { get; set; } = string.Empty;
[Column(title: "Логин (эл.почта)", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2024-05-01 10:50:16 +04:00
public string Email { get; set; } = string.Empty;
[Column(title: "Пароль", width: 150)]
2024-05-01 10:50:16 +04:00
public string Password { get; set; } = string.Empty;
}
}