27 lines
795 B
C#
27 lines
795 B
C#
namespace DCGEngine.Database.Models;
|
|
|
|
/// <summary>
|
|
/// A card within the system.
|
|
/// </summary>
|
|
public abstract class CardEntry : BaseEntity<long>
|
|
{
|
|
/// <summary>
|
|
/// The name of this card used internally, to separate it from any localization key stored.
|
|
/// </summary>
|
|
public virtual string InternalName { get; set; }
|
|
|
|
/// <summary>
|
|
/// The offensive power of this card.
|
|
/// </summary>
|
|
public virtual int? Attack { get; set; }
|
|
|
|
/// <summary>
|
|
/// The defensive power of this card.
|
|
/// </summary>
|
|
public virtual int? Defense { get; set; }
|
|
|
|
/// <summary>
|
|
/// How much of the primary resource (ie mana, energy) does this card cost to play in a match.
|
|
/// </summary>
|
|
public virtual int? PrimaryResourceCost { get; set; }
|
|
} |