summaryrefslogtreecommitdiff
path: root/Project-Unite/Models/ForumViewModels.cs
blob: 2a03c4a73db42ebe672a208964ce3602f749fb66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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; }
    }
}