MapTo/test/TestConsoleApp/ViewModels/UserViewModel.cs

13 lines
256 B
C#
Raw Normal View History

using MapTo;
namespace TestConsoleApp.ViewModels
{
[MapFrom(typeof(Data.Models.User))]
public partial class UserViewModel
{
public string FirstName { get; }
// [IgnoreProerty]
public string LastName { get; }
}
}