persistence, mediator
This commit is contained in:
parent
2372fbb620
commit
e96a3ef09f
15 changed files with 284 additions and 34 deletions
18
Sledgemapper.Api/Models/Snapshot.cs
Normal file
18
Sledgemapper.Api/Models/Snapshot.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Sledgemapper.Api.Models
|
||||
{
|
||||
|
||||
public class Snapshot
|
||||
{
|
||||
[Key]
|
||||
public int SnapshotId { 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