PIbd-31_Putincev.D.M._COP_29/COP/PortalAccountsContracts/ViewModels/AccountViewModel.cs

25 lines
595 B
C#
Raw Permalink Normal View History

2024-11-19 23:18:49 +04:00
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; }
}
}