33 lines
799 B
C#
33 lines
799 B
C#
using Pf2eDataScrapper.Model.Base;
|
|
using Pf2eDataScrapper.Model.Enum;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Pf2eDataScrapper.Model.Structure;
|
|
|
|
public partial class Action : IEntity
|
|
{
|
|
[System.ComponentModel.DataAnnotations.Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public ActionType Type { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public ActionCategory Category { get; set; }
|
|
|
|
[Column(Order = 4)]
|
|
public int? Actions { get; set; }
|
|
|
|
[Column(Order = 5)]
|
|
public bool? DeathNote { get; set; }
|
|
|
|
[Column(Order = 6)]
|
|
public string? Extra { get; set; }
|
|
|
|
|
|
public Entity Entity { get; set; } = null!;
|
|
}
|