25 lines
595 B
C#
25 lines
595 B
C#
using PortalAccountsDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace PortalAccountsContracts.ViewModels
|
|
{
|
|
public class AccountViewModel : IAccountModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("Логин")]
|
|
public string Login { get; set; } = string.Empty;
|
|
|
|
public string? AvatarPath { get; set; }
|
|
|
|
public int InterestId { get; set; }
|
|
|
|
[DisplayName("Интерес")]
|
|
public string InterestName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Почта")]
|
|
public string? Email { get; set; }
|
|
|
|
}
|
|
}
|