Kavita/API/Entities/Person.cs
Joe Milazzo 8a0a2f0961
Scanner Performance Improvements (#1774)
* Refactored the Genre code to be faster and used a dictonary to avoid some lookups. May fix the rare foreign constraint issue.

* Refactored tag to the same implementation as Genre. Ensure when grabbing tags from ComicInfo, we normalize and throw out duplicates.

* Removed an internal "external" field that was planned for Genres and Tags, but now with new plugin architecture, not needed.
2023-02-03 04:52:51 -08:00

18 lines
453 B
C#

using System.Collections.Generic;
using API.Entities.Enums;
using API.Entities.Metadata;
namespace API.Entities;
public class Person
{
public int Id { get; set; }
public string Name { get; set; }
public string NormalizedName { get; set; }
public PersonRole Role { get; set; }
// Relationships
public ICollection<SeriesMetadata> SeriesMetadatas { get; set; }
public ICollection<Chapter> ChapterMetadatas { get; set; }
}