// Copyright (C) 2024 Intro-Skipper contributors // SPDX-License-Identifier: GPL-3.0-only. using System; using System.Collections.Generic; using IntroSkipper.Data; namespace IntroSkipper.Db; /// /// All times are measured in seconds relative to the beginning of the media file. /// /// /// Initializes a new instance of the class. /// public class DbSeasonInfo { /// /// Initializes a new instance of the class. /// /// Season ID. /// Analysis mode. /// Analyzer action. /// Episode IDs. public DbSeasonInfo(Guid seasonId, AnalysisMode mode, AnalyzerAction action, IEnumerable? episodeIds = null) { SeasonId = seasonId; Type = mode; Action = action; EpisodeIds = episodeIds ?? []; } /// /// Initializes a new instance of the class. /// public DbSeasonInfo() { } /// /// Gets the item ID. /// public Guid SeasonId { get; private set; } /// /// Gets the analysis mode. /// public AnalysisMode Type { get; private set; } /// /// Gets the analyzer action. /// public AnalyzerAction Action { get; private set; } /// /// Gets the season number. /// public IEnumerable EpisodeIds { get; private set; } = []; }