Moved some classes around to the domain layer.

This commit is contained in:
2025-11-01 13:28:36 -04:00
parent 14129a8bba
commit 4191a42afd
19 changed files with 115 additions and 96 deletions

View File

@@ -11,7 +11,7 @@ public class VoiceWorkDetails
public int WishlistCount { get; init; }
public int DownloadCount { get; init; }
public DateTime? RegistrationDate { get; init; }
public SupportedLanguage[] SupportedLanguages { get; init; } = [];
public IReadOnlyList<SupportedLanguage> SupportedLanguages { get; init; } = [];
public AIGeneration AI { get; init; }
public bool HasTrial { get; init; }
public bool HasDLPlay { get; init; }

View File

@@ -1,7 +1,7 @@
namespace JSMR.Application.Integrations.DLSite.Models;
public class VoiceWorkSeries
{
public required string Identifier { get; init; }
public required string Name { get; init; }
}
//public class VoiceWorkSeries
//{
// public required string Identifier { get; init; }
// public required string Name { get; init; }
//}

View File

@@ -2,10 +2,10 @@
namespace JSMR.Application.Integrations.DLSite.Models;
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; }
}
//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; }
//}

View File

@@ -21,7 +21,7 @@ public sealed record VoiceWorkIngest
public int? Votes { get; init; }
public AgeRating AgeRating { get; init; }
public bool HasImage { get; init; }
public ICollection<SupportedLanguage> SupportedLanguages { get; init; } = [];
public IReadOnlyList<SupportedLanguage> SupportedLanguages { get; init; } = [];
public DateOnly? ExpectedDate { get; init; }
public DateOnly? SalesDate { get; init; }
public DateTime? RegistrationDate { get; init; }