Move all appropriate DTOs to sealed records.
This commit is contained in:
parent
bc41b0256e
commit
3ca72b0b20
199 changed files with 234 additions and 221 deletions
|
|
@ -4,11 +4,13 @@ using System.Xml.Serialization;
|
|||
|
||||
namespace API.DTOs.OPDS;
|
||||
|
||||
// TODO: OPDS Dtos are internal state, shouldn't be in DTO directory
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[XmlRoot("feed", Namespace = "http://www.w3.org/2005/Atom")]
|
||||
public class Feed
|
||||
public sealed record Feed
|
||||
{
|
||||
[XmlElement("updated")]
|
||||
public string Updated { get; init; } = DateTime.UtcNow.ToString("s");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue