aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/User.cs
blob: 2cead892d594d089cdd2238185dc6b7a3bd5151c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Timeline.Models.Validation;

namespace Timeline.Models
{
    public class User
    {
        [Username]
        public string? Username { get; set; }
        public bool? Administrator { get; set; }
        public string? Nickname { get; set; }
        public string? AvatarUrl { get; set; }


        #region secret
        public long? Id { get; set; }
        public string? Password { get; set; }
        public long? Version { get; set; }
        #endregion secret
    }
}