rdt-client/server/RdtClient.Data/Models/Data/TorrentPayload.cs
2026-05-30 13:07:57 -04:00

15 lines
354 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RdtClient.Data.Models.Data;
public class TorrentPayload
{
[Key]
[ForeignKey(nameof(Torrent))]
public Guid TorrentId { get; set; }
public String Content { get; set; } = null!;
public Torrent Torrent { get; set; } = null!;
}