Added various

- Added DOC
- Added Patient
- Added Notifications
- Added Messages
- Various Refactoring
This commit is contained in:
2019-01-04 15:52:13 +01:00
parent e98b0ee6ce
commit 3751680fd3
23 changed files with 831 additions and 265 deletions

View File

@@ -0,0 +1,21 @@
using LinqToDB.Mapping;
using System;
namespace SeniorAssistant.Models
{
public class Notification : IHasTime
{
[Column(IsPrimaryKey = true, CanBeNull = false, IsIdentity = true)]
public int Id { get; set; }
[NotNull]
public string Username { get; set; }
[NotNull]
public DateTime Time { get; set; }
public bool Seen { get; set; }
public string Message { get; set; }
}
}