summaryrefslogtreecommitdiff
path: root/User.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-09-15 10:31:20 +1000
committerJake Mannens <jakem_5@hotmail.com>2026-01-14 20:28:34 +1100
commit5565be07f8d8d473759315fd99747c64e2ce3450 (patch)
treefe0323eebd9981d1f2bad219bff5ac9cd4b674aa /User.cs
parent6255f7c74687934e6701ddd98f5e3a84de78c451 (diff)
Completed initial login functionality
Diffstat (limited to 'User.cs')
-rw-r--r--User.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/User.cs b/User.cs
new file mode 100644
index 0000000..61ef03f
--- /dev/null
+++ b/User.cs
@@ -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; }
+}