2021-02-13 14:27:32 +03:00
|
|
|
|
using MapTo;
|
|
|
|
|
using TestConsoleApp.Data.Models;
|
2021-02-17 11:32:23 +03:00
|
|
|
|
using TestConsoleApp.ViewModels2;
|
2021-02-13 14:27:32 +03:00
|
|
|
|
|
|
|
|
|
namespace TestConsoleApp.ViewModels
|
|
|
|
|
{
|
|
|
|
|
[MapFrom(typeof(Employee))]
|
|
|
|
|
public partial class EmployeeViewModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string EmployeeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
public ManagerViewModel Manager { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|