24 lines
664 B
C#
24 lines
664 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Pf2eModel.Model.Base;
|
|
using Pf2eModel.Model.Enum;
|
|
|
|
namespace Pf2eModel.Model.Structure;
|
|
|
|
[EntityOfType(EntityType.Action)]
|
|
public class Action : IEntity
|
|
{
|
|
[System.ComponentModel.DataAnnotations.Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[Column(Order = 1)]
|
|
public int Id { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public ActionEnum Actions { get; set; } = ActionEnum.Unknown;
|
|
|
|
[Column(Order = 3)]
|
|
// ReSharper disable once EntityFramework.ModelValidation.UnlimitedStringLength
|
|
public string? Extra { get; set; }
|
|
|
|
public Entity Entity { get; set; } = null!;
|
|
}
|