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,17 @@
using LinqToDB.Mapping;
namespace SeniorAssistant.Models.Users
{
public class Doctor : IHasUsername
{
[Column(IsPrimaryKey = true, CanBeNull = false)]
public string Username { get; set; }
[Association(ThisKey = "Username", OtherKey = nameof(User.Username), CanBeNull = false)]
public User UserData { get; set; }
public string Location { get; set; }
public string Schedule { get; set; }
}
}