mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-26 15:08:39 +00:00
19 lines
No EOL
531 B
C#
19 lines
No EOL
531 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ProjectLighthouse.Types {
|
|
public class QueuedLevel {
|
|
// ReSharper disable once UnusedMember.Global
|
|
[Key] public int QueuedLevelId { get; set; }
|
|
|
|
public int UserId { get; set; }
|
|
|
|
[ForeignKey(nameof(UserId))]
|
|
public User User { get; set; }
|
|
|
|
public int SlotId { get; set; }
|
|
|
|
[ForeignKey(nameof(SlotId))]
|
|
public Slot Slot { get; set; }
|
|
}
|
|
} |