26 lines
599 B
C#
26 lines
599 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace OakArchive.Entities.Set;
|
|
|
|
public class CardCount
|
|
{
|
|
[Key] public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public int Total { get; set; } = 0;
|
|
|
|
public int Official { get; set; } = 0;
|
|
|
|
public int Normal { get; set; } = 0;
|
|
|
|
public int Reverse { get; set; } = 0;
|
|
|
|
public int Holo { get; set; } = 0;
|
|
|
|
public int FirstEd { get; set; } = 0;
|
|
|
|
[ForeignKey(nameof(Set))]
|
|
public Guid SetId { get; set; }
|
|
|
|
public virtual Set Set { get; set; } = null!;
|
|
} |