DTOs for index mostly done, doing DB models
This commit is contained in:
34
SVSim.EmulatedEntrypoint/Models/Dtos/UserRankInfo.cs
Normal file
34
SVSim.EmulatedEntrypoint/Models/Dtos/UserRankInfo.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
[MessagePackObject]
|
||||
public class UserRankInfo
|
||||
{
|
||||
[Key("deck_format")]
|
||||
public int DeckFormat { get; set; }
|
||||
[Key("rank")]
|
||||
public int Rank { get; set; }
|
||||
[Key("battle_point")]
|
||||
public int BattlePoints { get; set; }
|
||||
[Key("successive_win_number")]
|
||||
public int WinStreak { get; set; }
|
||||
[Key("successive_losses_number")]
|
||||
public int LossStreak { get; set; }
|
||||
[Key("is_promotion")]
|
||||
public int IsPromotion { get; set; }
|
||||
[Key("is_master_rank")]
|
||||
public int IsMasterRank { get; set; }
|
||||
[Key("is_grand_master_rank")]
|
||||
public bool IsGrandMasterRank { get; set; }
|
||||
[Key("master_point")]
|
||||
public int MasterPoints { get; set; }
|
||||
[Key("period_grand_master_point")]
|
||||
public int PeriodGrandMasterPoints { get; set; }
|
||||
[Key("target_grand_master_point")]
|
||||
public int TargetGrandMasterPoints { get; set; }
|
||||
[Key("current_grand_master_point")]
|
||||
public int CurrentGrandMasterPoints { get; set; }
|
||||
[Key("user_promotion_match")]
|
||||
public UserPromotionMatch? UserPromotionMatch { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user