Added various
- Added DOC - Added Patient - Added Notifications - Added Messages - Various Refactoring
This commit is contained in:
22
SeniorAssistant/Models/Users/User.cs
Normal file
22
SeniorAssistant/Models/Users/User.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user