MapTo/test/TestConsoleApp/ViewModels/UserViewModel.cs

14 lines
273 B
C#
Raw Normal View History

2021-02-07 13:51:49 +03:00
using System;
using MapTo;
using TestConsoleApp.Data.Models;
namespace TestConsoleApp.ViewModels
{
2021-02-07 13:51:49 +03:00
[MapFrom(typeof(User))]
public partial class UserViewModel
{
public int Id { get; set; }
public DateTimeOffset RegisteredAt { get; }
}
}