Add project files.

This commit is contained in:
2025-08-26 09:20:13 -04:00
parent 6c6a149821
commit d2201d6f9b
118 changed files with 1924 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
namespace JSMR.Domain.Entities;
public class Circle
{
public int CircleId { get; set; }
public required string MakerId { get; set; }
public required string Name { get; set; }
public bool Blacklisted { get; set; }
public bool Favorite { get; set; }
public bool Spam { get; set; }
}

View File

@@ -0,0 +1,9 @@
namespace JSMR.Domain.Entities;
public class Creator
{
public int CreatorId { get; set; }
public required string Name { get; set; }
public bool Favorite { get; set; }
public bool Blacklisted { get; set; }
}

View File

@@ -0,0 +1,11 @@
namespace JSMR.Domain.Entities;
public class EnglishTag
{
public int EnglishTagId { get; set; }
public int TagId { get; set; }
public Tag? Tag { get; set; }
public required string Name { get; set; }
}

View File

@@ -0,0 +1,12 @@
namespace JSMR.Domain.Entities;
public class EnglishVoiceWork
{
public int EnglishVoiceWorkId { get; set; }
public required string ProductName { get; set; }
public required string Description { get; set; }
public bool? IsValid { get; set; }
public int VoiceWorkId { get; set; }
public VoiceWork? VoiceWork { get; set; }
}

View File

@@ -0,0 +1,12 @@
namespace JSMR.Domain.Entities;
public class Series
{
public int SeriesId { get; set; }
public int CircleId { get; set; }
public Circle? Circle { get; set; }
public required string Name { get; set; }
public required string Identifier { get; set; }
}

View File

@@ -0,0 +1,9 @@
namespace JSMR.Domain.Entities;
public class Tag
{
public int TagId { get; set; }
public required string Name { get; set; }
public bool Favorite { get; set; }
public bool Blacklisted { get; set; }
}

View File

@@ -0,0 +1,42 @@
namespace JSMR.Domain.Entities;
public class VoiceWork
{
public int VoiceWorkId { get; set; }
public required string ProductId { get; set; }
public string? OriginalProductId { get; set; }
public required string ProductName { get; set; }
public string? Description { get; set; }
public int Rating { get; set; }
public bool HasImage { get; set; }
public bool HasTrial { get; set; }
public bool Purchased { get; set; }
public bool Favorite { get; set; }
public DateTime? ExpectedDate { get; set; }
public DateTime? SalesDate { get; set; }
public int? Downloads { get; set; }
public byte? StarRating { get; set; }
public int? Votes { get; set; }
public bool? IsValid { get; set; }
public DateTime? LastScannedDate { get; set; }
public byte Status { get; set; }
public byte SubtitleLanguage { get; set; }
public bool HasChobit { get; set; }
public bool IsPurchased { get; set; }
public int? WishlistCount { get; set; }
public DateTime? PlannedReleaseDate { get; set; }
public byte AIGeneration { get; set; }
public int CircleId { get; set; }
public Circle? Circle { get; set; }
public int? SeriesId { get; set; }
public Series? Series { get; set; }
//public int? VoiceWorkSearchId { get; set; }
//public VoiceWorkSearch? VoiceWorkSearch { get; set; }
public virtual ICollection<VoiceWorkTag> VoiceWorkTags { get; set; } = [];
public virtual ICollection<VoiceWorkCreator> VoiceWorkCreators { get; set; } = [];
public virtual ICollection<EnglishVoiceWork> EnglishVoiceWorks { get; set; } = [];
}

View File

@@ -0,0 +1,14 @@
namespace JSMR.Domain.Entities;
public class VoiceWorkCreator
{
public int VoiceWorkCreatorId { get; set; }
public int? Position { get; set; }
public bool? IsValid { get; set; }
public int CreatorId { get; set; }
public Creator? Creator { get; set; }
public int VoiceWorkId { get; set; }
public VoiceWork? VoiceWork { get; set; }
}

View File

@@ -0,0 +1,9 @@
namespace JSMR.Domain.Entities;
public class VoiceWorkSearch
{
public int VoiceWorkId { get; set; }
public VoiceWork? VoiceWork { get; set; }
public required string SearchText { get; set; }
}

View File

@@ -0,0 +1,14 @@
namespace JSMR.Domain.Entities;
public class VoiceWorkTag
{
public int VoiceWorkTagId { get; set; }
public int? Position { get; set; }
public bool? IsValid { get; set; }
public int TagId { get; set; }
public Tag? Tag { get; set; }
public int VoiceWorkId { get; set; }
public VoiceWork? VoiceWork { get; set; }
}