feat(missions): common DTOs (UserMission, UserAchievement, BPMonthlyMission, MissionInfoData)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-27 10:30:29 -04:00
parent c9534d8fac
commit df65b7a9c8
5 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System.Text.Json.Serialization;
using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common.Mission;
/// <summary>
/// Outer block. Date strings use the capture's space-separated JST format
/// ("2026-05-01 02:00:00"). The whole block is omitted from /mission/info when no monthly
/// missions are seeded for the current month.
/// </summary>
[MessagePackObject(keyAsPropertyName: true)]
public class BPMonthlyMissionsDto
{
[Key(0)][JsonPropertyName("start_date")] public string StartDate { get; set; } = "";
[Key(1)][JsonPropertyName("end_date")] public string EndDate { get; set; } = "";
[Key(2)][JsonPropertyName("mission_list")] public List<BPMonthlyMissionDto> MissionList { get; set; } = new();
}