using MessagePack;
using System.Text.Json.Serialization;
using SVSim.EmulatedEntrypoint.Models.Dtos.Common;
using SVSim.EmulatedEntrypoint.Models.Dtos.Common.Guild;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.GuildChat;
///
/// Response for POST /guild_chat/deck_log.
/// deck_log keys are stringified API-side Format ints (e.g. "1", "2", "3").
/// Rotation / Unlimited / PreRotation buckets are always present.
/// Crossover / MyRotation keys are included only when non-empty (client uses TryGetValue).
///
[MessagePackObject]
public class GuildChatDeckLogResponse
{
[JsonPropertyName("maintenance_card_list"), Key("maintenance_card_list"),
JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public List MaintenanceCardList { get; set; } = new();
///
/// Decks shared in chat, bucketed by API-side Format value (stringified int keys).
/// Keys present: "1" (Rotation), "2" (Unlimited), "3" (PreRotation); optionally "4" (Crossover), "5" (MyRotation).
///
[JsonPropertyName("deck_log"), Key("deck_log"),
JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public Dictionary> DeckLog { get; set; } = new();
}