Adds domain Music aggregate

This commit is contained in:
BinaryAlley committed 2026-09-07 09:41:57 -07:00
1 parent bde08c7440
commit 3a720af29f
100 files changed
+13077 -558

No files matched your search

@@ -16,6 +16,7 @@ using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.Boo
using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.BookLibraryAggregate.ValueObjects;
using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.ExternalIdentifiers.LibraryManagementBoundedContext.LibraryAggregate;
using Lumina.Domain.SharedKernel.Common.Enums.BookLibrary;
using Lumina.Domain.SharedKernel.Common.Enums.Common;
using Lumina.Domain.SharedKernel.Common.Enums.MediaLibrary;
using System;
using System.Collections.Generic;
@@ -63,7 +64,7 @@ public static class BookEntityMapping
Optional<int>.FromNullable(repositoryEntity.OriginalReleaseYear),
Optional<DateOnly>.FromNullable(repositoryEntity.ReReleaseDate),
Optional<int>.FromNullable(repositoryEntity.ReReleaseYear),
Optional<string>.FromNullable(repositoryEntity.ReleaseCountry),
Optional<ReleaseCountry>.FromNullable(repositoryEntity.ReleaseCountry),
Optional<string>.FromNullable(repositoryEntity.ReleaseVersion)
);
if (releaseInfoResult.IsFailure)
@@ -6,6 +6,7 @@ using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.Boo
using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.BookLibraryAggregate.Entities;
using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.BookLibraryAggregate.ValueObjects;
using Lumina.Domain.SharedKernel.Common.Enums.BookLibrary;
using Lumina.Domain.SharedKernel.Common.Enums.Common;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -36,7 +37,7 @@ public static class BookMetadataDtoMapping
Optional<int>.FromNullable(metadata.ReleaseInfo.OriginalReleaseYear),
Optional<DateOnly>.FromNullable(metadata.ReleaseInfo.ReReleaseDate),
Optional<int>.FromNullable(metadata.ReleaseInfo.ReReleaseYear),
Optional<string>.FromNullable(metadata.ReleaseInfo.ReleaseCountry),
Optional<ReleaseCountry>.FromNullable(metadata.ReleaseInfo.ReleaseCountry),
Optional<string>.FromNullable(metadata.ReleaseInfo.ReleaseVersion)
);
if (releaseInfoResult.IsFailure)