17 lines
430 B
C#
17 lines
430 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace OakArchive.Entities.TCGdex;
|
|
|
|
public class TcgDexSetInfo
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
[Required]
|
|
public string SetId { get; set; } = string.Empty;
|
|
|
|
[ForeignKey(nameof(Set))]
|
|
public Guid SetIdRef { get; set; }
|
|
public virtual Set.Set Set { get; set; } = null!;
|
|
} |