19 lines
531 B
C#
19 lines
531 B
C#
using CarServiceContracts.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace CarServiceContracts.ViewModels
|
|
{
|
|
public class CustomerViewModel : ICustomerModel
|
|
{
|
|
public int Id { get; set; }
|
|
[DisplayName("Логин")]
|
|
public string Login { get; set; } = string.Empty;
|
|
[DisplayName("Пароль")]
|
|
public string Password { get; set; } = string.Empty;
|
|
[DisplayName("Имя")]
|
|
public string Name { get; set; } = string.Empty;
|
|
[DisplayName("Фамилия")]
|
|
public string Surname { get; set; } = string.Empty;
|
|
}
|
|
}
|