diff options
author | crupest <crupest@outlook.com> | 2020-08-11 00:47:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 00:47:00 +0800 |
commit | 06e79c99bbc810f16058b35f1c88c23148bf8e57 (patch) | |
tree | 515c13c3f44c1963cd462b2c82ce34416f49b5f3 /Timeline/Models | |
parent | 9bd53ad844b66f14080f3a142a419fed1d8bd491 (diff) | |
parent | 536dba83194800befce9357bc1cffbed4bb47728 (diff) | |
download | timeline-06e79c99bbc810f16058b35f1c88c23148bf8e57.tar.gz timeline-06e79c99bbc810f16058b35f1c88c23148bf8e57.tar.bz2 timeline-06e79c99bbc810f16058b35f1c88c23148bf8e57.zip |
Merge pull request #144 from crupest/user-time
Add time info to user.
Diffstat (limited to 'Timeline/Models')
-rw-r--r-- | Timeline/Models/User.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Timeline/Models/User.cs b/Timeline/Models/User.cs index fa780efd..3d0b2f1a 100644 --- a/Timeline/Models/User.cs +++ b/Timeline/Models/User.cs @@ -1,19 +1,21 @@ -namespace Timeline.Models
+using System;
+
+namespace Timeline.Models
{
public class User
{
public string? UniqueId { get; set; }
public string? Username { get; set; }
public string? Nickname { get; set; }
-
- #region adminsecret
public bool? Administrator { get; set; }
- #endregion adminsecret
#region secret
public long? Id { get; set; }
public string? Password { get; set; }
public long? Version { get; set; }
+ public DateTimeOffset? UsernameChangeTime { get; set; }
+ public DateTimeOffset? CreateTime { get; set; }
+ public DateTimeOffset? LastModified { get; set; }
#endregion secret
}
}
|