mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	* Removed directives, ensured we delete bookmarks and reading list items when chapters are deleted. * Added parsing support for "Kimi no Koto ga Daidaidaidaidaisuki na 100-nin no Kanojo Chapter 11-10"
		
			
				
	
	
		
			26 lines
		
	
	
		
			775 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			775 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace API.Entities
 | 
						|
{
 | 
						|
    //[Index(nameof(SeriesId), nameof(VolumeId), nameof(ChapterId), IsUnique = true)]
 | 
						|
    public class ReadingListItem
 | 
						|
    {
 | 
						|
        public int Id { get; init; }
 | 
						|
        public int SeriesId { get; set; }
 | 
						|
        public int VolumeId { get; set; }
 | 
						|
        public int ChapterId { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        /// Order of the chapter within a Reading List
 | 
						|
        /// </summary>
 | 
						|
        public int Order { get; set; }
 | 
						|
 | 
						|
        // Relationship
 | 
						|
        public ReadingList ReadingList { get; set; }
 | 
						|
        public int ReadingListId { get; set; }
 | 
						|
 | 
						|
        // Idea, keep these for easy join statements
 | 
						|
        public Series Series { get; set; }
 | 
						|
        public Volume Volume { get; set; }
 | 
						|
        public Chapter Chapter { get; set; }
 | 
						|
 | 
						|
    }
 | 
						|
}
 |