27 lines
703 B
C#
27 lines
703 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;
|
|
|
|
[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;
|
|
}
|
|
}
|