persistence, mediator

This commit is contained in:
Michele 2020-11-06 23:53:37 +00:00
parent 2372fbb620
commit e96a3ef09f
15 changed files with 284 additions and 34 deletions

View 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; }
}
}