PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/ViewModels/UserViewModel.cs

22 lines
624 B
C#
Raw Normal View History

using BlogDataModels.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlogContracts.ViewModels
{
public class UserViewModel : IUser
{
[DisplayName("Номер")]
public int Id { get; set; }
[DisplayName("Имя пользователя")]
public string Name { get; set; } = string.Empty;
[DisplayName("Дата регистрации")]
public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
}
}