MapTo/test/TestConsoleApp/ViewModels/EmployeeViewModel.cs

17 lines
353 B
C#
Raw Permalink Normal View History

2021-02-13 14:27:32 +03:00
using MapTo;
using TestConsoleApp.Data.Models;
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; }
}
}