2021-02-07 13:51:49 +03:00
|
|
|
|
using System;
|
2021-12-08 21:20:51 +03:00
|
|
|
|
using BlueWest.Data;
|
2021-02-07 13:51:49 +03:00
|
|
|
|
using MapTo;
|
|
|
|
|
using TestConsoleApp.Data.Models;
|
2020-12-21 18:53:44 +03:00
|
|
|
|
|
|
|
|
|
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
|
2020-12-22 11:28:14 +03:00
|
|
|
|
{
|
2021-12-08 20:58:21 +03:00
|
|
|
|
public int Id { get; set; }
|
2020-12-22 11:28:14 +03:00
|
|
|
|
|
2021-12-08 20:58:21 +03:00
|
|
|
|
public DateTimeOffset RegisteredAt { get; }
|
2020-12-22 11:28:14 +03:00
|
|
|
|
}
|
2020-12-21 18:53:44 +03:00
|
|
|
|
}
|