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