db and auth refactoring
This commit is contained in:
parent
0e1c16ab91
commit
aa472f9e29
45 changed files with 2182 additions and 697 deletions
16
Sledgemapper.Api/Core/Entities/SessionUser.cs
Normal file
16
Sledgemapper.Api/Core/Entities/SessionUser.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Sledgemapper.Api.Models
|
||||
{
|
||||
public class SessionUser
|
||||
{
|
||||
[Key]
|
||||
public int SessionUserId { get; set; }
|
||||
|
||||
[Required]
|
||||
public int SessionId { get; set; }
|
||||
|
||||
[Required]
|
||||
public int UserId { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue