More features
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user