forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChannel.cs
More file actions
109 lines (73 loc) · 2.67 KB
/
Channel.cs
File metadata and controls
109 lines (73 loc) · 2.67 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
using System;
using System.Collections.Generic;
using Datory;
using Datory.Annotations;
using SSCMS.Enums;
namespace SSCMS.Models
{
[DataTable("siteserver_Channel")]
public class Channel : Entity, IChannelSummary
{
[DataColumn]
public string ChannelName { get; set; }
[DataColumn]
public int SiteId { get; set; }
[DataColumn]
public string ContentModelPluginId { get; set; }
[DataColumn]
public List<string> ContentRelatedPluginIds { get; set; }
[DataColumn]
public int ParentId { get; set; }
[DataColumn]
public string ParentsPath { get; set; }
[DataColumn]
public int ParentsCount { get; set; }
[DataColumn]
public int ChildrenCount { get; set; }
[DataColumn]
public string IndexName { get; set; }
[DataColumn]
public List<string> GroupNames { get; set; }
[DataColumn]
public int Taxis { get; set; }
[DataColumn]
public DateTime? AddDate { get; set; }
[DataColumn]
public string ImageUrl { get; set; }
[DataColumn(Text = true)]
public string Content { get; set; }
[DataColumn]
public string FilePath { get; set; }
[DataColumn]
public string ChannelFilePathRule { get; set; }
[DataColumn]
public string ContentFilePathRule { get; set; }
[DataColumn]
public string LinkUrl { get; set; }
[DataColumn]
public LinkType LinkType { get; set; }
[DataColumn]
public int ChannelTemplateId { get; set; }
[DataColumn]
public int ContentTemplateId { get; set; }
[DataColumn]
public string Keywords { get; set; }
[DataColumn]
public string Description { get; set; }
public IList<Channel> Children { get; set; }
public bool IsCreateChannelIfContentChanged { get; set; } = true;
public string CreateChannelIdsIfContentChanged { get; set; }
public string ListColumns { get; set; }
public TransType TransType { get; set; }
public int TransSiteId { get; set; }
public string TransChannelIds { get; set; }
public string TransChannelNames { get; set; }
public bool TransIsAutomatic { get; set; }
//跨站转发操作类型:复制 引用地址 引用内容
public TranslateContentType TransDoneType { get; set; }
public bool IsPreviewContentsExists { get; set; }
public TaxisType DefaultTaxisType { get; set; } = TaxisType.OrderByTaxisDesc;
//显示下级栏目内容
public bool IsAllContents { get; set; }
}
}