forked from tengge1/DTcms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite_channel.cs
126 lines (124 loc) · 3.09 KB
/
site_channel.cs
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
using System;
using System.Collections.Generic;
namespace DTcms.Model
{
/// <summary>
/// 系统频道表
/// </summary>
[Serializable]
public partial class site_channel
{
public site_channel()
{ }
#region Model
private int _id;
private int _site_id = 0;
private string _name = string.Empty;
private string _title = string.Empty;
private int _is_comment = 0;
private int _is_albums = 0;
private int _is_attach = 0;
private int _is_spec = 0;
private int _is_contribute = 0;
private int _sort_id = 99;
private int _is_lock = 0;
/// <summary>
/// 自增ID
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
/// 站点ID
/// </summary>
public int site_id
{
set { _site_id = value; }
get { return _site_id; }
}
/// <summary>
/// 频道名称
/// </summary>
public string name
{
set { _name = value; }
get { return _name; }
}
/// <summary>
/// 频道标题
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
/// 是否开启评论
/// </summary>
public int is_comment
{
set { _is_comment = value; }
get { return _is_comment; }
}
/// <summary>
/// 是否开启相册功能
/// </summary>
public int is_albums
{
set { _is_albums = value; }
get { return _is_albums; }
}
/// <summary>
/// 是否开启附件功能
/// </summary>
public int is_attach
{
set { _is_attach = value; }
get { return _is_attach; }
}
/// <summary>
/// 是否开启用户组价格
/// </summary>
public int is_spec
{
set { _is_spec = value; }
get { return _is_spec; }
}
/// <summary>
/// 是否允许投稿
/// </summary>
public int is_contribute
{
set { _is_contribute = value; }
get { return _is_contribute; }
}
/// <summary>
/// 排序数字
/// </summary>
public int sort_id
{
set { _sort_id = value; }
get { return _sort_id; }
}
/// <summary>
/// 状态0启用1禁用
/// </summary>
public int is_lock
{
set { _is_lock = value; }
get { return _is_lock; }
}
private List<site_channel_field> _channel_fields;
/// <summary>
/// 扩展字段
/// </summary>
public List<site_channel_field> channel_fields
{
set { _channel_fields = value; }
get { return _channel_fields; }
}
#endregion
}
}