~jpgleeson/caint

ref: 6f3be0f7da2c8dd98496502b86b5c40592f7ae25 caint/Models/Comment.cs -rw-r--r-- 533 bytes
6f3be0f7 — jpgleeson OwnerId added to models 1 year, 6 months ago
                                                                                
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
29
namespace caint.Models
{
    public class Comment
    {
        public long id { get; set; }

        public string name { get; set; }

        public string body { get; set; }

        public long threadId {  get; set;   }

        public bool approved {  get; set;   }

        public string ownerId { get; set; }

    }

    public class CommentDTO
    {
        public long id { get; set; }

        public string name { get; set; }

        public string body { get; set; }

        public long threadId {  get; set;   }
    }
}