diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-09-14 14:41:40 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-09-14 14:41:40 +1000 |
| commit | 604ef537e0fabfbcc3abf9d7473b22f08dc549a6 (patch) | |
| tree | e3ba3b1c54c245f10ca8b2abbc4fe24d648868f8 /User.cs | |
| parent | b3654a2764873cef9f171bb6ccd6726feae3e796 (diff) | |
Finalised login functionality
Diffstat (limited to 'User.cs')
| -rw-r--r-- | User.cs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +using Microsoft.EntityFrameworkCore; + +namespace HyperBooru; + +[Index(nameof(Username))] +public class User : HBObject { + public string Username { get; set; } + public string PasswordHash { get; set; } +} |
