forked from SoDOff-Project/sodoff
16 lines
336 B
C#
16 lines
336 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace sodoff.Model;
|
|
public class Session {
|
|
[Key]
|
|
public string ApiToken { get; set; } = null!;
|
|
|
|
public string? UserId { get; set; }
|
|
|
|
public string? VikingId { get; set; }
|
|
|
|
public virtual User? User { get; set; }
|
|
|
|
public virtual Viking? Viking { get; set; }
|
|
}
|