diff options
| author | crupest <crupest@outlook.com> | 2020-08-11 16:19:46 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2020-08-11 16:19:46 +0800 |
| commit | 4685d69fe965b32438c399a4ad4a3deee9fb0a55 (patch) | |
| tree | 3680857e4fe4c00af4a682430efa87161a210279 /Timeline/Entities | |
| parent | c3369742b6e68714d0a7df46a99a0798eb2d6940 (diff) | |
| download | timeline-4685d69fe965b32438c399a4ad4a3deee9fb0a55.tar.gz timeline-4685d69fe965b32438c399a4ad4a3deee9fb0a55.tar.bz2 timeline-4685d69fe965b32438c399a4ad4a3deee9fb0a55.zip | |
Migrate DateTimeOffset to DateTime.
Diffstat (limited to 'Timeline/Entities')
| -rw-r--r-- | Timeline/Entities/UserEntity.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline/Entities/UserEntity.cs b/Timeline/Entities/UserEntity.cs index d6b55ab6..0cfaa335 100644 --- a/Timeline/Entities/UserEntity.cs +++ b/Timeline/Entities/UserEntity.cs @@ -25,7 +25,7 @@ namespace Timeline.Entities public string Username { get; set; } = default!;
[Column("username_change_time")]
- public DateTimeOffset UsernameChangeTime { get; set; }
+ public DateTime UsernameChangeTime { get; set; }
[Column("password"), Required]
public string Password { get; set; } = default!;
@@ -40,10 +40,10 @@ namespace Timeline.Entities public string? Nickname { get; set; }
[Column("create_time")]
- public DateTimeOffset CreateTime { get; set; }
+ public DateTime CreateTime { get; set; }
[Column("last_modified")]
- public DateTimeOffset LastModified { get; set; }
+ public DateTime LastModified { get; set; }
public UserAvatarEntity? Avatar { get; set; }
|
