Kavita/API/Entities/Enums/AgeRating.cs
Joseph Milazzo 1e51e39f66
Feature/misc (#1234)
* Fixed a bug where publication status could show as filled in when total number is 0 but there is a max count.

Add ComicInfo support for LocalizedSeries which will populate a Series LocalizedName.

Fixed an issue in tag constraint issues.

* Hooked in LocalizedSeries tag into merge step in scanner.

* Hooked in LocalizedSeries from ComicInfo into Kavita and also use it to help during merge phase to avoid 2 different series, if one file is using the name of the localized series.

* Reduced some extra string creation and updated epub library to ignore bad ToCs.

* Bumped dependencies to latest. When an epub doesn't have a dc:date with publication event type, default back to just a normal dc:date tag.

* Fixed a bug where webtoon reader would error out on first load due to how we passed the function to the reader

* Reverted the centering code
2022-04-28 14:50:31 -07:00

45 lines
1.0 KiB
C#

using System.ComponentModel;
namespace API.Entities.Enums;
/// <summary>
/// Represents Age Rating for content.
/// </summary>
/// <remarks>Based on ComicInfo.xml v2.1 https://github.com/anansi-project/comicinfo/blob/main/drafts/v2.1/ComicInfo.xsd</remarks>
public enum AgeRating
{
[Description("Unknown")]
Unknown = 0,
[Description("Rating Pending")]
RatingPending = 1,
[Description("Early Childhood")]
EarlyChildhood = 2,
[Description("Everyone")]
Everyone = 3,
[Description("G")]
G = 4,
[Description("Everyone 10+")]
Everyone10Plus = 5,
[Description("PG")]
// ReSharper disable once InconsistentNaming
PG = 6,
[Description("Kids to Adults")]
KidsToAdults = 7,
[Description("Teen")]
Teen = 8,
[Description("MA15+")]
Mature15Plus = 9,
[Description("Mature 17+")]
Mature17Plus = 10,
[Description("M")]
Mature = 11,
[Description("R18+")]
R18Plus = 12,
[Description("Adults Only 18+")]
AdultsOnly = 13,
[Description("X18+")]
X18Plus = 14
}