Kavita/API/DTOs/OPDS/FeedCategory.cs
2025-05-04 07:14:44 -07:00

19 lines
441 B
C#

using System.Xml.Serialization;
namespace API.DTOs.OPDS;
public sealed record FeedCategory
{
[XmlAttribute("scheme")]
public string Scheme { get; } = "http://www.bisg.org/standards/bisac_subject/index.html";
[XmlAttribute("term")]
public string Term { get; set; } = default!;
/// <summary>
/// The actual genre
/// </summary>
[XmlAttribute("label")]
public string Label { get; set; } = default!;
}