chore: Account search extended

This commit is contained in:
Mikhail Shabanov committed 2021-05-12 16:30:23 +02:00
1 parent 4ff19d7f21
commit 1d0ab97b35
5 files changed
+131 -8

No files matched your search

@@ -1,4 +1,6 @@
namespace WotBlitzStatisticsPro.Common.Model
using System;
namespace WotBlitzStatisticsPro.Common.Model
{
/// <summary>
/// Account search result item
@@ -14,5 +16,26 @@
/// Player nick
///</summary>
public string? Nickname { get; set; }
/// <summary>
/// Clan tag. Null if player doesn't have clan membership
/// </summary>
public string? ClanTag { get; set; }
/// <summary>
/// Win rate from 0 to 100
/// </summary>
public int WinRate { get; set; }
/// <summary>
/// Player's battles count
/// </summary>
public long BattlesCount { get; set; }
/// <summary>
/// Last battle time
/// </summary>
public DateTime LastBattle { get; set; } = new DateTime(1970, 1, 1);
}
}