ISEbd-21_Melnikov_I.O._CarS.../CarService/CarServiceContracts/ViewModels/WorkerViewModel.cs

19 lines
527 B
C#

using CarServiceContracts.Models;
using System.ComponentModel;
namespace CarServiceContracts.ViewModels
{
public class WorkerViewModel : IWorkerModel
{
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;
}
}