/**
|
* 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_CorporateClients : IAggregateRoot
|
{
|
public OA_CorporateClients()
|
{
|
}
|
#region Model
|
private Guid _keyid;
|
private Guid _firmid;
|
private int? _customerid;
|
private string _companyname;
|
private int? _customerindustriesid;
|
private int? _customertypeid;
|
private int? _sourcesinfoid;
|
private int? _degreeimportanid;
|
private int? _accountmanagerid;
|
private int? _businessmanagerid;
|
private DateTime? _createtime;
|
private int? _creditid;
|
private string _loginphone;
|
private string _corporatewebsite;
|
private int? _businessanalysisid;
|
private decimal? _credit;
|
private bool _islogincorporateweb;
|
private string _bank;
|
private string _taxid;
|
private string _accountid;
|
private int? _ordercount;
|
private decimal? _ordermoney;
|
private DateTime? _lastordertime;
|
private decimal? _prepayments;
|
private decimal? _allPrepayments;
|
private bool _isoutsourcing;
|
private string _outvendorname;
|
private bool _ispriority;
|
private decimal? _cumulativeprepayments;
|
private DateTime? _lastupdatetime;
|
private string _operator;
|
private string _remark;
|
private Guid _inquiryid;
|
private Guid _memberid;
|
private string _businessmanagerName;
|
private string _accountmanagerName;
|
public int? Keyid1
|
{
|
get;set;
|
}
|
|
/// <summary>
|
/// 客户经理
|
/// </summary>
|
public string AccountmanagerName
|
{
|
get
|
{
|
return _accountmanagerName;
|
}
|
set
|
{
|
_accountmanagerName = value;
|
}
|
}
|
/// <summary>
|
/// 业务经理
|
/// </summary>
|
public string BusinessmanagerName
|
{
|
get
|
{
|
return _businessmanagerName;
|
}
|
set
|
{
|
_businessmanagerName = value;
|
}
|
}
|
/// <summary>
|
/// 总的预付款余额
|
/// </summary>
|
public decimal? AllPrepayments
|
{
|
get
|
{
|
return _allPrepayments;
|
}
|
set
|
{
|
_allPrepayments = value;
|
}
|
}
|
/// <summary>
|
/// 数据编号
|
/// </summary>
|
public Guid Keyid
|
{
|
set
|
{
|
_keyid = value;
|
}
|
get
|
{
|
return _keyid;
|
}
|
}
|
/// <summary>
|
/// 关联厂商
|
/// </summary>
|
public Guid FirmId
|
{
|
set
|
{
|
_firmid = value;
|
}
|
get
|
{
|
return _firmid;
|
}
|
}
|
/// <summary>
|
/// 客户编号
|
/// </summary>
|
public int? CustomerId
|
{
|
set
|
{
|
_customerid = value;
|
}
|
get
|
{
|
return _customerid;
|
}
|
}
|
/// <summary>
|
/// 公司全称
|
/// </summary>
|
public string CompanyName
|
{
|
set
|
{
|
_companyname = value;
|
}
|
get
|
{
|
return _companyname;
|
}
|
}
|
/// <summary>
|
/// 客户行业编号
|
/// </summary>
|
public int? CustomerIndustriesId
|
{
|
set
|
{
|
_customerindustriesid = value;
|
}
|
get
|
{
|
return _customerindustriesid;
|
}
|
}
|
/// <summary>
|
/// 客户类型编号
|
/// </summary>
|
public int? CustomerTypeId
|
{
|
set
|
{
|
_customertypeid = value;
|
}
|
get
|
{
|
return _customertypeid;
|
}
|
}
|
/// <summary>
|
/// 信息来源编号
|
/// </summary>
|
public int? SourcesInfoId
|
{
|
set
|
{
|
_sourcesinfoid = value;
|
}
|
get
|
{
|
return _sourcesinfoid;
|
}
|
}
|
/// <summary>
|
/// 重要程度编号
|
/// </summary>
|
public int? DegreeImportanId
|
{
|
set
|
{
|
_degreeimportanid = value;
|
}
|
get
|
{
|
return _degreeimportanid;
|
}
|
}
|
/// <summary>
|
/// 客户经理编号
|
/// </summary>
|
public int? AccountManagerId
|
{
|
set
|
{
|
_accountmanagerid = value;
|
}
|
get
|
{
|
return _accountmanagerid;
|
}
|
}
|
/// <summary>
|
/// 业务经理编号
|
/// </summary>
|
public int? BusinessManagerId
|
{
|
set
|
{
|
_businessmanagerid = value;
|
}
|
get
|
{
|
return _businessmanagerid;
|
}
|
}
|
/// <summary>
|
/// 建立时间
|
/// </summary>
|
public DateTime? CreateTime
|
{
|
set
|
{
|
_createtime = value;
|
}
|
get
|
{
|
return _createtime;
|
}
|
}
|
/// <summary>
|
/// 信誉编号
|
/// </summary>
|
public int? CreditId
|
{
|
set
|
{
|
_creditid = value;
|
}
|
get
|
{
|
return _creditid;
|
}
|
}
|
/// <summary>
|
/// 登录手机
|
/// </summary>
|
public string LoginPhone
|
{
|
set
|
{
|
_loginphone = value;
|
}
|
get
|
{
|
return _loginphone;
|
}
|
}
|
/// <summary>
|
/// 企业网站
|
/// </summary>
|
public string CorporateWebsite
|
{
|
set
|
{
|
_corporatewebsite = value;
|
}
|
get
|
{
|
return _corporatewebsite;
|
}
|
}
|
/// <summary>
|
/// 业务分析量编号
|
/// </summary>
|
public int? BusinessAnalysisId
|
{
|
set
|
{
|
_businessanalysisid = value;
|
}
|
get
|
{
|
return _businessanalysisid;
|
}
|
}
|
/// <summary>
|
/// 授信额度
|
/// </summary>
|
public decimal? Credit
|
{
|
set
|
{
|
_credit = value;
|
}
|
get
|
{
|
return _credit;
|
}
|
}
|
/// <summary>
|
/// 允许登录企业网站
|
/// </summary>
|
public bool IsLoginCorporateWeb
|
{
|
set
|
{
|
_islogincorporateweb = value;
|
}
|
get
|
{
|
return _islogincorporateweb;
|
}
|
}
|
/// <summary>
|
/// 开户行
|
/// </summary>
|
public string Bank
|
{
|
set
|
{
|
_bank = value;
|
}
|
get
|
{
|
return _bank;
|
}
|
}
|
/// <summary>
|
/// 税号
|
/// </summary>
|
public string TaxID
|
{
|
set
|
{
|
_taxid = value;
|
}
|
get
|
{
|
return _taxid;
|
}
|
}
|
/// <summary>
|
/// 账号
|
/// </summary>
|
public string AccountID
|
{
|
set
|
{
|
_accountid = value;
|
}
|
get
|
{
|
return _accountid;
|
}
|
}
|
/// <summary>
|
/// 下单数量
|
/// </summary>
|
public int? OrderCount
|
{
|
set
|
{
|
_ordercount = value;
|
}
|
get
|
{
|
return _ordercount;
|
}
|
}
|
/// <summary>
|
/// 下单产值
|
/// </summary>
|
public decimal? OrderMoney
|
{
|
set
|
{
|
_ordermoney = value;
|
}
|
get
|
{
|
return _ordermoney;
|
}
|
}
|
|
|
/// <summary>
|
/// 最后下单时间
|
/// </summary>
|
public DateTime? LastOrderTime
|
{
|
set
|
{
|
_lastordertime = value;
|
}
|
get
|
{
|
return _lastordertime;
|
}
|
}
|
/// <summary>
|
/// 预付款
|
/// </summary>
|
public decimal? Prepayments
|
{
|
set
|
{
|
_prepayments = value;
|
}
|
get
|
{
|
return _prepayments;
|
}
|
}
|
/// <summary>
|
/// 是否外协
|
/// </summary>
|
public bool IsOutsourcing
|
{
|
set
|
{
|
_isoutsourcing = value;
|
}
|
get
|
{
|
return _isoutsourcing;
|
}
|
}
|
/// <summary>
|
/// 外协厂商名称
|
/// </summary>
|
public string OutVendorName
|
{
|
set
|
{
|
_outvendorname = value;
|
}
|
get
|
{
|
return _outvendorname;
|
}
|
}
|
/// <summary>
|
/// 优先级
|
/// </summary>
|
public bool IsPriority
|
{
|
set
|
{
|
_ispriority = value;
|
}
|
get
|
{
|
return _ispriority;
|
}
|
}
|
/// <summary>
|
/// 累计预付款
|
/// </summary>
|
public decimal? CumulativePrepayments
|
{
|
set
|
{
|
_cumulativeprepayments = value;
|
}
|
get
|
{
|
return _cumulativeprepayments;
|
}
|
}
|
/// <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 Remark
|
{
|
set
|
{
|
_remark = value;
|
}
|
get
|
{
|
return _remark;
|
}
|
}
|
/// <summary>
|
/// 询价编号
|
/// </summary>
|
public Guid InquiryId
|
{
|
set
|
{
|
_inquiryid = value;
|
}
|
get
|
{
|
return _inquiryid;
|
}
|
}
|
/// <summary>
|
/// 客户会员编号
|
/// </summary>
|
public Guid MemberId
|
{
|
set
|
{
|
_memberid = value;
|
}
|
get
|
{
|
return _memberid;
|
}
|
}
|
/// <summary>
|
/// 登录密码
|
/// </summary>
|
public string LoginPwd
|
{
|
set;
|
get;
|
}
|
/// <summary>
|
/// 外协订单金额比例
|
/// </summary>
|
public double? OutRate
|
{
|
get;
|
set;
|
}
|
|
#region 扩展字段
|
|
|
|
#region 2021年修改新增加字段,在本地查询不在存储过程中实现
|
/// <summary>
|
/// 未下单金额
|
/// </summary>
|
public decimal? LessOrderMoneyProperty { get; set; }
|
/// <summary>
|
/// 应收款订单数量
|
/// </summary>
|
public int? NoOverOderCount { get; set; }
|
/// <summary>
|
/// 合同数量
|
/// </summary>
|
public int? ContractCount { get; set; }
|
|
/// <summary>
|
/// 是否需要执行了日常维护
|
/// </summary>
|
private bool? _NeedWiHu;
|
|
public bool? NeedWiHu
|
{
|
get { return _NeedWiHu; }
|
set { _NeedWiHu = value; }
|
}
|
/// <summary>
|
/// 是否需要执行节日维护
|
/// </summary>
|
private bool? _JieJiaRiWiHu;
|
|
public bool? JieJiaRiWiHu
|
{
|
get { return _JieJiaRiWiHu; }
|
set { _JieJiaRiWiHu = value; }
|
}
|
|
#endregion
|
|
|
|
|
|
|
private string _sourcesinfoIdname;
|
private string _customerindustriesidname;
|
private string _customertypeidname;
|
private string _creditidname;
|
private string _degreeimportanidname;
|
private string _ausinessanalysisidname;
|
private string _email;
|
private string _mobile;
|
private string _paytimename;
|
/// <summary>
|
/// 客户信息来源
|
/// </summary>
|
public string SourcesInfoIdName
|
{
|
set
|
{
|
_sourcesinfoIdname = value;
|
}
|
get
|
{
|
return _sourcesinfoIdname;
|
}
|
}
|
/// <summary>
|
/// 客户行业
|
/// </summary>
|
public string CustomerIndustriesIdName
|
{
|
set
|
{
|
_customerindustriesidname = value;
|
}
|
get
|
{
|
return _customerindustriesidname;
|
}
|
}
|
/// <summary>
|
/// 客户类型
|
/// </summary>
|
public string CustomerTypeIdName
|
{
|
set
|
{
|
_customertypeidname = value;
|
}
|
get
|
{
|
return _customertypeidname;
|
}
|
}
|
/// <summary>
|
/// 客户信誉
|
/// </summary>
|
public string CreditIdName
|
{
|
set
|
{
|
_creditidname = value;
|
}
|
get
|
{
|
return _creditidname;
|
}
|
}
|
/// <summary>
|
/// 客户信誉
|
/// </summary>
|
public string Paytimename
|
{
|
set
|
{
|
_paytimename = value;
|
}
|
get
|
{
|
return _paytimename;
|
}
|
}
|
|
/// <summary>
|
/// 客户重要程度
|
/// </summary>
|
public string DegreeImportanIdName
|
{
|
set
|
{
|
_degreeimportanidname = value;
|
}
|
get
|
{
|
return _degreeimportanidname;
|
}
|
}
|
/// <summary>
|
/// 客户业务分析量
|
/// </summary>
|
public string BusinessAnalysisIdName
|
{
|
set
|
{
|
_ausinessanalysisidname = value;
|
}
|
get
|
{
|
return _ausinessanalysisidname;
|
}
|
}
|
/// <summary>
|
/// 邮件地址
|
/// </summary>
|
public string Email
|
{
|
set
|
{
|
_email = value;
|
}
|
get
|
{
|
return _email;
|
}
|
}
|
/// <summary>
|
/// 手机号码
|
/// </summary>
|
public string Mobile
|
{
|
set
|
{
|
_mobile = value;
|
}
|
get
|
{
|
return _mobile;
|
}
|
}
|
/// <summary>
|
/// QQ
|
/// </summary>
|
public string QQ
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 省
|
/// </summary>
|
public string Province
|
{
|
set;
|
get;
|
}
|
/// <summary>
|
/// 市
|
/// </summary>
|
public string City
|
{
|
set;
|
get;
|
}
|
/// <summary>
|
/// 区
|
/// </summary>
|
public string County
|
{
|
set;
|
get;
|
}
|
|
/// <summary>
|
/// 联系电话
|
/// </summary>
|
public string CompanyPhone
|
{
|
set;
|
get;
|
}
|
|
/// <summary>
|
/// 邮编
|
/// </summary>
|
public string Postcode
|
{
|
set;
|
get;
|
}
|
/// <summary>
|
/// 详细地址
|
/// </summary>
|
public string DetailedAddress
|
{
|
set;
|
get;
|
}
|
/// <summary>
|
/// 业务经办人
|
/// </summary>
|
public string BusinessManagers
|
{
|
set;
|
get;
|
}
|
|
private int? _Nupdoor;
|
/// <summary>
|
/// 上门次数
|
/// </summary>
|
public int? Nupdoor
|
{
|
get
|
{
|
return _Nupdoor;
|
}
|
set
|
{
|
_Nupdoor = value;
|
}
|
}
|
private int? _Nphone;
|
/// <summary>
|
/// 电话访问次数
|
/// </summary>
|
public int? Nphone
|
{
|
get
|
{
|
return _Nphone;
|
}
|
set
|
{
|
_Nphone = value;
|
}
|
}
|
private int? _Nmessage;
|
/// <summary>
|
/// 短信访问次数
|
/// </summary>
|
public int? Nmessage
|
{
|
get
|
{
|
return _Nmessage;
|
}
|
set
|
{
|
_Nmessage = value;
|
}
|
}
|
private int? _Nqq;
|
/// <summary>
|
/// qq访问次数
|
/// </summary>
|
public int? Nqq
|
{
|
get
|
{
|
return _Nqq;
|
}
|
set
|
{
|
_Nqq = value;
|
}
|
}
|
private int? _NDirectMail;
|
/// <summary>
|
/// 信函访问次数
|
/// </summary>
|
public int? NDirectMail
|
{
|
get
|
{
|
return _NDirectMail;
|
}
|
set
|
{
|
_NDirectMail = value;
|
}
|
}
|
private int? _Nemial;
|
/// <summary>
|
/// 邮件访问次数
|
/// </summary>
|
public int? Nemial
|
{
|
get
|
{
|
return _Nemial;
|
}
|
set
|
{
|
_Nemial = value;
|
}
|
}
|
private int? _Nall;
|
/// <summary>
|
/// 总的访问次数
|
/// </summary>
|
public int? Nall
|
{
|
get
|
{
|
return _Nall;
|
}
|
set
|
{
|
_Nall = value;
|
}
|
}
|
|
/// <summary>
|
/// 所有剩余金额
|
/// </summary>
|
public decimal? SumAllPrepayments
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 所有授信
|
/// </summary>
|
public decimal? SumAllCredit
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 所有订单金额
|
/// </summary>
|
public decimal? SumAllOrderMoney
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 法人代表
|
/// </summary>
|
public string LegalRepresentative
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 付款时间
|
/// </summary>
|
public int? Paytime
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 天
|
/// </summary>
|
public int? Paydays
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 中标公司
|
/// </summary>
|
public int? Biddingcompany
|
{
|
get;
|
set;
|
}
|
public string BiddingcompanyName
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 合同类型
|
/// </summary>
|
public int? Contracttype
|
{
|
get;
|
set;
|
}
|
public string ContracttypeName
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 合同金额
|
/// </summary>
|
public decimal? Contractmoney
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 到期类型
|
/// </summary>
|
public int? Expiretype
|
{
|
get;
|
set;
|
}
|
public string ExpiretypeName
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 到期时间
|
/// </summary>
|
public DateTime? ExpireTime
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 机构代码
|
/// </summary>
|
public string Jigoudaima
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 票据
|
/// </summary>
|
public int? Piaoju
|
{
|
get;
|
set;
|
}
|
public string PiaojuName
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 开票资料
|
/// </summary>
|
public string Kaipiaoziliao
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 是否完结
|
/// </summary>
|
public int? Shifouwanjie
|
{
|
get;
|
set;
|
}
|
public string ShifouwanjieName
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 注意事项
|
/// </summary>
|
public string Note
|
{
|
get;
|
set;
|
}
|
|
|
#endregion
|
|
#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 ("CustomerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
|
{
|
this.CustomerId = isChange ? MyConvert.ConvertToInt32(value) : CustomerId;
|
theValue = this.CustomerId;
|
}
|
else if ("CompanyName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
|
{
|
this.CompanyName = isChange ? MyConvert.ConvertToString(value) : CompanyName;
|
theValue = this.CompanyName;
|
}
|
else if ("CustomerIndustriesId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.CustomerIndustriesId = isChange ? MyConvert.ConvertToInt32(value) : CustomerIndustriesId;
|
theValue = this.CustomerIndustriesId;
|
}
|
else if ("CustomerTypeId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
|
{
|
this.CustomerTypeId = isChange ? MyConvert.ConvertToInt32(value) : CustomerTypeId;
|
theValue = this.CustomerTypeId;
|
}
|
else if ("SourcesInfoId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
|
{
|
this.SourcesInfoId = isChange ? MyConvert.ConvertToInt32(value) : SourcesInfoId;
|
theValue = this.SourcesInfoId;
|
}
|
else if ("DegreeImportanId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
|
{
|
this.DegreeImportanId = isChange ? MyConvert.ConvertToInt32(value) : DegreeImportanId;
|
theValue = this.DegreeImportanId;
|
}
|
else if ("AccountManagerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
|
{
|
this.AccountManagerId = isChange ? MyConvert.ConvertToInt32(value) : AccountManagerId;
|
theValue = this.AccountManagerId;
|
}
|
else if ("BusinessManagerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.BusinessManagerId = isChange ? MyConvert.ConvertToInt32(value) : BusinessManagerId;
|
theValue = this.BusinessManagerId;
|
}
|
else if ("CreateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
|
{
|
this.CreateTime = isChange ? MyConvert.ConvertToDateTime(value) : CreateTime;
|
theValue = this.CreateTime;
|
}
|
else if ("CreditId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
|
{
|
this.CreditId = isChange ? MyConvert.ConvertToInt32(value) : CreditId;
|
theValue = this.CreditId;
|
}
|
else if ("LoginPhone".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
|
{
|
this.LoginPhone = isChange ? MyConvert.ConvertToString(value) : LoginPhone;
|
theValue = this.LoginPhone;
|
}
|
else if ("CorporateWebsite".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
|
{
|
this.CorporateWebsite = isChange ? MyConvert.ConvertToString(value) : CorporateWebsite;
|
theValue = this.CorporateWebsite;
|
}
|
else if ("BusinessAnalysisId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
|
{
|
this.BusinessAnalysisId = isChange ? MyConvert.ConvertToInt32(value) : BusinessAnalysisId;
|
theValue = this.BusinessAnalysisId;
|
}
|
else if ("Credit".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
|
{
|
this.Credit = isChange ? MyConvert.ConvertToDecimal(value) : Credit;
|
theValue = this.Credit;
|
}
|
else if ("IsLoginCorporateWeb".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
|
{
|
this.IsLoginCorporateWeb = isChange ? MyConvert.ConvertToBoolean(value) : IsLoginCorporateWeb;
|
theValue = this.IsLoginCorporateWeb;
|
}
|
else if ("Bank".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
|
{
|
this.Bank = isChange ? MyConvert.ConvertToString(value) : Bank;
|
theValue = this.Bank;
|
}
|
else if ("TaxID".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
|
{
|
this.TaxID = isChange ? MyConvert.ConvertToString(value) : TaxID;
|
theValue = this.TaxID;
|
}
|
else if ("AccountID".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
|
{
|
this.AccountID = isChange ? MyConvert.ConvertToString(value) : AccountID;
|
theValue = this.AccountID;
|
}
|
else if ("OrderCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
|
{
|
this.OrderCount = isChange ? MyConvert.ConvertToInt32(value) : OrderCount;
|
theValue = this.OrderCount;
|
}
|
else if ("OrderMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
|
{
|
this.OrderMoney = isChange ? MyConvert.ConvertToDecimal(value) : OrderMoney;
|
theValue = this.OrderMoney;
|
}
|
else if ("LastOrderTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
|
{
|
this.LastOrderTime = isChange ? MyConvert.ConvertToDateTime(value) : LastOrderTime;
|
theValue = this.LastOrderTime;
|
}
|
else if ("Prepayments".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
|
{
|
this.Prepayments = isChange ? MyConvert.ConvertToDecimal(value) : Prepayments;
|
theValue = this.Prepayments;
|
}
|
else if ("IsOutsourcing".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
|
{
|
this.IsOutsourcing = isChange ? MyConvert.ConvertToBoolean(value) : IsOutsourcing;
|
theValue = this.IsOutsourcing;
|
}
|
else if ("OutVendorName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
|
{
|
this.OutVendorName = isChange ? MyConvert.ConvertToString(value) : OutVendorName;
|
theValue = this.OutVendorName;
|
}
|
else if ("IsPriority".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
|
{
|
this.IsPriority = isChange ? MyConvert.ConvertToBoolean(value) : IsPriority;
|
theValue = this.IsPriority;
|
}
|
else if ("CumulativePrepayments".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
|
{
|
this.CumulativePrepayments = isChange ? MyConvert.ConvertToDecimal(value) : CumulativePrepayments;
|
theValue = this.CumulativePrepayments;
|
}
|
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
|
{
|
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
|
theValue = this.LastUpdateTime;
|
}
|
else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
|
{
|
this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
|
theValue = this.Operator;
|
}
|
else if ("Remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 31)
|
{
|
this.Remark = isChange ? MyConvert.ConvertToString(value) : Remark;
|
theValue = this.Remark;
|
}
|
else if ("SourcesInfoIdName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 32)
|
{
|
this.SourcesInfoIdName = isChange ? MyConvert.ConvertToString(value) : SourcesInfoIdName;
|
theValue = this.SourcesInfoIdName;
|
}
|
else if ("CustomerIndustriesIdName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 33)
|
{
|
this.CustomerIndustriesIdName = isChange ? MyConvert.ConvertToString(value) : CustomerIndustriesIdName;
|
theValue = this.CustomerIndustriesIdName;
|
}
|
else if ("CustomerTypeIdName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 34)
|
{
|
this.CustomerTypeIdName = isChange ? MyConvert.ConvertToString(value) : CustomerTypeIdName;
|
theValue = this.CustomerTypeIdName;
|
}
|
else if ("CreditIdName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 35)
|
{
|
this.CreditIdName = isChange ? MyConvert.ConvertToString(value) : CreditIdName;
|
theValue = this.CreditIdName;
|
}
|
else if ("DegreeImportanIdName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 36)
|
{
|
this.DegreeImportanIdName = isChange ? MyConvert.ConvertToString(value) : DegreeImportanIdName;
|
theValue = this.DegreeImportanIdName;
|
}
|
else if ("BusinessAnalysisIdName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 37)
|
{
|
this.BusinessAnalysisIdName = isChange ? MyConvert.ConvertToString(value) : BusinessAnalysisIdName;
|
theValue = this.BusinessAnalysisIdName;
|
}
|
else if ("Email".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 38)
|
{
|
this.Email = isChange ? MyConvert.ConvertToString(value) : Email;
|
theValue = this.Email;
|
}
|
else if ("Mobile".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 39)
|
{
|
this.Mobile = isChange ? MyConvert.ConvertToString(value) : Mobile;
|
theValue = this.Mobile;
|
}
|
else if ("Province".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 40)
|
{
|
this.Province = isChange ? MyConvert.ConvertToString(value) : Province;
|
theValue = this.Province;
|
}
|
else if ("City".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 41)
|
{
|
this.City = isChange ? MyConvert.ConvertToString(value) : City;
|
theValue = this.City;
|
}
|
else if ("County".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 42)
|
{
|
this.County = isChange ? MyConvert.ConvertToString(value) : County;
|
theValue = this.County;
|
}
|
else if ("InquiryId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 43)
|
{
|
this.InquiryId = isChange ? MyConvert.ConvertToGuid(value) : InquiryId;
|
theValue = this.InquiryId;
|
}
|
else if ("MemberId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 44)
|
{
|
this.MemberId = isChange ? MyConvert.ConvertToGuid(value) : MemberId;
|
theValue = this.MemberId;
|
}
|
else if ("DetailedAddress".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 43)
|
{
|
this.DetailedAddress = isChange ? MyConvert.ConvertToString(value) : DetailedAddress;
|
theValue = this.DetailedAddress;
|
}
|
else if ("Postcode".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 44)
|
{
|
this.Postcode = isChange ? MyConvert.ConvertToString(value) : Postcode;
|
theValue = this.Postcode;
|
}
|
else if ("BusinessManagers".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 45)
|
{
|
this.BusinessManagers = isChange ? MyConvert.ConvertToString(value) : BusinessManagers;
|
theValue = this.BusinessManagers;
|
}
|
else if ("LoginPwd".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 46)
|
{
|
this.LoginPwd = isChange ? MyConvert.ConvertToString(value) : LoginPwd;
|
theValue = this.LoginPwd;
|
}
|
else if ("AllPrepayments".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 47)
|
{
|
this.AllPrepayments = isChange ? MyConvert.ConvertToDecimal(value) : AllPrepayments;
|
theValue = this.AllPrepayments;
|
}
|
else if ("AccountmanagerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 48)
|
{
|
this.AccountmanagerName = isChange ? MyConvert.ConvertToString(value) : AccountmanagerName;
|
theValue = this.AccountmanagerName;
|
}
|
else if ("BusinessmanagerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 49)
|
{
|
this.BusinessmanagerName = isChange ? MyConvert.ConvertToString(value) : BusinessmanagerName;
|
theValue = this.BusinessmanagerName;
|
}
|
else if ("QQ".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 50)
|
{
|
this.QQ = isChange ? MyConvert.ConvertToString(value) : QQ;
|
theValue = this.QQ;
|
}
|
else if ("Nupdoor".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 51)
|
{
|
this.Nupdoor = isChange ? MyConvert.ConvertToInt32(value) : Nupdoor;
|
theValue = this.Nupdoor;
|
}
|
else if ("Nphone".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 52)
|
{
|
this.Nphone = isChange ? MyConvert.ConvertToInt32(value) : Nphone;
|
theValue = this.Nphone;
|
}
|
else if ("Nqq".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 53)
|
{
|
this.Nqq = isChange ? MyConvert.ConvertToInt32(value) : Nqq;
|
theValue = this.Nqq;
|
}
|
else if ("Nmessage".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 54)
|
{
|
this.Nmessage = isChange ? MyConvert.ConvertToInt32(value) : Nmessage;
|
theValue = this.Nmessage;
|
}
|
else if ("NDirectMail".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 55)
|
{
|
this.NDirectMail = isChange ? MyConvert.ConvertToInt32(value) : NDirectMail;
|
theValue = this.NDirectMail;
|
}
|
else if ("Nemial".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 56)
|
{
|
this.Nemial = isChange ? MyConvert.ConvertToInt32(value) : Nemial;
|
theValue = this.Nemial;
|
}
|
else if ("Nall".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 57)
|
{
|
this.Nall = isChange ? MyConvert.ConvertToInt32(value) : Nall;
|
theValue = this.Nall;
|
}
|
else if ("CompanyPhone".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 58)
|
{
|
this.CompanyPhone = isChange ? MyConvert.ConvertToString(value) : CompanyPhone;
|
theValue = this.CompanyPhone;
|
}
|
else if ("OutRate".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 59)
|
{
|
this.OutRate = isChange ? MyConvert.ConvertToDouble(value) : OutRate;
|
theValue = this.OutRate;
|
}
|
else if ("SumAllPrepayments".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 60)
|
{
|
this.SumAllPrepayments = isChange ? MyConvert.ConvertToDecimal(value) : SumAllPrepayments;
|
theValue = this.SumAllPrepayments;
|
}
|
else if ("SumAllCredit".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 61)
|
{
|
this.SumAllCredit = isChange ? MyConvert.ConvertToDecimal(value) : SumAllCredit;
|
theValue = this.SumAllCredit;
|
}
|
else if ("SumAllOrderMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 62)
|
{
|
this.SumAllOrderMoney = isChange ? MyConvert.ConvertToDecimal(value) : SumAllOrderMoney;
|
theValue = this.SumAllOrderMoney;
|
}
|
else if ("LegalRepresentative".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 63)
|
{
|
this.LegalRepresentative = isChange ? MyConvert.ConvertToString(value) : LegalRepresentative;
|
theValue = this.LegalRepresentative;
|
}
|
else if ("Paytime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 64)
|
{
|
this.Paytime = isChange ? MyConvert.ConvertToInt32(value) : Paytime;
|
theValue = this.Paytime;
|
}
|
else if ("Paydays".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 65)
|
{
|
this.Paydays = isChange ? MyConvert.ConvertToInt32(value) : Paydays;
|
theValue = this.Paydays;
|
}
|
else if ("Paytimename".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 66)
|
{
|
this.Paytimename = isChange ? MyConvert.ConvertToString(value) : Paytimename;
|
theValue = this.Paytimename;
|
}
|
|
else if ("Biddingcompany".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 67)
|
{
|
this.Biddingcompany = isChange ? MyConvert.ConvertToInt32(value) : Biddingcompany;
|
theValue = this.Biddingcompany;
|
}
|
else if ("BiddingcompanyName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 68)
|
{
|
this.BiddingcompanyName = isChange ? MyConvert.ConvertToString(value) : BiddingcompanyName;
|
theValue = this.BiddingcompanyName;
|
}
|
else if ("Contracttype".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 69)
|
{
|
this.Contracttype = isChange ? MyConvert.ConvertToInt32(value) : Contracttype;
|
theValue = this.Contracttype;
|
}
|
else if ("ContracttypeName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 70)
|
{
|
this.ContracttypeName = isChange ? MyConvert.ConvertToString(value) : ContracttypeName;
|
theValue = this.ContracttypeName;
|
}
|
else if ("Contractmoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 71)
|
{
|
this.Contractmoney = isChange ? MyConvert.ConvertToDecimal(value) : Contractmoney;
|
theValue = this.Contractmoney;
|
}
|
else if ("Expiretype".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 72)
|
{
|
this.Expiretype = isChange ? MyConvert.ConvertToInt32(value) : Expiretype;
|
theValue = this.Expiretype;
|
}
|
else if ("ExpiretypeName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 73)
|
{
|
this.ExpiretypeName = isChange ? MyConvert.ConvertToString(value) : ExpiretypeName;
|
theValue = this.ExpiretypeName;
|
}
|
else if ("ExpireTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 74)
|
{
|
this.ExpireTime = isChange ? MyConvert.ConvertToDateTime(value) : ExpireTime;
|
theValue = this.ExpireTime;
|
}
|
else if ("Jigoudaima".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 75)
|
{
|
this.Jigoudaima = isChange ? MyConvert.ConvertToString(value) : Jigoudaima;
|
theValue = this.Jigoudaima;
|
}
|
else if ("Piaoju".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 76)
|
{
|
this.Piaoju = isChange ? MyConvert.ConvertToInt32(value) : Piaoju;
|
theValue = this.Piaoju;
|
}
|
else if ("PiaojuName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 77)
|
{
|
this.PiaojuName = isChange ? MyConvert.ConvertToString(value) : PiaojuName;
|
theValue = this.PiaojuName;
|
}
|
else if ("Kaipiaoziliao".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 78)
|
{
|
this.Kaipiaoziliao = isChange ? MyConvert.ConvertToString(value) : Kaipiaoziliao;
|
theValue = this.Kaipiaoziliao;
|
}
|
else if ("Shifouwanjie".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 79)
|
{
|
this.Shifouwanjie = isChange ? MyConvert.ConvertToInt32(value) : Shifouwanjie;
|
theValue = this.Shifouwanjie;
|
}
|
else if ("ShifouwanjieName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 80)
|
{
|
this.ShifouwanjieName = isChange ? MyConvert.ConvertToString(value) : ShifouwanjieName;
|
theValue = this.ShifouwanjieName;
|
}
|
else if ("Note".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 81)
|
{
|
this.Note = isChange ? MyConvert.ConvertToString(value) : Note;
|
theValue = this.Note;
|
}
|
else if ("Keyid1".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 82)
|
{
|
this.Keyid1 = isChange ? MyConvert.ConvertToInt32(value) : Keyid1;
|
theValue = this.Keyid1;
|
}
|
//新增字段NeedWiHu
|
else if ("NeedWiHu".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 83)
|
{
|
this.NeedWiHu = isChange ? MyConvert.ConvertToBoolean(value) : NeedWiHu;
|
theValue = this.NeedWiHu;
|
}
|
//新增字段JieJiaRiWiHu
|
else if ("JieJiaRiWiHu".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 84)
|
{
|
this.JieJiaRiWiHu = isChange ? MyConvert.ConvertToBoolean(value) : JieJiaRiWiHu;
|
theValue = this.JieJiaRiWiHu;
|
}
|
return theValue;
|
}
|
|
#endregion
|
}
|
}
|