/**
|
* 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
|
{
|
/// <summary>
|
/// 印刷参数
|
/// </summary>
|
[Serializable]
|
public partial class OA_Kaipiaoshenqing : IAggregateRoot
|
{
|
|
public OA_Kaipiaoshenqing()
|
{
|
}
|
#region Model
|
/// <summary>
|
/// id
|
/// </summary>
|
public Guid Keyid { get; set; }
|
/// <summary>
|
/// FirmId
|
/// </summary>
|
public Guid FirmId { get; set; }
|
/// <summary>
|
/// 客户id
|
/// </summary>
|
public Guid BuyerId { get; set; }
|
/// <summary>
|
/// 客户id
|
/// </summary>
|
public string BuyerName { get; set; }
|
|
public int? BusinessManagerId { get; set; }
|
|
/// <summary>
|
/// 审核状态/未审核0,批准1,不批准2,已结束3
|
/// </summary>
|
public int? ApprovalStatus { get; set; }
|
|
public decimal? Zengjianmoney { get; set; }
|
|
public decimal? kpmoney { get; set; }
|
|
|
public string BusinessManager { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string remark { get; set; }
|
|
public int? Kaipiaoshenqing
|
{
|
get;
|
set;
|
}
|
|
public string KaipiaoshenqingName { get; set; }
|
public int? Kehuqianshou
|
{
|
get;
|
set;
|
}
|
public string KehuqianshouName { get; set; }
|
public DateTime? KehuqianshouTime { get; set; }
|
|
public Guid? KehuqianshouCreater
|
{
|
get;
|
set;
|
}
|
|
public DateTime? KaipiaoquerenTime { get; set; }
|
|
public Guid? KaipiaoquerenCreater
|
{
|
get;
|
set;
|
}
|
|
|
|
/// <summary>
|
/// 创建人
|
/// </summary>
|
public Guid? Creater
|
{
|
get;
|
set;
|
}
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
public DateTime? CreateTime
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 修改人
|
/// </summary>
|
public Guid? Updater
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 修改时间
|
/// </summary>
|
public DateTime? LastUpdateTime
|
{
|
get;
|
set;
|
}
|
|
public int? shuliang
|
{
|
get;
|
set;
|
}
|
|
public decimal? jine
|
{
|
get;
|
set;
|
}
|
|
public string SellerOrderId
|
{
|
get;
|
set;
|
}
|
public string Kehuqianshoutupian
|
{
|
get;
|
set;
|
}
|
public int? Dingdanshu
|
{
|
get;
|
set;
|
}
|
public string Fapiaohao
|
{
|
get;
|
set;
|
}
|
public decimal? Huikuanmoney
|
{
|
get;
|
set;
|
}
|
//催款时间
|
public DateTime? ShoukuanTime
|
{
|
get;
|
set;
|
}
|
|
/// <summary>
|
/// 申请类型
|
/// </summary>
|
public string Shenqingleixing { get; set; }
|
|
|
|
/// <summary>
|
/// 客户收款金额
|
/// </summary>
|
public decimal? Kehumoney
|
{
|
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.ConvertToGuid(value) : Keyid;
|
theValue = this.Keyid;
|
}
|
else if ("FirmId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
|
{
|
this.FirmId = isChange ? MyConvert.ConvertToGuid(value) : FirmId;
|
theValue = this.FirmId;
|
}
|
else if ("BuyerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
|
{
|
this.BuyerId = isChange ? MyConvert.ConvertToGuid(value) : BuyerId;
|
theValue = this.BuyerId;
|
}
|
else if ("BuyerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
|
{
|
this.BuyerName = isChange ? MyConvert.ConvertToString(value) : BuyerName;
|
theValue = this.BuyerName;
|
}
|
|
else if ("BusinessManagerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.BusinessManagerId = isChange ? MyConvert.ConvertToInt32(value) : BusinessManagerId;
|
theValue = this.BusinessManagerId;
|
}
|
else if ("BusinessManager".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
|
{
|
this.BusinessManager = isChange ? MyConvert.ConvertToString(value) : BusinessManager;
|
theValue = this.BusinessManager;
|
}
|
else if ("Kaipiaoshenqing".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
|
{
|
this.Kaipiaoshenqing = isChange ? MyConvert.ConvertToInt32(value) : Kaipiaoshenqing;
|
theValue = this.Kaipiaoshenqing;
|
}
|
else if ("KaipiaoshenqingName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
|
{
|
this.KaipiaoshenqingName = isChange ? MyConvert.ConvertToString(value) : KaipiaoshenqingName;
|
theValue = this.KaipiaoshenqingName;
|
}
|
else if ("Kehuqianshou".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
|
{
|
this.Kehuqianshou = isChange ? MyConvert.ConvertToInt32(value) : Kehuqianshou;
|
theValue = this.Kehuqianshou;
|
}
|
else if ("KehuqianshouName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.KehuqianshouName = isChange ? MyConvert.ConvertToString(value) : KehuqianshouName;
|
theValue = this.KehuqianshouName;
|
}
|
else if ("KehuqianshouTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
|
{
|
this.KehuqianshouTime = isChange ? MyConvert.ConvertToDateTime(value) : KehuqianshouTime;
|
theValue = this.KehuqianshouTime;
|
}
|
else if ("KehuqianshouCreater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
|
{
|
this.KehuqianshouCreater = isChange ? MyConvert.ConvertToGuid(value) : KehuqianshouCreater;
|
theValue = this.KehuqianshouCreater;
|
}
|
else if ("KaipiaoquerenTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
|
{
|
this.KaipiaoquerenTime = isChange ? MyConvert.ConvertToDateTime(value) : KaipiaoquerenTime;
|
theValue = this.KaipiaoquerenTime;
|
}
|
else if ("KaipiaoquerenCreater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
|
{
|
this.KaipiaoquerenCreater = isChange ? MyConvert.ConvertToGuid(value) : KaipiaoquerenCreater;
|
theValue = this.KaipiaoquerenCreater;
|
}
|
|
|
|
|
|
|
else if ("Creater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
|
{
|
this.Creater = isChange ? MyConvert.ConvertToGuid(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.ConvertToGuid(value) : Updater;
|
theValue = this.Updater;
|
}
|
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
|
{
|
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
|
theValue = this.LastUpdateTime;
|
}
|
|
else if ("shuliang".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
|
{
|
this.shuliang = isChange ? MyConvert.ConvertToInt32(value) : shuliang;
|
theValue = this.shuliang;
|
}
|
else if ("jine".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
|
{
|
this.jine = isChange ? MyConvert.ConvertToDecimal(value) : jine;
|
theValue = this.jine;
|
}
|
else if ("SellerOrderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
|
{
|
this.SellerOrderId = isChange ? MyConvert.ConvertToString(value) : SellerOrderId;
|
theValue = this.SellerOrderId;
|
}
|
else if ("remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
|
{
|
this.remark = isChange ? MyConvert.ConvertToString(value) : remark;
|
theValue = this.remark;
|
}
|
else if ("ApprovalStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
|
{
|
this.ApprovalStatus = isChange ? MyConvert.ConvertToInt32(value) : ApprovalStatus;
|
theValue = this.ApprovalStatus;
|
}
|
else if ("Zengjianmoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
|
{
|
this.Zengjianmoney = isChange ? MyConvert.ConvertToDecimal(value) : Zengjianmoney;
|
theValue = this.Zengjianmoney;
|
}
|
else if ("Kehuqianshoutupian".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
|
{
|
this.Kehuqianshoutupian = isChange ? MyConvert.ConvertToString(value) : Kehuqianshoutupian;
|
theValue = this.Kehuqianshoutupian;
|
}
|
else if ("Dingdanshu".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
|
{
|
this.Dingdanshu = isChange ? MyConvert.ConvertToInt32(value) : Dingdanshu;
|
theValue = this.Dingdanshu;
|
}
|
else if ("Fapiaohao".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
|
{
|
this.Fapiaohao = isChange ? MyConvert.ConvertToString(value) : Fapiaohao;
|
theValue = this.Fapiaohao;
|
}
|
else if ("Huikuanmoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
|
{
|
this.Huikuanmoney = isChange ? MyConvert.ConvertToDecimal(value) : Huikuanmoney;
|
theValue = this.Huikuanmoney;
|
}
|
else if ("ShoukuanTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
|
{
|
this.ShoukuanTime = isChange ? MyConvert.ConvertToDateTime(value) : ShoukuanTime;
|
theValue = this.ShoukuanTime;
|
}
|
else if ("kpmoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
|
{
|
this.kpmoney = isChange ? MyConvert.ConvertToDecimal(value) : kpmoney;
|
theValue = this.kpmoney;
|
}
|
else if ("Shenqingleixing".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
|
{
|
this.Shenqingleixing = isChange ? MyConvert.ConvertToString(value) : Shenqingleixing;
|
theValue = this.Shenqingleixing;
|
}
|
else if ("Kehumoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
|
{
|
this.Kehumoney = isChange ? MyConvert.ConvertToDecimal(value) : Kehumoney;
|
theValue = this.Kehumoney;
|
}
|
|
|
return theValue;
|
}
|
|
#endregion
|
}
|
}
|