28 lines
743 B
C#
28 lines
743 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using TaskTrackerModels.Models;
|
|
|
|
namespace TaskTrackerContracts.ViewModels
|
|
{
|
|
public class EmployeeViewModel : IEmployeeModel
|
|
{
|
|
[DisplayName("Имя сотрудника")]
|
|
public string Name { get; set; } = string.Empty;
|
|
[DisplayName("E-mail сотрудника")]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Должность сотрудника")]
|
|
public string JobTitle { get; set; } = string.Empty;
|
|
|
|
public int? CompanyId { get; set; }
|
|
[DisplayName("Компания")]
|
|
public string? CompanyName { get; set; }
|
|
|
|
public int Id { get; set; }
|
|
}
|
|
}
|