Besciamello (#1)

* Fixed login & auth
* Added dynamic breadcrumb
* Added DOC
* Added Patient
* Added Notifications
* Added Messages
* Refactoring api
* Re-writed menu
* Removed unused things
* Created README
This commit was merged in pull request #1.
This commit is contained in:
Giacomo Bertolazzi 20015159
2019-01-15 21:35:00 +01:00
committed by GitHub
parent 191daf8218
commit 1246116804
36 changed files with 1154 additions and 535 deletions

View File

@@ -0,0 +1,22 @@
using LinqToDB.Mapping;
using Newtonsoft.Json;
namespace SeniorAssistant.Models
{
public class User : IHasUsername
{
[Column(IsPrimaryKey = true, CanBeNull = false)]
public string Username { get; set; }
[NotNull]
public string Email { get; set; }
[NotNull]
[JsonIgnore]
public string Password { get; set; }
public string Name { get; set; }
public string LastName { get; set; }
}
}