forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContentCheckInfo.cs
More file actions
59 lines (46 loc) · 1.45 KB
/
ContentCheckInfo.cs
File metadata and controls
59 lines (46 loc) · 1.45 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
namespace SiteServer.CMS.Model
{
public class ContentCheckInfo
{
public ContentCheckInfo()
{
Id = 0;
TableName = string.Empty;
SiteId = 0;
ChannelId = 0;
ContentId = 0;
IsAdmin = false;
UserName = string.Empty;
IsChecked = false;
CheckedLevel = 0;
CheckDate = DateTime.Now;
Reasons = string.Empty;
}
public ContentCheckInfo(int id, string tableName, int siteId, int channelId, int contentId, bool isAdmin, string userName, bool isChecked, int checkedLevel, DateTime checkDate, string reasons)
{
Id = id;
TableName = tableName;
SiteId = siteId;
ChannelId = channelId;
ContentId = contentId;
IsAdmin = isAdmin;
UserName = userName;
IsChecked = isChecked;
CheckedLevel = checkedLevel;
CheckDate = checkDate;
Reasons = reasons;
}
public int Id { get; set; }
public string TableName { get; set; }
public int SiteId { get; set; }
public int ChannelId { get; set; }
public int ContentId { get; set; }
public bool IsAdmin { get; set; }
public string UserName { get; set; }
public bool IsChecked { get; set; }
public int CheckedLevel { get; set; }
public DateTime CheckDate { get; set; }
public string Reasons { get; set; }
}
}