Pibd-22_Presnyakova.V.V_Jew.../JewelryStoreContracts/ViewModels/ClientViewModel.cs

24 lines
746 B
C#
Raw Normal View History

2023-05-02 14:50:43 +04:00
using JewelryStoreContracts.Attributes;
using JewelryStoreDataModels.Models;
2023-04-01 20:05:57 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JewelryStoreContracts.ViewModels
{
public class ClientViewModel : IClientModel
{
2023-05-02 14:50:43 +04:00
[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;
2023-04-01 20:05:57 +04:00
}
}