mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
19 lines
358 B
C#
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; }
|
|
}
|