/**
* EC_OrderBasicExtend.cs
*
* 功 能: 订单主信息表实体扩展类
* 类 名: EC_OrderBasic
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2013-4-23 10:13:00 吴崎均 迁移Visiter到此类
* v0.02 2013-4-23 13:59 吴崎均 变更Visiter 删除“付款方式编号”PayWayId对应部分
* v0.03 2013-5-3 17:57 吴崎均 增加交易单扩展对象 变更Visiter 增加交易单OnlineMoney,LineMoney,PayedMoney 对应部分
* v0.04 2013-5-10 11:06 吴崎均 变更Visiter 增加“订单理论完成时间”TheoryCompleteDate部分
*
*
*
*
*/
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
using CY.Model.Inquiry;
namespace CY.Model
{
///
/// 订单主表扩展类
///
public partial class EC_OrderBasic
{
///
/// 初始化
///
/// 是否简略实例化
public EC_OrderBasic(bool isInitBrief)
{
if (!isInitBrief)
return;
this.Remark = "";
}
#region ExtendProperties
private Sys_Dictionary _ordertype;
///
/// 询价、需求、特价、新增、外协
///
public Sys_Dictionary OrderType
{
get
{
_ordertype = null == _ordertype ? new Sys_Dictionary() : _ordertype;
return _ordertype;
}
set
{
_ordertype = value;
}
}
private SysInquiry_PrintingType _printtype = null;
///
/// 印刷业务类型
///
public SysInquiry_PrintingType PrintType
{
get
{
_printtype = null == _printtype ? new SysInquiry_PrintingType() : _printtype;
return _printtype;
}
set
{
_printtype = value;
}
}
private Sys_Dictionary _orderstateobj;
///
/// 订单状态
///
public Sys_Dictionary OrderStateObj
{
get
{
_orderstateobj = null == _orderstateobj ? new Sys_Dictionary() : _orderstateobj;
return _orderstateobj;
}
set
{
_orderstateobj = value;
}
}
private Sys_Dictionary _paystateobj;
///
/// 支付状态
///
public Sys_Dictionary PayStateObj
{
get
{
_paystateobj = null == _paystateobj ? new Sys_Dictionary() : _paystateobj;
return _paystateobj;
}
set
{
_paystateobj = value;
}
}
private Pay_TradingSingle _tradingSingle;
///
/// 交易单对象
///
public Pay_TradingSingle TradingSingle
{
get
{
_tradingSingle = null == _tradingSingle ? new Pay_TradingSingle() : _tradingSingle;
return _tradingSingle;
}
set
{
_tradingSingle = value;
}
}
private EC_OrderExtend _orderExtend;
///
/// 扩展信息
///
public EC_OrderExtend OrderExtend
{
get
{
_orderExtend = null == _orderExtend ? new EC_OrderExtend() : _orderExtend;
return _orderExtend;
}
set
{
_orderExtend = value;
}
}
///
/// 印刷要求+后道需求
///
public string PrintDemandAfterWorksDemand
{
get;
set;
}
///
/// 成品尺寸
///
public string PrintSizeName
{
get;
set;
}
///
/// 未付款
///
public decimal UnPayedMoney
{
get
{
return SumPrice.HasValue && null != TradingSingle && TradingSingle.PayedMoney.HasValue ? (SumPrice - TradingSingle.PayedMoney).Value : 0;
}
}
///
/// 付款方式
///
public string PayType
{
get;
set;
}
///
/// 是否回访过
///
public bool IsVisit
{
get;
set;
}
///
/// 是否评价过
///
public bool IsEvaluation
{
get;
set;
}
///
/// 是否已投诉
///
public bool IsComplainant
{
get;
set;
}
///
/// 是否上传
///
public bool IsUpload
{
get;
set;
}
///
/// 是否下载
///
public int? IsDownload
{
get;
set;
}
///
/// 原订单id
///
public int? OldOrderId
{
get;
set;
}
///
/// 原订单号
///
public string OldOrderSellerId
{
get;
set;
}
///
/// 返回时间
///
public DateTime? DeliverTime
{
get;
set;
}
private EC_AcceptWayByOrder _acceptWayByOrder;
///
/// 订单送货信息
///
public EC_AcceptWayByOrder AcceptWayByOrder
{
get { return _acceptWayByOrder = null == _acceptWayByOrder ? new EC_AcceptWayByOrder() : _acceptWayByOrder; }
set { _acceptWayByOrder = value; }
}
///
/// 全部订单金额
///
public decimal? OrAllTradingMoney
{
get;
set;
}
///
/// 全部订单已付金额
///
public decimal? OrAllPayedMoney
{
get;
set;
}
///
/// 所有订单未付金额
///
public decimal? OrAllUnPayedMoney
{
get;
set;
}
///
/// 支付的线上金额
///
public decimal OnlineMoney { get; set; }
///
/// 使用授信
///
public decimal UsedCredit { get; set; }
///
/// 线上支付的所有金额
///
public decimal ALLPayMoney { get; set; }
///
/// 打印参数
///
public string PrintParameter { get; set; }
///
/// 业务经理
///
public string BusinessManager { get; set; }
///
/// 业务经理
///
public int? BusinessManagerId { get; set; }
public DateTime? DelayTime { get; set; }
public string Productionprogress { get; set; }
public string PrintPackDeliveryRequir { get; set; }
///
/// 开票申请
///
public int? Kaipiaoshenqing
{
get;
set;
}
///
/// 开票申请
///
public string KaipiaoshenqingName
{
get;
set;
}
///
/// 开票申请人
///
public Guid? KaipiaoshenqingCreater
{
get;
set;
}
///
/// 开票申请时间
///
public DateTime? KaipiaoshenqingTime
{
get;
set;
}
///
/// 去除订单
///
public int? Quchudingdan
{
get;
set;
}
///
/// 去除订单人
///
public Guid? QuchudingdanCreater
{
get;
set;
}
///
/// 去除订单时间
///
public DateTime? QuchudingdanTime
{
get;
set;
}
public string nowCustomMoney
{
get;
set;
}
public string nowCredit
{
get;
set;
}
public bool? IsPrintbiaoqian
{
get;
set;
}
public bool? IsPrintfengqian
{
get;
set;
}
public string shuliuang
{
get;
set;
}
public string benjianshuliuang
{
get;
set;
}
public string zongjianshu
{
get;
set;
}
public string benjianxuhao
{
get;
set;
}
public string yinshuachang
{
get;
set;
}
public string lianxidianhua
{
get;
set;
}
public string wangzhi
{
get;
set;
}
public string tishi
{
get;
set;
}
public string qishihaoma
{
get;
set;
}
public string benjianhaoma
{
get;
set;
}
///
/// 客户签收
///
public int? Kehuqianshou
{
get;
set;
}
///
/// 客户签收
///
public string KehuqianshouName
{
get;
set;
}
///
/// 客户签收人
///
public Guid? KehuqianshouCreater
{
get;
set;
}
///
/// 客户签收时间
///
public DateTime? KehuqianshouTime
{
get;
set;
}
///
/// 开票确认人
///
public Guid? KaipiaoquerenCreater
{
get;
set;
}
///
/// 开票确认时间
///
public DateTime? KaipiaoquerenTime
{
get;
set;
}
///
/// 送货单号
///
public Guid? DeliveryOrderId
{
get;
set;
}
///
/// 是否安排送货1是2否
///
public int? shifouDelivery
{
get;
set;
}
///
/// 印刷数量单位
///
public string yssldw { get; set; }
#endregion
#region Visiter
///
/// 属性访问器
///
/// 属性名
/// 索引
/// 是否将指定属性设置为传入值
/// 需要赋予的值
/// 与名称对应的属性值
public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
{
object theValue = null;
theValue = OrderExtend.Visiter(name, index, isChange, value);
#region Basic
if ("Keyid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1)
{
this.Keyid = isChange ? MyConvert.ConvertToInt32(value) : Keyid;
theValue = this.Keyid;
}
else if ("ShowCode".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
{
this.ShowCode = isChange ? MyConvert.ConvertToString(value) : ShowCode;
theValue = this.ShowCode;
}
else if ("SellerOrderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
{
this.SellerOrderId = isChange ? MyConvert.ConvertToString(value) : SellerOrderId;
theValue = this.SellerOrderId;
}
else if ("OrderTypeId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
{
this.OrderTypeId = isChange ? MyConvert.ConvertToInt32(value) : OrderTypeId;
theValue = this.OrderTypeId;
}
else if ("PrintTypeId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
{
this.PrintTypeId = isChange ? MyConvert.ConvertToInt32(value) : PrintTypeId;
theValue = this.PrintTypeId;
}
else if ("SellerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
{
this.SellerName = isChange ? MyConvert.ConvertToString(value) : SellerName;
theValue = this.SellerName;
}
else if ("BuyerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
{
this.BuyerName = isChange ? MyConvert.ConvertToString(value) : BuyerName;
theValue = this.BuyerName;
}
else if ("DocumentName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
{
this.DocumentName = isChange ? MyConvert.ConvertToString(value) : DocumentName;
theValue = this.DocumentName;
}
else if ("PayWayId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
{
//this.PayWayId = isChange ? MyConvert.ConvertToInt32(value) : PayWayId;
//theValue = this.PayWayId;
}
else if ("DeliveryTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
{
this.DeliveryTime = isChange ? MyConvert.ConvertToDateTime(value) : DeliveryTime;
theValue = this.DeliveryTime;
}
else if ("SellerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
{
this.SellerId = isChange ? MyConvert.ConvertToGuid(value) : this.SellerId;
theValue = this.SellerId;
}
else if ("BuyerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
{
this.BuyerId = isChange ? MyConvert.ConvertToGuid(value) : BuyerId;
theValue = this.BuyerId;
}
else if ("UnitPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
{
this.UnitPrice = isChange ? MyConvert.ConvertToDecimal(value) : UnitPrice;
theValue = this.UnitPrice;
}
else if ("SumPrice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
{
this.SumPrice = isChange ? MyConvert.ConvertToDecimal(value) : SumPrice;
theValue = this.SumPrice;
}
else if ("OrderState".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
{
this.OrderState = isChange ? MyConvert.ConvertToInt32(value) : OrderState;
theValue = this.OrderState;
}
else if ("PayState".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
{
this.PayState = isChange ? MyConvert.ConvertToInt32(value) : PayState;
theValue = this.PayState;
}
else if ("CreateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
{
this.CreateTime = isChange ? MyConvert.ConvertToDateTime(value) : CreateTime;
theValue = this.CreateTime;
}
else if ("Creater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
{
this.Creater = isChange ? MyConvert.ConvertToString(value) : Creater;
theValue = this.Creater;
}
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
{
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
theValue = this.LastUpdateTime;
}
else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
{
this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
theValue = this.Operator;
}
else if ("Remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
{
this.Remark = isChange ? MyConvert.ConvertToString(value) : Remark;
theValue = this.Remark;
}
else if ("TheoryCompleteDate".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
{
this.TheoryCompleteDate = isChange ? MyConvert.ConvertToDateTime(value) : TheoryCompleteDate;
theValue = this.TheoryCompleteDate;
}
else if ("IsDeferPay".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
{
this.IsDeferPay = isChange ? MyConvert.ConvertIntToBoolean(value) : IsDeferPay;
theValue = this.IsDeferPay;
}
else if ("IsVisit".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
{
this.IsVisit = isChange ? MyConvert.ConvertIntToBoolean(value) : IsVisit;
theValue = this.IsVisit;
}
else if ("IsEvaluation".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
{
this.IsEvaluation = isChange ? MyConvert.ConvertIntToBoolean(value) : IsEvaluation;
theValue = this.IsEvaluation;
}
else if ("IsPrint".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
{
this.IsPrint = isChange ? MyConvert.ConvertIntToBoolean(value) : IsPrint;
theValue = this.IsPrint;
}
else if ("IsComplainant".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
{
this.IsComplainant = isChange ? MyConvert.ConvertIntToBoolean(value) : IsComplainant;
theValue = this.IsComplainant;
}
else if ("IsUpload".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
{
this.IsUpload = isChange ? MyConvert.ConvertIntToBoolean(value) : IsUpload;
theValue = this.IsUpload;
}
else if ("IsDownload".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
{
this.IsDownload = isChange ? MyConvert.ConvertToInt32(value) : IsDownload;
theValue = this.IsDownload;
}
else if ("OutId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
{
this.OutId = isChange ? MyConvert.ConvertToInt32(value) : OutId;
theValue = this.OutId;
}
#endregion
#region Extend
else if ("PrintTypeName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 50)
{
this.PrintType.PrintName = isChange ? MyConvert.ConvertToString(value) : this.PrintType.PrintName;
theValue = this.PrintType.PrintName;
}
else if ("OrderTypeName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 51)
{
this.OrderType.Name = isChange ? MyConvert.ConvertToString(value) : this.OrderType.Name;
theValue = this.OrderType.Name;
}
else if ("OrderStateName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 52)
{
this.OrderStateObj.Name = isChange ? MyConvert.ConvertToString(value) : this.OrderStateObj.Name;
theValue = this.OrderStateObj.Name;
}
else if ("PayStateName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 53)
{
this.PayStateObj.Name = isChange ? MyConvert.ConvertToString(value) : this.PayStateObj.Name;
theValue = this.PayStateObj.Name;
}
else if ("OnlineMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 54)
{
this.TradingSingle.OnlineMoney = isChange ? MyConvert.ConvertToDecimal(value) : this.TradingSingle.OnlineMoney;
theValue = this.TradingSingle.OnlineMoney;
}
else if ("LineMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 55)
{
this.TradingSingle.LineMoney = isChange ? MyConvert.ConvertToDecimal(value) : this.TradingSingle.LineMoney;
theValue = this.TradingSingle.LineMoney;
}
else if ("UsedCredit".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 56)
{
this.TradingSingle.UsedCredit = isChange ? MyConvert.ConvertToDecimal(value) : this.TradingSingle.UsedCredit;
theValue = this.TradingSingle.UsedCredit;
}
else if ("PayedMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 57)
{
this.TradingSingle.PayedMoney = isChange ? MyConvert.ConvertToDecimal(value) : this.TradingSingle.PayedMoney;
theValue = this.TradingSingle.PayedMoney;
}
else if ("PrintNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 58)
{
this.OrderExtend.PrintNum = isChange ? MyConvert.ConvertToInt(value) : this.OrderExtend.PrintNum;
theValue = this.OrderExtend.PrintNum;
}
else if ("SurplusPrintNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 59)
{
this.OrderExtend.SurplusPrintNum = isChange ? MyConvert.ConvertToInt(value) : this.OrderExtend.SurplusPrintNum;
theValue = this.OrderExtend.SurplusPrintNum;
}
else if ("CompledState".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 60)
{
this.CompledState = isChange ? MyConvert.ConvertToBoolean(value) : this.CompledState;
theValue = this.CompledState;
}
else if ("CompledTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 61)
{
this.CompledTime = isChange ? MyConvert.ConvertToDateTime(value) : this.CompledTime;
theValue = this.CompledTime;
}
else if ("CompledOperator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 62)
{
this.CompledOperator = isChange ? MyConvert.ConvertToString(value) : this.CompledOperator;
theValue = this.CompledOperator;
}
else if ("CompledRemarks".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 63)
{
this.CompledRemarks = isChange ? MyConvert.ConvertToString(value) : this.CompledRemarks;
theValue = this.CompledRemarks;
}
else if ("PayType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 64)
{
this.PayType = isChange ? MyConvert.ConvertToString(value) : this.PayType;
theValue = this.PayType;
}
else if ("OldOrderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 65)
{
this.OldOrderId = isChange ? MyConvert.ConvertToInt32(value) : this.OldOrderId;
theValue = this.OldOrderId;
}
else if ("OldOrderSellerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 66)
{
this.OldOrderSellerId = isChange ? MyConvert.ConvertToString(value) : this.OldOrderSellerId;
theValue = this.OldOrderSellerId;
}
else if ("DeliverTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 67)
{
this.DeliverTime = isChange ? MyConvert.ConvertToDateTime(value) : this.DeliverTime;
theValue = this.DeliverTime;
}
else if ("ExigencyCaseId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 68)
{
this.OrderExtend.ExigencyCaseId = isChange ? MyConvert.ConvertToInt(value) : this.OrderExtend.ExigencyCaseId;
theValue = this.OrderExtend.ExigencyCaseId;
}
else if ("OrAllTradingMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 69)
{
this.OrAllTradingMoney = isChange ? MyConvert.ConvertToDecimal(value) : this.OrAllTradingMoney;
theValue = this.OrAllTradingMoney;
}
else if ("OrAllPayedMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 70)
{
this.OrAllPayedMoney = isChange ? MyConvert.ConvertToDecimal(value) : this.OrAllPayedMoney;
theValue = this.OrAllPayedMoney;
}
else if ("OrAllUnPayedMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 71)
{
this.OrAllUnPayedMoney = isChange ? MyConvert.ConvertToDecimal(value) : this.OrAllUnPayedMoney;
theValue = this.OrAllUnPayedMoney;
}
else if ("ALLPayMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 74)
{
this.ALLPayMoney = isChange ? MyConvert.ConvertToDecimal(value).Value : this.ALLPayMoney;
theValue = this.ALLPayMoney;
}
else if ("PrintParameter".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 75)
{
this.PrintParameter = isChange ? MyConvert.ConvertToString(value) : this.PrintParameter;
theValue = this.PrintParameter;
}
else if ("BusinessManager".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 76)
{
this.BusinessManager = isChange ? MyConvert.ConvertToString(value) : this.BusinessManager;
theValue = this.BusinessManager;
}
else if ("DelayTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 77)
{
this.DelayTime = isChange ? MyConvert.ConvertToDateTime(value) : this.DelayTime;
theValue = this.DelayTime;
}
else if ("Productionprogress".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 78)
{
this.Productionprogress = isChange ? MyConvert.ConvertToString(value) : this.Productionprogress;
theValue = this.Productionprogress;
}
else if ("PrintPackDeliveryRequir".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 79)
{
this.PrintPackDeliveryRequir = isChange ? MyConvert.ConvertToString(value) : this.PrintPackDeliveryRequir;
theValue = this.PrintPackDeliveryRequir;
}
else if ("Kaipiaoshenqing".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 80)
{
this.Kaipiaoshenqing = isChange ? MyConvert.ConvertToInt32(value) : this.Kaipiaoshenqing;
theValue = this.Kaipiaoshenqing;
}
else if ("KaipiaoshenqingTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 81)
{
this.KaipiaoshenqingTime = isChange ? MyConvert.ConvertToDateTime(value) : this.KaipiaoshenqingTime;
theValue = this.KaipiaoshenqingTime;
}
else if ("KaipiaoshenqingCreater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 82)
{
this.KaipiaoshenqingCreater = isChange ? MyConvert.ConvertToGuid(value) : this.KaipiaoshenqingCreater;
theValue = this.KaipiaoshenqingCreater;
}
else if ("Quchudingdan".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 83)
{
this.Quchudingdan = isChange ? MyConvert.ConvertToInt32(value) : this.Quchudingdan;
theValue = this.Quchudingdan;
}
else if ("QuchudingdanTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 84)
{
this.QuchudingdanTime = isChange ? MyConvert.ConvertToDateTime(value) : this.QuchudingdanTime;
theValue = this.QuchudingdanTime;
}
else if ("QuchudingdanCreater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 85)
{
this.QuchudingdanCreater = isChange ? MyConvert.ConvertToGuid(value) : this.QuchudingdanCreater;
theValue = this.QuchudingdanCreater;
}
else if ("KaipiaoshenqingName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 86)
{
this.KaipiaoshenqingName = isChange ? MyConvert.ConvertToString(value) : this.KaipiaoshenqingName;
theValue = this.KaipiaoshenqingName;
}
else if ("IsPrintbiaoqian".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 87)
{
this.IsPrintbiaoqian = isChange ? MyConvert.ConvertIntToBoolean(value) : this.IsPrintbiaoqian;
theValue = this.IsPrintbiaoqian;
}
else if ("IsPrintfengqian".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 97)
{
this.IsPrintfengqian = isChange ? MyConvert.ConvertIntToBoolean(value) : this.IsPrintfengqian;
theValue = this.IsPrintfengqian;
}
else if ("Kehuqianshou".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 88)
{
this.Kehuqianshou = isChange ? MyConvert.ConvertToInt32(value) : this.Kehuqianshou;
theValue = this.Kehuqianshou;
}
else if ("KehuqianshouTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 89)
{
this.KehuqianshouTime = isChange ? MyConvert.ConvertToDateTime(value) : this.KehuqianshouTime;
theValue = this.KehuqianshouTime;
}
else if ("KehuqianshouCreater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 90)
{
this.KehuqianshouCreater = isChange ? MyConvert.ConvertToGuid(value) : this.KehuqianshouCreater;
theValue = this.KehuqianshouCreater;
}
else if ("KehuqianshouName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 91)
{
this.KehuqianshouName = isChange ? MyConvert.ConvertToString(value) : this.KehuqianshouName;
theValue = this.KehuqianshouName;
}
else if ("KaipiaoquerenTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 92)
{
this.KaipiaoquerenTime = isChange ? MyConvert.ConvertToDateTime(value) : this.KaipiaoquerenTime;
theValue = this.KaipiaoquerenTime;
}
else if ("KaipiaoquerenCreater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 93)
{
this.KaipiaoquerenCreater = isChange ? MyConvert.ConvertToGuid(value) : this.KaipiaoquerenCreater;
theValue = this.KaipiaoquerenCreater;
}
else if ("DeliveryOrderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 94)
{
this.DeliveryOrderId = isChange ? MyConvert.ConvertToGuid(value) : this.DeliveryOrderId;
theValue = this.DeliveryOrderId;
}
else if ("shifouDelivery".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 95)
{
this.shifouDelivery = isChange ? MyConvert.ConvertToInt32(value) : this.shifouDelivery;
theValue = this.shifouDelivery;
}
else if ("yssldw".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 96)
{
this.yssldw = isChange ? MyConvert.ConvertToString(value) : this.yssldw;
theValue = this.yssldw;
}
else if ("SuodanState".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 97)
{
this.SuodanState = isChange ? MyConvert.ConvertToBoolean(value) : this.CompledState;
theValue = this.SuodanState;
}
else if ("SuodanTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 98)
{
this.SuodanTime = isChange ? MyConvert.ConvertToDateTime(value) : this.SuodanTime;
theValue = this.SuodanTime;
}
else if ("SuodanOperator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 99)
{
this.SuodanOperator = isChange ? MyConvert.ConvertToString(value) : this.SuodanOperator;
theValue = this.SuodanOperator;
}
else if ("BusinessManagerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 99)
{
this.BusinessManagerId = isChange ? MyConvert.ConvertToInt32(value) : this.BusinessManagerId;
theValue = this.BusinessManagerId;
}
#endregion
return theValue;
}
#endregion
}
}