More features

This commit is contained in:
gamer147
2026-05-23 14:18:01 -04:00
parent b2024af852
commit 6b70850b7b
59 changed files with 862 additions and 42033 deletions

View File

@@ -1,12 +1,32 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DCGEngine.Database.Models;
using SVSim.Database.Common;
using SVSim.Database.Enums;
namespace SVSim.Database.Models;
public class ShadowverseCardEntry : CardEntry
public class ShadowverseCardEntry : BaseEntity<long>
{
/// <summary>
/// The internal name of this card (not the localized display name).
/// </summary>
[Required(AllowEmptyStrings = false)]
public string Name { get; set; } = string.Empty;
/// <summary>
/// Attack stat (atk on the wire).
/// </summary>
public int? Attack { get; set; }
/// <summary>
/// Life / defense stat (life on the wire).
/// </summary>
public int? Defense { get; set; }
/// <summary>
/// Play cost (cost on the wire).
/// </summary>
public int? PrimaryResourceCost { get; set; }
/// <summary>
/// The rarity of this card.
/// </summary>
@@ -24,9 +44,9 @@ public class ShadowverseCardEntry : CardEntry
#region Navigation Properties
/// <summary>
/// The class this card belongs to, or optionally none for neutral cards.
/// The class this card belongs to, or null for neutral cards.
/// </summary>
public ClassEntry? Class { get; set; }
#endregion
}
}