/**
* OA_CorporateClients.cs
*
* 功 能: N/A
* 类 名: OA_CorporateClients
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2013-4-2 14:27:43 N/A 初版
*
*
*
*
*
*
*/
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
///
/// 印刷参数
///
[Serializable]
public partial class OA_KaipiaoJineQuerendetail : IAggregateRoot
{
public OA_KaipiaoJineQuerendetail()
{
}
#region Model
///
/// id
///
public int Keyid { get; set; }
///
/// FirmId
///
public int? KaipiaoJineQuerenId { get; set; }
///
/// 客户id
///
public Guid KaipiaoshenqingId { get; set; }
///
public decimal? Hexiaomoney { get; set; }
///
/// 创建人
///
public string Creater
{
get;
set;
}
///
/// 创建时间
///
public DateTime? CreateTime
{
get;
set;
}
///
/// 修改人
///
public string Updater
{
get;
set;
}
///
/// 修改时间
///
public DateTime? LastUpdateTime
{
get;
set;
}
#endregion Model
#region Visiter
///
/// 属性访问器
///
/// 属性名
/// 索引
/// 是否将指定属性设置为传入值
/// 需要赋予的值
/// 与名称对应的属性值
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).Value : Keyid;
theValue = this.Keyid;
}
else if ("KaipiaoJineQuerenId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
{
this.KaipiaoJineQuerenId = isChange ? MyConvert.ConvertToInt32(value) : KaipiaoJineQuerenId;
theValue = this.KaipiaoJineQuerenId;
}
else if ("KaipiaoshenqingId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
{
this.KaipiaoshenqingId = isChange ? MyConvert.ConvertToGuid(value) : KaipiaoshenqingId;
theValue = this.KaipiaoshenqingId;
}
else if ("Hexiaomoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
{
this.Hexiaomoney = isChange ? MyConvert.ConvertToDecimal(value) : Hexiaomoney;
theValue = this.Hexiaomoney;
}
else if ("Creater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
{
this.Creater = isChange ? MyConvert.ConvertToString(value) : Creater;
theValue = this.Creater;
}
else if ("CreateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
{
this.CreateTime = isChange ? MyConvert.ConvertToDateTime(value) : CreateTime;
theValue = this.CreateTime;
}
else if ("Updater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
{
this.Updater = isChange ? MyConvert.ConvertToString(value) : Updater;
theValue = this.Updater;
}
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
{
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
theValue = this.LastUpdateTime;
}
return theValue;
}
#endregion
}
}