36 lines
869 B
C#
36 lines
869 B
C#
using Pf2eModel.Model.Base;
|
|
using Pf2eModel.Model.Enum;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Pf2eModel.Model.Structure;
|
|
|
|
[EntityOfType(EntityType.Action)]
|
|
public partial class Action : IEntity
|
|
{
|
|
[System.ComponentModel.DataAnnotations.Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public int? Actions { get; set; } = null;
|
|
|
|
[Column(Order = 4)]
|
|
public int? MaxActions { get; set; } = null;
|
|
|
|
[Column(Order = 5)]
|
|
public bool IsReaction { get; set; } = false;
|
|
|
|
[Column(Order = 6)]
|
|
public bool IsFreeAction { get; set; } = false;
|
|
|
|
[Column(Order = 6)]
|
|
public bool IsPassive { get; set; } = false;
|
|
|
|
[Column(Order = 6)]
|
|
public string? Extra { get; set; }
|
|
|
|
|
|
public Entity Entity { get; set; } = null!;
|
|
}
|