/** * 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_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; } /// /// 客户经理 /// public string AccountmanagerName { get { return _accountmanagerName; } set { _accountmanagerName = value; } } /// /// 业务经理 /// public string BusinessmanagerName { get { return _businessmanagerName; } set { _businessmanagerName = value; } } /// /// 总的预付款余额 /// public decimal? AllPrepayments { get { return _allPrepayments; } set { _allPrepayments = value; } } /// /// 数据编号 /// public Guid Keyid { set { _keyid = value; } get { return _keyid; } } /// /// 关联厂商 /// public Guid FirmId { set { _firmid = value; } get { return _firmid; } } /// /// 客户编号 /// public int? CustomerId { set { _customerid = value; } get { return _customerid; } } /// /// 公司全称 /// public string CompanyName { set { _companyname = value; } get { return _companyname; } } /// /// 客户行业编号 /// public int? CustomerIndustriesId { set { _customerindustriesid = value; } get { return _customerindustriesid; } } /// /// 客户类型编号 /// public int? CustomerTypeId { set { _customertypeid = value; } get { return _customertypeid; } } /// /// 信息来源编号 /// public int? SourcesInfoId { set { _sourcesinfoid = value; } get { return _sourcesinfoid; } } /// /// 重要程度编号 /// public int? DegreeImportanId { set { _degreeimportanid = value; } get { return _degreeimportanid; } } /// /// 客户经理编号 /// public int? AccountManagerId { set { _accountmanagerid = value; } get { return _accountmanagerid; } } /// /// 业务经理编号 /// public int? BusinessManagerId { set { _businessmanagerid = value; } get { return _businessmanagerid; } } /// /// 建立时间 /// public DateTime? CreateTime { set { _createtime = value; } get { return _createtime; } } /// /// 信誉编号 /// public int? CreditId { set { _creditid = value; } get { return _creditid; } } /// /// 登录手机 /// public string LoginPhone { set { _loginphone = value; } get { return _loginphone; } } /// /// 企业网站 /// public string CorporateWebsite { set { _corporatewebsite = value; } get { return _corporatewebsite; } } /// /// 业务分析量编号 /// public int? BusinessAnalysisId { set { _businessanalysisid = value; } get { return _businessanalysisid; } } /// /// 授信额度 /// public decimal? Credit { set { _credit = value; } get { return _credit; } } /// /// 允许登录企业网站 /// public bool IsLoginCorporateWeb { set { _islogincorporateweb = value; } get { return _islogincorporateweb; } } /// /// 开户行 /// public string Bank { set { _bank = value; } get { return _bank; } } /// /// 税号 /// public string TaxID { set { _taxid = value; } get { return _taxid; } } /// /// 账号 /// public string AccountID { set { _accountid = value; } get { return _accountid; } } /// /// 下单数量 /// public int? OrderCount { set { _ordercount = value; } get { return _ordercount; } } /// /// 下单产值 /// public decimal? OrderMoney { set { _ordermoney = value; } get { return _ordermoney; } } /// /// 最后下单时间 /// public DateTime? LastOrderTime { set { _lastordertime = value; } get { return _lastordertime; } } /// /// 预付款 /// public decimal? Prepayments { set { _prepayments = value; } get { return _prepayments; } } /// /// 是否外协 /// public bool IsOutsourcing { set { _isoutsourcing = value; } get { return _isoutsourcing; } } /// /// 外协厂商名称 /// public string OutVendorName { set { _outvendorname = value; } get { return _outvendorname; } } /// /// 优先级 /// public bool IsPriority { set { _ispriority = value; } get { return _ispriority; } } /// /// 累计预付款 /// public decimal? CumulativePrepayments { set { _cumulativeprepayments = value; } get { return _cumulativeprepayments; } } /// /// 最后修改时间 /// public DateTime? LastUpdateTime { set { _lastupdatetime = value; } get { return _lastupdatetime; } } /// /// 操作人 /// public string Operator { set { _operator = value; } get { return _operator; } } /// /// 备注 /// public string Remark { set { _remark = value; } get { return _remark; } } /// /// 询价编号 /// public Guid InquiryId { set { _inquiryid = value; } get { return _inquiryid; } } /// /// 客户会员编号 /// public Guid MemberId { set { _memberid = value; } get { return _memberid; } } /// /// 登录密码 /// public string LoginPwd { set; get; } /// /// 外协订单金额比例 /// public double? OutRate { get; set; } #region 扩展字段 #region 2021年修改新增加字段,在本地查询不在存储过程中实现 /// /// 未下单金额 /// public decimal? LessOrderMoneyProperty { get; set; } /// /// 应收款订单数量 /// public int? NoOverOderCount { get; set; } /// /// 是否需要执行了日常维护 /// private bool? _NeedWiHu; public bool? NeedWiHu { get { return _NeedWiHu; } set { _NeedWiHu = value; } } /// /// 是否需要执行节日维护 /// 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; /// /// 客户信息来源 /// public string SourcesInfoIdName { set { _sourcesinfoIdname = value; } get { return _sourcesinfoIdname; } } /// /// 客户行业 /// public string CustomerIndustriesIdName { set { _customerindustriesidname = value; } get { return _customerindustriesidname; } } /// /// 客户类型 /// public string CustomerTypeIdName { set { _customertypeidname = value; } get { return _customertypeidname; } } /// /// 客户信誉 /// public string CreditIdName { set { _creditidname = value; } get { return _creditidname; } } /// /// 客户信誉 /// public string Paytimename { set { _paytimename = value; } get { return _paytimename; } } /// /// 客户重要程度 /// public string DegreeImportanIdName { set { _degreeimportanidname = value; } get { return _degreeimportanidname; } } /// /// 客户业务分析量 /// public string BusinessAnalysisIdName { set { _ausinessanalysisidname = value; } get { return _ausinessanalysisidname; } } /// /// 邮件地址 /// public string Email { set { _email = value; } get { return _email; } } /// /// 手机号码 /// public string Mobile { set { _mobile = value; } get { return _mobile; } } /// /// QQ /// public string QQ { get; set; } /// /// 省 /// public string Province { set; get; } /// /// 市 /// public string City { set; get; } /// /// 区 /// public string County { set; get; } /// /// 联系电话 /// public string CompanyPhone { set; get; } /// /// 邮编 /// public string Postcode { set; get; } /// /// 详细地址 /// public string DetailedAddress { set; get; } /// /// 业务经办人 /// public string BusinessManagers { set; get; } private int? _Nupdoor; /// /// 上门次数 /// public int? Nupdoor { get { return _Nupdoor; } set { _Nupdoor = value; } } private int? _Nphone; /// /// 电话访问次数 /// public int? Nphone { get { return _Nphone; } set { _Nphone = value; } } private int? _Nmessage; /// /// 短信访问次数 /// public int? Nmessage { get { return _Nmessage; } set { _Nmessage = value; } } private int? _Nqq; /// /// qq访问次数 /// public int? Nqq { get { return _Nqq; } set { _Nqq = value; } } private int? _NDirectMail; /// /// 信函访问次数 /// public int? NDirectMail { get { return _NDirectMail; } set { _NDirectMail = value; } } private int? _Nemial; /// /// 邮件访问次数 /// public int? Nemial { get { return _Nemial; } set { _Nemial = value; } } private int? _Nall; /// /// 总的访问次数 /// public int? Nall { get { return _Nall; } set { _Nall = value; } } /// /// 所有剩余金额 /// public decimal? SumAllPrepayments { get; set; } /// /// 所有授信 /// public decimal? SumAllCredit { get; set; } /// /// 所有订单金额 /// public decimal? SumAllOrderMoney { get; set; } /// /// 法人代表 /// public string LegalRepresentative { get; set; } /// /// 付款时间 /// public int? Paytime { get; set; } /// /// 天 /// public int? Paydays { get; set; } /// /// 中标公司 /// public int? Biddingcompany { get; set; } public string BiddingcompanyName { get; set; } /// /// 合同类型 /// public int? Contracttype { get; set; } public string ContracttypeName { get; set; } /// /// 合同金额 /// public decimal? Contractmoney { get; set; } /// /// 到期类型 /// public int? Expiretype { get; set; } public string ExpiretypeName { get; set; } /// /// 到期时间 /// public DateTime? ExpireTime { get; set; } /// /// 机构代码 /// public string Jigoudaima { get; set; } /// /// 票据 /// public int? Piaoju { get; set; } public string PiaojuName { get; set; } /// /// 开票资料 /// public string Kaipiaoziliao { get; set; } /// /// 是否完结 /// public int? Shifouwanjie { get; set; } public string ShifouwanjieName { get; set; } /// /// 注意事项 /// public string Note { get; set; } #endregion #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.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 } }