mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
* add new indexes, and change year column to int * Change gist to gin, and change year to int * Producer changes for new gin query * Fully map the rtn response using json dump from Pydantic Also updates Rtn to 0.1.9 * Add housekeeping script to reconcile imdb ids. * Join Torrent onto the ingested torrent table Ensure that a torrent can always find the details of where it came from, and how it was parsed. * Version bump for release * missing quote on table name
21 lines
632 B
C#
21 lines
632 B
C#
namespace SharedContracts.Models;
|
|
|
|
public class IngestedTorrent
|
|
{
|
|
public long? Id { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Source { get; set; }
|
|
public string? Category { get; set; }
|
|
public string? InfoHash { get; set; }
|
|
public string? Size { get; set; }
|
|
public int Seeders { get; set; }
|
|
public int Leechers { get; set; }
|
|
public string? Imdb { get; set; }
|
|
|
|
public bool Processed { get; set; }
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
public string? RtnResponse { get; set; }
|
|
}
|