2020-12-21 18:53:44 +03:00
|
|
|
|
using MapTo;
|
|
|
|
|
|
|
|
|
|
namespace TestConsoleApp.ViewModels
|
|
|
|
|
{
|
|
|
|
|
[MapFrom(typeof(Data.Models.User))]
|
2020-12-22 11:28:14 +03:00
|
|
|
|
public partial class UserViewModel
|
|
|
|
|
{
|
|
|
|
|
public string FirstName { get; }
|
|
|
|
|
|
2020-12-24 13:05:29 +03:00
|
|
|
|
// [IgnoreProerty]
|
2020-12-22 11:28:14 +03:00
|
|
|
|
public string LastName { get; }
|
|
|
|
|
}
|
2020-12-21 18:53:44 +03:00
|
|
|
|
}
|