Files
ersatztv/ErsatzTV.Core/Api/NamedIdResponseModel.cs
T
timothyandClaude Opus 4.8 fecf16d3d2 feat(api): #288 wrap raw VMs, nullable-honest DTOs, search pageNum
24 #nullable enable flips across ErsatzTV.Core/Api; Collection/Schedule/
SmartCollection/Resolution VMs wrapped in ResponseModels (Version now
header-only, SPA-verified); pageNum threaded into GET /api/search.

Refs #288 #197

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 02:08:12 +02:00

10 lines
355 B
C#

#nullable enable
namespace ErsatzTV.Core.Api;
/// <summary>
/// A lightweight {id, name} pair used when an API response needs to embed a reference to a
/// named entity (e.g. a schedule item's watermarks or graphics elements) without projecting
/// the full entity DTO.
/// </summary>
public record NamedIdResponseModel(int Id, string Name);