/**
*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_Kaipiaonewhuikuan : IAggregateRoot
{
#region Model
///
/// Keyid
///
public int Keyid { get; set; }
///
/// KaipiaoId
///
public Guid KaipiaoId { get; set; }
///
/// 创建人
///
public string Creater
{
get;
set;
}
///
/// 创建时间
///
public DateTime? CreateTime
{
get;
set;
}
///
/// 创建时间
///
public DateTime? huikuanTime
{
get;
set;
}
///
/// 创建时间
///
public decimal? Huikuanmoney
{
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 ("FirmId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
{
this.KaipiaoId = isChange ? MyConvert.ConvertToGuid(value) : KaipiaoId;
theValue = this.KaipiaoId;
}
else if ("Creater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
{
this.Creater = isChange ? MyConvert.ConvertToString(value) : Creater;
theValue = this.Creater;
}
else if ("CreateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
{
this.CreateTime = isChange ? MyConvert.ConvertToDateTime(value) : CreateTime;
theValue = this.CreateTime;
}
else if ("huikuanTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
{
this.huikuanTime = isChange ? MyConvert.ConvertToDateTime(value) : huikuanTime;
theValue = this.huikuanTime;
}
else if ("Huikuanmoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
{
this.Huikuanmoney = isChange ? MyConvert.ConvertToDecimal(value) : Huikuanmoney;
theValue = this.Huikuanmoney;
}
return theValue;
}
#endregion
}
}