MapTo/test/TestConsoleApp/Data/Models/User.cs

15 lines
278 B
C#
Raw Permalink Normal View History

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