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