2023-06-01 10:26:44 +04:00
|
|
|
|
using AbstractFoodOrdersContracts.Attributes;
|
|
|
|
|
using AbstractFoodOrdersDataModels.Models;
|
2023-04-27 23:54:56 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AbstractFoodOrdersContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class ClientViewModel:IClientModel
|
|
|
|
|
{
|
2023-06-01 10:26:44 +04:00
|
|
|
|
[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: 200)]
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
|
[Column(title: "Пароль", width: 150)]
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
2023-04-27 23:54:56 +04:00
|
|
|
|
|
2023-06-01 10:26:44 +04:00
|
|
|
|
}
|
2023-04-27 23:54:56 +04:00
|
|
|
|
}
|