21 lines
620 B
C#
21 lines
620 B
C#
using MessagePack;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
|
|
|
/// <summary>
|
|
/// basic_puzzle.is_display_badge — drives the "practice puzzle" badge on the
|
|
/// footer. Read by MyPageTask.cs:177.
|
|
///
|
|
/// Named with the "Badge" suffix to avoid colliding with the
|
|
/// <c>Models.Dtos.{Common,Requests,Responses}.BasicPuzzle</c> sub-namespaces
|
|
/// that hold the /basic_puzzle/* endpoint DTOs.
|
|
/// </summary>
|
|
[MessagePackObject]
|
|
public class BasicPuzzleBadge
|
|
{
|
|
[JsonPropertyName("is_display_badge")]
|
|
[Key("is_display_badge")]
|
|
public bool IsDisplayBadge { get; set; }
|
|
}
|