PIbd-31_Rodionov.I.A._COP_28/COP/PortalAccountsContracts/ViewModels/AccountViewModel.cs

27 lines
703 B
C#
Raw Normal View History

2024-10-22 19:42:03 +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;
[DisplayName("Предупреждения")]
public string? Warnings { get; set; }
public int RoleId { get; set; }
[DisplayName("Роль")]
public string RoleName { get; set; } = string.Empty;
[DisplayName("Рейтинг")]
public double? Rating { get; set; }
public string OutputRating { get; set; } = string.Empty;
}
}