28 lines
781 B
C#
28 lines
781 B
C#
using ForumDataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ForumContracts.ViewModels
|
|
{
|
|
public class UserViewModel : IUserModel
|
|
{
|
|
[DisplayName("Имя пользователя")]
|
|
public string Username { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Почта пользователя")]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Пароль пользователя")]
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Дата регистрации")]
|
|
public DateTime RegistrationDate { get; set; }
|
|
|
|
public int Id { get; set; }
|
|
}
|
|
}
|