using System.Text.Json.Serialization;
using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.UserMyPage;
///
/// Body of POST /user_mypage/update. Client task: MyPageSettingUpdateTask
/// (Shadowverse_Code_2026-05-23/Wizard/MyPageSettingUpdateTask.cs). Note that
/// select_type is the only int on the wire — id fields are strings.
///
[MessagePackObject]
public sealed class UserMyPageUpdateRequest
{
/// BGType enum: 0=Deck, 1=CustomBG, 2=RandomBG. Client sends as an int.
[JsonPropertyName("select_type")]
[Key("select_type")]
public int SelectType { get; set; }
/// Chosen BG id when SelectType=CustomBG; empty or "0" otherwise.
[JsonPropertyName("mypage_id")]
[Key("mypage_id")]
public string MyPageId { get; set; } = "0";
/// Saved rotation pool, in slot order; client sends the full list on every call.
[JsonPropertyName("mypage_id_list")]
[Key("mypage_id_list")]
public List MyPageIdList { get; set; } = new();
}