27 lines
646 B
C#
27 lines
646 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 CarShowroomDataModels.Views
|
|
{
|
|
public class ClientView : IClient
|
|
{
|
|
public int Id { get; set; }
|
|
[DisplayName("ФИО")]
|
|
public string Name { get; set; }
|
|
[DisplayName("Email")]
|
|
public string PhoneNumber { get; set; }
|
|
public ClientView(IClient model)
|
|
{
|
|
Id = model.Id;
|
|
Name = model.Name;
|
|
PhoneNumber = model.PhoneNumber;
|
|
}
|
|
public ClientView() { }
|
|
}
|
|
}
|