Add project files.
This commit is contained in:
11
JSMR.Domain/Entities/Circle.cs
Normal file
11
JSMR.Domain/Entities/Circle.cs
Normal 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; }
|
||||
}
|
||||
9
JSMR.Domain/Entities/Creator.cs
Normal file
9
JSMR.Domain/Entities/Creator.cs
Normal 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; }
|
||||
}
|
||||
11
JSMR.Domain/Entities/EnglishTag.cs
Normal file
11
JSMR.Domain/Entities/EnglishTag.cs
Normal 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; }
|
||||
}
|
||||
12
JSMR.Domain/Entities/EnglishVoiceWork.cs
Normal file
12
JSMR.Domain/Entities/EnglishVoiceWork.cs
Normal 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; }
|
||||
}
|
||||
12
JSMR.Domain/Entities/Series.cs
Normal file
12
JSMR.Domain/Entities/Series.cs
Normal 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; }
|
||||
}
|
||||
9
JSMR.Domain/Entities/Tag.cs
Normal file
9
JSMR.Domain/Entities/Tag.cs
Normal 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; }
|
||||
}
|
||||
42
JSMR.Domain/Entities/VoiceWork.cs
Normal file
42
JSMR.Domain/Entities/VoiceWork.cs
Normal 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; } = [];
|
||||
}
|
||||
14
JSMR.Domain/Entities/VoiceWorkCreator.cs
Normal file
14
JSMR.Domain/Entities/VoiceWorkCreator.cs
Normal 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; }
|
||||
}
|
||||
9
JSMR.Domain/Entities/VoiceWorkSearch.cs
Normal file
9
JSMR.Domain/Entities/VoiceWorkSearch.cs
Normal 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; }
|
||||
}
|
||||
14
JSMR.Domain/Entities/VoiceWorkTag.cs
Normal file
14
JSMR.Domain/Entities/VoiceWorkTag.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user