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
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
 
namespace CY.Model
{
    /// <summary>
    /// ÁªÃË»ù´¡ÐÅÏ¢
    /// </summary>
    [Serializable]
    public partial class Info_AllianceBasic : IAggregateRoot
    {
        public Info_AllianceBasic()
        {}
        #region Model
        private int? _keyid;
        private string _b_allianceadvantage;
        private string _b_conditionscooperation;
        private string _b_alliancefoot;
        private string _b_contactpeople;
        private string _b_contactphone;
        private string _b_contactemail;
        private string _b_contactqq;
        private DateTime? _lastupdatetime;
        private string _operator;
        /// <summary>
        /// ±àºÅ
        /// </summary>
        public int? Keyid
        {
            set{ _keyid=value;}
            get{return _keyid;}
        }
        /// <summary>
        /// ÁªÃËÓÅÊÆ
        /// </summary>
        public string B_AllianceAdvantage
        {
            set{ _b_allianceadvantage=value;}
            get{return _b_allianceadvantage;}
        }
        /// <summary>
        /// ºÏ×÷Ìõ¼þ
        /// </summary>
        public string B_ConditionsCooperation
        {
            set{ _b_conditionscooperation=value;}
            get{return _b_conditionscooperation;}
        }
        /// <summary>
        /// µ×²¿ÐÅÏ¢
        /// </summary>
        public string B_AllianceFoot
        {
            set{ _b_alliancefoot=value;}
            get{return _b_alliancefoot;}
        }
        /// <summary>
        /// ÁªÏµÈË
        /// </summary>
        public string B_ContactPeople
        {
            set{ _b_contactpeople=value;}
            get{return _b_contactpeople;}
        }
        /// <summary>
        /// ÁªÏµµç»°
        /// </summary>
        public string B_ContactPhone
        {
            set{ _b_contactphone=value;}
            get{return _b_contactphone;}
        }
        /// <summary>
        /// µç×ÓÓÊÏä
        /// </summary>
        public string B_ContactEmail
        {
            set{ _b_contactemail=value;}
            get{return _b_contactemail;}
        }
        /// <summary>
        /// ÁªÏµQQ
        /// </summary>
        public string B_ContactQQ
        {
            set{ _b_contactqq=value;}
            get{return _b_contactqq;}
        }
        /// <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 string Process
        {
            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 ("B_AllianceAdvantage".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
            {
                this.B_AllianceAdvantage = isChange ? MyConvert.ConvertToString(value) : B_AllianceAdvantage;
                theValue = this.B_AllianceAdvantage;
            }
            else if ("B_ConditionsCooperation".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
            {
                this.B_ConditionsCooperation = isChange ? MyConvert.ConvertToString(value) : B_ConditionsCooperation;
                theValue = this.B_ConditionsCooperation;
            }
            else if ("B_AllianceFoot".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
            {
                this.B_AllianceFoot = isChange ? MyConvert.ConvertToString(value) : B_AllianceFoot;
                theValue = this.B_AllianceFoot;
            }
            else if ("B_ContactPeople".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
            {
                this.B_ContactPeople = isChange ? MyConvert.ConvertToString(value) : B_ContactPeople;
                theValue = this.B_ContactPeople;
            }
            else if ("B_ContactPhone".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
            {
                this.B_ContactPhone = isChange ? MyConvert.ConvertToString(value) : B_ContactPhone;
                theValue = this.B_ContactPhone;
            }
            else if ("B_ContactEmail".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
            {
                this.B_ContactEmail = isChange ? MyConvert.ConvertToString(value) : B_ContactEmail;
                theValue = this.B_ContactEmail;
            }
            else if ("B_ContactQQ".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
            {
                this.B_ContactQQ = isChange ? MyConvert.ConvertToString(value) : B_ContactQQ;
                theValue = this.B_ContactQQ;
            }
            else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
            {
                this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
                theValue = this.LastUpdateTime;
            }
            else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
            {
                this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
                theValue = this.Operator;
            }
            else if ("Process".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
            {
                this.Process = isChange ? MyConvert.ConvertToString(value) : Process;
                theValue = this.Process;
            }
            
            return theValue;
        }
        #endregion
    }
}