sodoff/src/Model/MMORole.cs
2025-07-28 09:43:49 +00:00

19 lines
358 B
C#

using sodoff.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace sodoff.Model;
public class MMORole {
[Key]
[JsonIgnore]
public int Id { get; set; }
public int VikingId { get; set; }
public Role Role { get; set; }
[JsonIgnore]
public virtual Viking? Viking { get; set; }
}