27 lines
881 B
C#
27 lines
881 B
C#
using AccountsDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AccountContracts.ViewModels
|
|
{
|
|
public class AccountViewModel : IAccountModel
|
|
{
|
|
public int Id { get; set; } = 0;
|
|
[DisplayName("Логин")]
|
|
public string Login { get; set; } = string.Empty;
|
|
[DisplayName("Рейтинг")]
|
|
public float? Rating { get; set; } = null;
|
|
[DisplayName("Предупреждения")]
|
|
public string? Warnings { get; set; } = string.Empty;
|
|
public int RoleId { get; set; } = 0;
|
|
[DisplayName("Роль")]
|
|
public string RoleName { get; set; } = string.Empty;
|
|
public float ViewRating { get; set; } = 0;
|
|
public string DocRating { get; set; } = string.Empty;
|
|
}
|
|
}
|