username@email.com
2022-01-21 b18a7c8e54b51a5caa400e55cb8cc428c0301a0c
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
 
namespace CY.Model
{
    [Serializable]
    /// <summary>
    /// ¹ã¸æÎ»ÖÃ
    /// </summary>
    public partial class Info_AdLoction : IAggregateRoot
    {
        /// <summary>
        /// ¹ã¸æÎ»ÖÃ
        /// </summary>
        public Info_AdLoction()
        {}
 
        #region Model
        private int? _keyid;
        private string _ap_title;
        private int? _ap_widepixels;
        private int? _ap_highpixels;
        private string _ap_defaultimg;
        private DateTime? _lastupdatetime;
        private string _operator;
        private int? _remark;
        /// <summary>
        /// Ö÷¼ü--±êʶID
        /// </summary>
        public int? Keyid
        {
            set{ _keyid=value;}
            get{return _keyid;}
        }
        /// <summary>
        /// ±êÌâ
        /// </summary>
        public string AP_Title
        {
            set{ _ap_title=value;}
            get{return _ap_title;}
        }
        /// <summary>
        /// ÏñËØ¿í
        /// </summary>
        public int? AP_WidePixels
        {
            set{ _ap_widepixels=value;}
            get{return _ap_widepixels;}
        }
        /// <summary>
        /// ÏñËØ¸ß
        /// </summary>
        public int? AP_HighPixels
        {
            set{ _ap_highpixels=value;}
            get{return _ap_highpixels;}
        }
        /// <summary>
        /// ±¸×¢
        /// </summary>
        public string AP_DefaultImg
        {
            set{ _ap_defaultimg=value;}
            get{return _ap_defaultimg;}
        }
        /// <summary>
        /// ¸üÐÂʼþ
        /// </summary>
        public DateTime? LastUpdateTime
        {
            set{ _lastupdatetime=value;}
            get{return _lastupdatetime;}
        }
        /// <summary>
        /// ²Ù×÷ÈË
        /// </summary>
        public string Operator
        {
            set{ _operator=value;}
            get{return _operator;}
        }
        /// <summary>
        /// ËùÔÚ°æ¿é
        /// </summary>
        public int? Remark
        {
            set{ _remark=value;}
            get{return _remark;}
        }
        /// <summary>
        /// ¼Û¸ñÒ»¸öÔÂ
        /// </summary>
        public decimal? Price_Month
        {
            get;
            set;
        }
        /// <summary>
        /// ¼Û¸ñÒ»¼¾¶È
        /// </summary>
        public decimal? Price_Season
        {
            get;
            set;
        }
        /// <summary>
        /// ¼Û¸ñ°ëÄê
        /// </summary>
        public decimal? Price_Half
        {
            get;
            set;
        }
        /// <summary>
        /// ¼Û¸ñÒ»Äê
        /// </summary>
        public decimal? Price_Year
        {
            get;
            set;
        }
        /// <summary>
        /// ÅÅÐò
        /// </summary>
        public int? OrderNum
        {
            get;
            set;
        }
 
        /// <summary>
        /// ËùÔÚ°æ¿éÃû³Æ
        /// </summary>
        public string RemarkName
        {
            get;
            set;
        }
        #endregion Model
 
        #region Visiter
 
        /// <summary>
        /// ÊôÐÔ·ÃÎÊÆ÷
        /// </summary>
        /// <param name="name">ÊôÐÔÃû</param>
        /// <param name="index">Ë÷Òý</param>
        /// <param name="isChange">ÊÇ·ñ½«Ö¸¶¨ÊôÐÔÉèÖÃΪ´«ÈëÖµ</param>
        /// <param name="value">ÐèÒª¸³ÓèµÄÖµ</param>
        /// <returns>ÓëÃû³Æ¶ÔÓ¦µÄÊôÐÔÖµ</returns>
        public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
        {
            object theValue = null;
 
            if ("Keyid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1)
            {
                this.Keyid = isChange ? MyConvert.ConvertToInt32(value) : Keyid;
                theValue = this.Keyid;
            }
            else if ("AP_Title".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
            {
                this.AP_Title = isChange ? MyConvert.ConvertToString(value) : AP_Title;
                theValue = this.AP_Title;
            }
            else if ("AP_WidePixels".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
            {
                this.AP_WidePixels = isChange ? MyConvert.ConvertToInt32(value) : AP_WidePixels;
                theValue = this.AP_WidePixels;
            }
            else if ("AP_HighPixels".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
            {
                this.AP_HighPixels = isChange ? MyConvert.ConvertToInt32(value) : AP_HighPixels;
                theValue = this.AP_HighPixels;
            }
            else if ("AP_DefaultImg".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
            {
                this.AP_DefaultImg = isChange ? MyConvert.ConvertToString(value) : AP_DefaultImg;
                theValue = this.AP_DefaultImg;
            }
            else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
            {
                this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
                theValue = this.LastUpdateTime;
            }
            else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
            {
                this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
                theValue = this.Operator;
            }
            else if ("Remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
            {
                this.Remark = isChange ? MyConvert.ConvertToInt32(value) : Remark;
                theValue = this.Remark;
            }
            else if ("RemarkName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
            {
                this.RemarkName = isChange ? MyConvert.ConvertToString(value) : RemarkName;
                theValue = this.RemarkName;
            }
            else if ("Price_Month".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
            {
                this.Price_Month = isChange ? MyConvert.ConvertToDecimal(value) : Price_Month;
                theValue = this.Price_Month;
            }
            else if ("Price_Season".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
            {
                this.Price_Season = isChange ? MyConvert.ConvertToDecimal(value) : Price_Season;
                theValue = this.Price_Season;
            }
            else if ("Price_Half".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
            {
                this.Price_Half = isChange ? MyConvert.ConvertToDecimal(value) : Price_Half;
                theValue = this.Price_Half;
            }
            else if ("Price_Year".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
            {
                this.Price_Year = isChange ? MyConvert.ConvertToDecimal(value) : Price_Year;
                theValue = this.Price_Year;
            }
            else if ("OrderNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
            {
                this.OrderNum = isChange ? MyConvert.ConvertToInt32(value) : OrderNum;
                theValue = this.OrderNum;
            }
            return theValue;
        }
        #endregion
    }
}