feat(dto): TK2 common DTOs (entry/class/deck/candidate/results/reward)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-31 10:40:06 -04:00
parent 2df18425c4
commit 30a723322c
6 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System.Text.Json.Serialization;
using MessagePack;
using SVSim.EmulatedEntrypoint.Models.Dtos.Common;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common.ArenaTwoPick;
[MessagePackObject]
public class EntryInfoDto
{
[JsonPropertyName("id")] [JsonConverter(typeof(StringifiedLongConverter))] [Key("id")]
public long Id { get; set; }
[JsonPropertyName("viewer_id")] [JsonConverter(typeof(StringifiedLongConverter))] [Key("viewer_id")]
public long ViewerId { get; set; }
[JsonPropertyName("reward_schedule_id")] [JsonConverter(typeof(StringifiedIntConverter))] [Key("reward_schedule_id")]
public int RewardScheduleId { get; set; }
[JsonPropertyName("challenge_id")] [JsonConverter(typeof(StringifiedIntConverter))] [Key("challenge_id")]
public int ChallengeId { get; set; }
[JsonPropertyName("max_battle_count")] [JsonConverter(typeof(StringifiedIntConverter))] [Key("max_battle_count")]
public int MaxBattleCount { get; set; }
[JsonPropertyName("leader_skin_id")] [JsonConverter(typeof(StringifiedLongConverter))] [Key("leader_skin_id")]
public long LeaderSkinId { get; set; }
[JsonPropertyName("is_retire")] [JsonConverter(typeof(StringifiedIntConverter))] [Key("is_retire")]
public int IsRetire { get; set; }
}