forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdAreaInfo.cs
More file actions
88 lines (77 loc) · 2.01 KB
/
AdAreaInfo.cs
File metadata and controls
88 lines (77 loc) · 2.01 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
using System;
namespace SiteServer.CMS.Model
{
public class AdAreaInfo
{
private int adAreaID;
private int publishmentSystemID;
private string adAreaName;
private int width;
private int height;
private string summary;
private bool isEnabled;
private DateTime addDate;
public AdAreaInfo()
{
adAreaID = 0;
publishmentSystemID = 0;
adAreaName = string.Empty;
width = 0;
height = 0;
summary = string.Empty;
isEnabled = true;
addDate = DateTime.Now;
}
public AdAreaInfo(int adAreaID, int publishmentSystemID, string adAreaName, int width, int height, string summary, bool isEnabled, DateTime addDate)
{
this.adAreaID = adAreaID;
this.publishmentSystemID = publishmentSystemID;
this.adAreaName = adAreaName;
this.width = width;
this.height = height;
this.summary = summary;
this.isEnabled = isEnabled;
this.addDate = addDate;
}
public int AdAreaID
{
get { return adAreaID; }
set { adAreaID = value; }
}
public int PublishmentSystemID
{
get{ return publishmentSystemID; }
set{ publishmentSystemID = value; }
}
public string AdAreaName
{
get { return adAreaName; }
set { adAreaName = value; }
}
public int Width
{
get { return width; }
set { width = value; }
}
public int Height
{
get { return height; }
set { height = value; }
}
public string Summary
{
get { return summary; }
set { summary = value; }
}
public bool IsEnabled
{
get { return isEnabled; }
set { isEnabled = value; }
}
public DateTime AddDate
{
get{ return addDate ; }
set { addDate = value; }
}
}
}