forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInputInfo.cs
More file actions
50 lines (39 loc) · 1.28 KB
/
InputInfo.cs
File metadata and controls
50 lines (39 loc) · 1.28 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
using System;
namespace SiteServer.CMS.Model
{
public class InputInfo
{
public InputInfo()
{
InputId = 0;
InputName = string.Empty;
PublishmentSystemId = 0;
AddDate = DateTime.Now;
IsChecked = true;
IsReply = false;
Taxis = 0;
SettingsXml = string.Empty;
}
public InputInfo(int inputId, string inputName, int publishmentSystemId, DateTime addDate, bool isChecked, bool isReply, int taxis, string settingsXml)
{
InputId = inputId;
InputName = inputName;
PublishmentSystemId = publishmentSystemId;
AddDate = addDate;
IsChecked = isChecked;
IsReply = isReply;
Taxis = taxis;
SettingsXml = settingsXml;
}
public int InputId { get; set; }
public string InputName { get; set; }
public int PublishmentSystemId { get; set; }
public DateTime AddDate { get; set; }
public bool IsChecked { get; set; }
public bool IsReply { get; set; }
public int Taxis { get; set; }
public string SettingsXml { get; set; }
private InputInfoExtend _additional;
public InputInfoExtend Additional => _additional ?? (_additional = new InputInfoExtend(SettingsXml));
}
}