using System.Collections.Generic;
namespace API.Entities.Metadata
{
    /// 
    /// Has a 1-to-1 relationship with a Chapter. Represents metadata about a chapter.
    /// 
    public class ChapterMetadata
    {
        public int Id { get; set; }
        /// 
        /// Chapter title
        /// 
        /// This should not be confused with Chapter.Title which is used for special filenames.
        public string Title { get; set; } = string.Empty;
        public string Year { get; set; } // Only time I can think this will be more than 1 year is for a volume which will be a spread
        public string StoryArc { get; set; } // This might be a list
        /// 
        /// All people attached at a Chapter level. Usually Comics will have different people per issue.
        /// 
        public ICollection People { get; set; } = new List();
        // Relationships
        public Chapter Chapter { get; set; }
        public int ChapterId { get; set; }
    }
}