MapTo/test/TestConsoleApp/ViewModels/UserViewModel.cs

14 lines
274 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))]
2021-12-08 20:58:21 +03:00
public partial struct UserViewModel
{
2021-12-08 20:58:21 +03:00
public int Id { get; set; }
2021-12-08 20:58:21 +03:00
public DateTimeOffset RegisteredAt { get; }
}
}