22 lines
574 B
C#
22 lines
574 B
C#
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 String DateCreate { get; set; } = string.Empty;
|
|
|
|
}
|
|
}
|