using ErsatzTV.Application.MediaCards; using ErsatzTV.Core.Domain; namespace ErsatzTV.Application.MediaCollections; public record MediaCollectionViewModel( CollectionType CollectionType, int Id, string Name, bool UseCustomPlaybackOrder, MediaItemState State, // Optimistic-concurrency token (issue #253), header-only via ETag; 0 for the selection/placeholder // constructions that don't read a real collection. Set from the entity by the Mapper projection. int Version = 0) : MediaCardViewModel( Id, Name, string.Empty, Name, string.Empty, State, HasMediaInfo: false);