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
|
}
|
}
|