Task_Tracker_SUBD/TaskTrackerRestAPI/TaskTrackerContracts/ViewModels/EmployeeViewModel.cs
2023-05-17 10:48:52 +04:00

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; }
}
}