summaryrefslogtreecommitdiff
path: root/Project-Unite/Models/ForumViewModels.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-20 16:45:17 -0400
committerMichael <[email protected]>2017-03-20 16:45:17 -0400
commitcdc61eb4ea5309769ad4db84d92594e4dc3dff67 (patch)
treea8297a7aecc4376f07a497a5e02ab5ff165bfbd3 /Project-Unite/Models/ForumViewModels.cs
parentd9f475e1f33bbf39ca0d79d7a6b0c2fd501b4f2d (diff)
downloadproject-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.gz
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.bz2
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.zip
Initial commit (azure deploy test)
Diffstat (limited to 'Project-Unite/Models/ForumViewModels.cs')
-rw-r--r--Project-Unite/Models/ForumViewModels.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Project-Unite/Models/ForumViewModels.cs b/Project-Unite/Models/ForumViewModels.cs
new file mode 100644
index 0000000..2a03c4a
--- /dev/null
+++ b/Project-Unite/Models/ForumViewModels.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+
+namespace Project_Unite.Models
+{
+ public class CreateTopicViewModel
+ {
+ public string Category { get; set; }
+
+
+ public string Subject { get; set; }
+ [AllowHtml]
+ public string Body { get; set; }
+
+ public bool IsAnnounce { get; set; }
+ public bool IsGlobal { get; set; }
+ public bool IsSticky { get; set; }
+
+ public bool HasPoll { get; set; }
+ public string PollOptions { get; set; }
+ public bool VotesChangable { get; set; }
+ public bool Multivote { get; set; }
+ public string Question { get; set; }
+ }
+} \ No newline at end of file