24 lines
590 B
C#
24 lines
590 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Pf2eModel.Model.Common.I18n;
|
|
using Pf2eModel.Model.Enum;
|
|
|
|
namespace Pf2eModel.Model.Structure.RitualRelation;
|
|
|
|
public class RitualArea
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[Column(Order = 1)]
|
|
public int RitualId { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
[MaxLength(255)]
|
|
public LocaleString? Details { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public SpellAreaType Type { get; set; }
|
|
|
|
public virtual Ritual Ritual { get; set; } = null!;
|
|
}
|