diff options
| author | Michael <[email protected]> | 2017-05-17 20:01:25 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-17 20:01:25 -0400 |
| commit | 40c424f787351b5e2e89aabedb5e67bfeece7008 (patch) | |
| tree | 69fb4ae140c7f04da6d905acfff82e08ed867b5b /Project-Unite/Models/IdentityModels.cs | |
| parent | c9d5c86c523aa9af8362077b82ede659ec884b22 (diff) | |
| download | project-unite-40c424f787351b5e2e89aabedb5e67bfeece7008.tar.gz project-unite-40c424f787351b5e2e89aabedb5e67bfeece7008.tar.bz2 project-unite-40c424f787351b5e2e89aabedb5e67bfeece7008.zip | |
even more profile fields
Diffstat (limited to 'Project-Unite/Models/IdentityModels.cs')
| -rw-r--r-- | Project-Unite/Models/IdentityModels.cs | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Project-Unite/Models/IdentityModels.cs b/Project-Unite/Models/IdentityModels.cs index a16dfe7..9e3898b 100644 --- a/Project-Unite/Models/IdentityModels.cs +++ b/Project-Unite/Models/IdentityModels.cs @@ -45,6 +45,18 @@ namespace Project_Unite.Models public int Pong_HighestCodepointsCashout { get; set; } + #region Privacy + + public bool ShowFollowers { get; set; } + public bool ShowFollowed { get; set; } + public bool ShowEmail { get; set; } + public bool ShowPostAndTopicCounts { get; set; } + public bool ShowJoinDate { get; set; } + + + #endregion + + public ForumPost[] UnreadPosts { get @@ -141,13 +153,20 @@ namespace Project_Unite.Models public string BannerUrl { get; set; } public string AvatarUrl { get; set; } + [Required(AllowEmptyStrings = false, ErrorMessage ="You must enter a display name.")] + [MinLength(5, ErrorMessage ="Your display name must be at least 5 characters long.")] public string DisplayName { get; set; } + public string FullName { get; set; } + public string Website { get; set; } public string YoutubeUrl { get; set; } public string SystemName { get; set; } - + + [AllowHtml] public string Interests { get; set; } + + [AllowHtml] public string Hobbies { get; set; } |
