Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/ArenaFormatInfo.cs
2026-05-23 15:47:23 -04:00

28 lines
881 B
C#

using MessagePack;
using SVSim.Database.Enums;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
[MessagePackObject]
public class ArenaFormatInfo
{
[JsonPropertyName("two_pick_type")]
[Key("two_pick_type")]
public PickTwoFormat PickTwoFormat { get; set; }
[JsonPropertyName("card_pool_name")]
[Key("card_pool_name")]
public string CardPoolName { get; set; } = string.Empty;
[JsonPropertyName("announce_id")]
[Key("announce_id")]
public string AnnounceId { get; set; } = "0";
[JsonPropertyName("card_pool_url")]
[Key("card_pool_url")]
public string CardPoolUrl { get; set; } = string.Empty;
[JsonPropertyName("start_time")]
[Key("start_time")]
public DateTime StartTime { get; set; }
[JsonPropertyName("end_time")]
[Key("end_time")]
public DateTime EndTime { get; set; }
}