Moved relevant application layer enums and value objects to the domain layer.

This commit is contained in:
2025-11-01 01:19:34 -04:00
parent 4121bd94d9
commit 14129a8bba
48 changed files with 255 additions and 162 deletions

View File

@@ -1,4 +1,5 @@
using JSMR.Application.Common;
using JSMR.Domain.Enums;
using JSMR.Domain.ValueObjects;
namespace JSMR.Application.Integrations.DLSite.Models;
@@ -10,7 +11,7 @@ public class VoiceWorkDetails
public int WishlistCount { get; init; }
public int DownloadCount { get; init; }
public DateTime? RegistrationDate { get; init; }
public ISupportedLanguage[] SupportedLanguages { get; init; } = [];
public SupportedLanguage[] SupportedLanguages { get; init; } = [];
public AIGeneration AI { get; init; }
public bool HasTrial { get; init; }
public bool HasDLPlay { get; init; }

View File

@@ -1,4 +1,4 @@
using JSMR.Application.Common;
using JSMR.Domain.Enums;
namespace JSMR.Application.Integrations.DLSite.Models;
@@ -6,5 +6,6 @@ public class VoiceWorkTranslation
{
public required string OriginalProductId { get; init; }
public bool IsOfficialTranslation { get; init; }
public bool IsRecommendedTranslation { get; init; }
public required Language Language { get; init; }
}