Files
deepdrft/DeepDrftModels/DTOs/MixMetadataDto.cs
T
daniel-c-harvey 5d6b54d2fc Phase 9 Wave 1: add ReleaseMedium discriminator + Session/Mix metadata
Add ReleaseMedium enum (Cut/Session/Mix) and two 1:1 satellite entities
(SessionMetadata, MixMetadata) with EF configs and an additive migration.
ReleaseDto.ReleaseType is now nullable, nulled for non-Cut at the converter.
Existing releases default to Cut via column default; no data migration.
2026-06-12 21:47:04 -04:00

11 lines
440 B
C#

namespace DeepDrftModels.DTOs;
// Mirror of MixMetadata (Phase 9). No `required` members — BlazorBlocks's Manager<> generic
// constraint requires `new()`, which does not compose with required members. TrackConverter assigns
// every field on the round-trip, so an empty default is never observable.
public class MixMetadataDto
{
public long ReleaseId { get; set; }
public string WaveformEntryKey { get; set; } = string.Empty;
}