This commit is contained in:
lincube
2026-03-04 15:22:52 +08:00
parent 2ba66893ac
commit f78a56cb2c
198 changed files with 461 additions and 461 deletions

View File

@@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
namespace LanMountainDesktop.RecommendationBackend.Models;
public sealed record DailyQuoteSnapshot(
string Provider,
string Content,
string? Author,
string? Source,
DateTimeOffset FetchedAt);
public sealed record DailyPoetrySnapshot(
string Provider,
string Content,
string? Origin,
string? Author,
string? Category,
DateTimeOffset FetchedAt);
public sealed record DailyMovieRecommendation(
string Provider,
string Title,
string? Rating,
string? Description,
string? Url,
string? CoverUrl,
DateTimeOffset FetchedAt);
public sealed record DailyArtworkSnapshot(
string Provider,
string Title,
string? Artist,
string? Year,
string? Museum,
string? ArtworkUrl,
string? ImageUrl,
DateTimeOffset FetchedAt);
public sealed record HotSearchEntry(
string Provider,
int Rank,
string Title,
string? HotValue,
string? Summary,
string? Url);
public sealed record RecommendationFeedSnapshot(
DateTimeOffset FetchedAt,
DailyQuoteSnapshot? DailyQuote,
DailyPoetrySnapshot? DailyPoetry,
DailyMovieRecommendation? DailyMovie,
DailyArtworkSnapshot? DailyArtwork,
IReadOnlyList<HotSearchEntry> HotSearches);