2023-04-05 21:47:56 +04:00
|
|
|
|
using ComputerStoreDataModels.Models;
|
2023-04-05 21:24:46 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2023-04-05 21:47:56 +04:00
|
|
|
|
using System.ComponentModel;
|
2023-04-05 21:24:46 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-04-05 21:47:56 +04:00
|
|
|
|
namespace ComputerStoreContracts.ViewModels
|
2023-04-05 21:24:46 +04:00
|
|
|
|
{
|
2023-04-05 21:47:56 +04:00
|
|
|
|
public class EmployeeViewModel : IEmployeeModel
|
2023-04-05 21:24:46 +04:00
|
|
|
|
{
|
|
|
|
|
public int ID { get; set; }
|
2023-04-05 21:47:56 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Employee's login")]
|
2023-04-05 21:24:46 +04:00
|
|
|
|
public string Username { get; set; } = string.Empty;
|
2023-04-05 21:47:56 +04:00
|
|
|
|
|
2023-04-05 21:24:46 +04:00
|
|
|
|
public string Password { get; set; } = string.Empty;
|
2023-04-05 21:47:56 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Employee's first name")]
|
2023-04-05 22:13:48 +04:00
|
|
|
|
public string? FirstName { get; set; } = string.Empty;
|
2023-04-05 21:47:56 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Employee's last name")]
|
2023-04-05 22:13:48 +04:00
|
|
|
|
public string? LastName { get; set; } = string.Empty;
|
2023-04-05 21:47:56 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Employee's middle name")]
|
2023-04-05 22:13:48 +04:00
|
|
|
|
public string? MiddleName { get; set; } = string.Empty;
|
2023-04-05 21:47:56 +04:00
|
|
|
|
|
|
|
|
|
|
2023-04-05 21:24:46 +04:00
|
|
|
|
}
|
|
|
|
|
}
|