aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Entities/DatabaseContext.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-17 22:43:19 +0800
committercrupest <crupest@outlook.com>2022-04-17 22:43:19 +0800
commit7368d0388e78228499f28b33f79891c60639fb57 (patch)
tree9bd2c33c5f6a081438f4692fd9529bee9f787c53 /BackEnd/Timeline/Entities/DatabaseContext.cs
parente7a441b8805f8b02ba37ab1f550fa2939fe9e7f0 (diff)
downloadtimeline-7368d0388e78228499f28b33f79891c60639fb57.tar.gz
timeline-7368d0388e78228499f28b33f79891c60639fb57.tar.bz2
timeline-7368d0388e78228499f28b33f79891c60639fb57.zip
...
Diffstat (limited to 'BackEnd/Timeline/Entities/DatabaseContext.cs')
-rw-r--r--BackEnd/Timeline/Entities/DatabaseContext.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Entities/DatabaseContext.cs b/BackEnd/Timeline/Entities/DatabaseContext.cs
index cb776e72..7984f0a3 100644
--- a/BackEnd/Timeline/Entities/DatabaseContext.cs
+++ b/BackEnd/Timeline/Entities/DatabaseContext.cs
@@ -1,4 +1,4 @@
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
namespace Timeline.Entities
{
@@ -36,6 +36,9 @@ namespace Timeline.Entities
public DbSet<UserConfigurationEntity> UserConfigurations { get; set; } = default!;
+ public DbSet<RegisterCode> RegisterCodes { get; set; } = default!;
+ public DbSet<UserRegisterInfo> UserRegisterInfos { get; set; } = default!;
+
public DbSet<JwtTokenEntity> JwtToken { get; set; } = default!;
public DbSet<UserTokenEntity> UserTokens { get; set; } = default!;
public DbSet<DataEntity> Data { get; set; } = default!;