DTOs for index mostly done, doing DB models

This commit is contained in:
gamer147
2024-09-12 00:35:31 -04:00
parent ac3b002d74
commit 79505e0c1a
69 changed files with 1523 additions and 21 deletions

View 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; }
}