+ Inizio del register

This commit is contained in:
DawitG96
2018-12-14 16:39:45 +01:00
parent 1739314aef
commit 191daf8218
14 changed files with 139 additions and 44 deletions

View File

@@ -7,15 +7,13 @@ namespace SeniorAssistant.Models
{
[PrimaryKey]
[NotNull]
[Association(ThisKey = nameof(Username), OtherKey = nameof(User.Username), CanBeNull = false)]
public string Username { get; set; }
[PrimaryKey]
[NotNull]
public DateTime Time { get; set; }
[Association(ThisKey = nameof(Username), OtherKey = nameof(User.Username), CanBeNull = false)]
public User user { get; set; }
public long Value { get; set; }
}
}