27 lines
881 B
C#
Raw Permalink Normal View History

2023-12-01 01:01:22 +04:00
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
{
2023-12-01 02:29:05 +04:00
public int Id { get; set; } = 0;
2023-12-01 01:01:22 +04:00
[DisplayName("Логин")]
public string Login { get; set; } = string.Empty;
[DisplayName("Рейтинг")]
2023-12-01 02:29:05 +04:00
public float? Rating { get; set; } = null;
2023-12-01 01:01:22 +04:00
[DisplayName("Предупреждения")]
public string? Warnings { get; set; } = string.Empty;
2023-12-01 02:29:05 +04:00
public int RoleId { get; set; } = 0;
2023-12-01 01:01:22 +04:00
[DisplayName("Роль")]
2023-12-01 02:29:05 +04:00
public string RoleName { get; set; } = string.Empty;
public float ViewRating { get; set; } = 0;
public string DocRating { get; set; } = string.Empty;
2023-12-01 01:01:22 +04:00
}
}