using System.Text.Json.Serialization;
using MessagePack;
using SVSim.EmulatedEntrypoint.Models.Dtos.Requests;

namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Pack;

/// <summary>
/// Inbound /pack/get_gacha_point_rewards body. Capture shows odds_gacha_id and parent_gacha_id
/// are always the same value (the pack id); we only consume parent_gacha_id for the lookup.
/// </summary>
[MessagePackObject]
public class GetGachaPointRewardsRequest : BaseRequest
{
    [JsonPropertyName("odds_gacha_id")]
    [Key("odds_gacha_id")]
    public int OddsGachaId { get; set; }

    [JsonPropertyName("parent_gacha_id")]
    [Key("parent_gacha_id")]
    public int ParentGachaId { get; set; }
}
