Files
torrentio/src/shared/Models/Torrent.cs
iPromKnight 66609c2a46 trigram performance increased and housekeeping (#184)
* 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
2024-03-29 19:01:48 +00:00

21 lines
723 B
C#

namespace SharedContracts.Models;
public class Torrent
{
public string? InfoHash { get; set; }
public long? IngestedTorrentId { get; set; }
public string? Provider { get; set; }
public string? TorrentId { get; set; }
public string? Title { get; set; }
public long? Size { get; set; }
public string? Type { get; set; }
public string? UploadDate { get; set; }
public int? Seeders { get; set; }
public string? Trackers { get; set; }
public string? Languages { get; set; }
public string? Resolution { get; set; }
public bool? Reviewed { get; set; }
public bool? Opened { get; set; }
public string? CreatedAt { get; set; }
public string? UpdatedAt { get; set; }
}