SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDataModels/Views/ClientView.cs
2024-05-03 10:59:33 +04:00

29 lines
731 B
C#

using CarShowroomDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomContracts.Dtos
{
public class ClientView : IClient
{
public int Id { get; set; }
[DisplayName("ФИО")]
public string Name { get; set; }
[DisplayName("Email")]
public string Email { get; set; }
[DisplayName("Пароль")]
public string Password { get; set; }
public ClientView(IClient model)
{
Id = model.Id;
Name = model.Name;
Email = model.Email;
Password = model.Password;
}
}
}