You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/TruckMng/Models/MsWl_LKPcHead/MsWl_LKPC.cs

1735 lines
48 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlPc
{
[JsonObject]
public class MsWl_LKPCHead : MsWlPcHead
{
#region private Fields
private string _billNo = "*";
//private string _lrDate = null;
//private DateTime? _jzDate = null;
private string _GID = string.Empty;
private string _BillNo = string.Empty;
//private string _LrDate = string.Empty;
private string _OrgCode = string.Empty;
private string _OrgName = string.Empty;
private string _DdCode = string.Empty;
private string _DdName = string.Empty;
private string _TruckNo = string.Empty;
private string _DrvCode = string.Empty;
private string _DrvName = string.Empty;
private string _Mobile = string.Empty;
private string _ExpDate = null;
private string _BillStatus = string.Empty;
private string _RefBillNo = string.Empty;
private string _PcBillType = string.Empty;
private string _RefBillNoSe = string.Empty;
private string _DstArea = string.Empty;
private decimal _NoLoadMil = 0;
private decimal _OverLoadMil = 0;
private decimal _TotalMil = 0;
private decimal _Ton = 0;
private string _Remark = string.Empty;
private string _DdCode_Ref = string.Empty;
private string _BillStatus_Ref = string.Empty;
private string _FeeStatus_Ref = string.Empty;
private string _PcBillType_Ref = string.Empty;
private decimal _TimeMark = 0;
private decimal _LoadCount = 0;
private decimal _AroundTon = 0;
private decimal _ISPC = 0;
private decimal _ISBACK = 0;
private decimal _RatedFuel = 0;
private string _ACCDATE = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string BillNo
{
get { return _BillNo; }
set { _BillNo = value; }
}
/*
[ModelDB]
public string LrDate
{
get { return _LrDate; }
set { _LrDate = value; }
}*/
[ModelDB]
public string OrgCode
{
get { return _OrgCode; }
set { _OrgCode = value; }
}
[ModelDB]
public string OrgName
{
get { return _OrgName; }
set { _OrgName = value; }
}
[ModelDB]
public string DdCode
{
get { return _DdCode; }
set { _DdCode = value; }
}
[ModelDB]
public string DrvCode
{
get { return _DrvCode; }
set { _DrvCode = value; }
}
[ModelDB]
public string DdName
{
get { return _DdName; }
set { _DdName = value; }
}
[ModelDB]
public string TruckNo
{
get { return _TruckNo; }
set { _TruckNo = value; }
}
[ModelDB]
public string DrvName
{
get { return _DrvName; }
set { _DrvName = value; }
}
[ModelDB]
public string Mobile
{
get { return _Mobile; }
set { _Mobile = value; }
}
[ModelDB]
public string ExpDate
{
get { return _ExpDate; }
set { _ExpDate = value; }
}
[ModelDB]
public string BillStatus
{
get { return _BillStatus; }
set { _BillStatus = value; }
}
[ModelDB]
public string RefBillNo
{
get { return _RefBillNo; }
set { _RefBillNo = value; }
}
[ModelDB]
public string PcBillType
{
get { return _PcBillType; }
set { _PcBillType = value; }
}
[ModelDB]
public string RefBillNoSe
{
get { return _RefBillNoSe; }
set { _RefBillNoSe = value; }
}
[ModelDB]
public string DstArea
{
get { return _DstArea; }
set { _DstArea = value; }
}
[ModelDB]
public decimal NoLoadMil
{
get { return _NoLoadMil; }
set { _NoLoadMil = value; }
}
[ModelDB]
public decimal OverLoadMil
{
get { return _OverLoadMil; }
set { _OverLoadMil = value; }
}
[ModelDB]
public decimal Ton
{
get { return _Ton; }
set { _Ton = value; }
}
[ModelDB]
public decimal TotalMil
{
get { return _TotalMil; }
set { _TotalMil = value; }
}
public string DdCode_Ref
{
get { return _DdCode_Ref; }
set { _DdCode_Ref = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public string BillStatus_Ref
{
get { return _BillStatus_Ref; }
set { _BillStatus_Ref = value; }
}
public string PcBillType_Ref
{
get { return _PcBillType_Ref; }
set { _PcBillType_Ref = value; }
}
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
[ModelDB]
public decimal LoadCount
{
get { return _LoadCount; }
set { _LoadCount = value; }
}
[ModelDB]
public decimal AroundTon
{
get { return _AroundTon; }
set { _AroundTon = value; }
}
[ModelDB]
public decimal ISPC
{
get { return _ISPC; }
set { _ISPC = value; }
}
[ModelDB]
public decimal ISBACK
{
get { return _ISBACK; }
set { _ISBACK = value; }
}
[ModelDB]
public decimal RatedFuel
{
get { return _RatedFuel; }
set { _RatedFuel = value; }
}
[ModelDB]
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
#endregion
public MsWl_LKPCHead()
{
TableName = "tMsWlPcHead";
}
public override string GetTimeMarkFieldName()
{
return "TimeMark";
}
}
[JsonObject]
public class MsWl_LK_Cargomb : ModelObjectBillBody
{
#region private field
private string _GID = string.Empty;
private string _SEQUENCE = string.Empty;
private string _PC_BILLNO = string.Empty;
private string _CARGOINFO_GID = string.Empty;
private string _CARGO_NAME = string.Empty;
private string _CargoType = string.Empty;
private string _PalletCount = string.Empty;
private string _CargoCount = string.Empty;
private string _WEIGHT = string.Empty;
private string _POINT_GID = string.Empty;
private string _NAME = string.Empty;
private string _ADDRESS = string.Empty;
private string _CONTACTER = string.Empty;
private string _TEL = string.Empty;
private string _Remark = string.Empty;
private string _BOXCOUNT = string.Empty;
private string _BOXWEIGHT = string.Empty;
private string _AREA = string.Empty;
#endregion
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
[ModelDB]
public string PC_BILLNO
{
get { return _PC_BILLNO; }
set { _PC_BILLNO = value; }
}
[ModelDB]
public string CARGOINFO_GID
{
get { return _CARGOINFO_GID; }
set { _CARGOINFO_GID = value; }
}
public string CARGO_NAME
{
get { return _CARGO_NAME; }
set { _CARGO_NAME = value; }
}
public string CargoType
{
get { return _CargoType; }
set { _CargoType = value; }
}
[ModelDB]
public string PalletCount
{
get { return _PalletCount; }
set { _PalletCount = value; }
}
[ModelDB]
public string CargoCount
{
get { return _CargoCount; }
set { _CargoCount = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string POINT_GID
{
get { return _POINT_GID; }
set { _POINT_GID = value; }
}
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
public string ADDRESS
{
get { return _ADDRESS; }
set { _ADDRESS = value; }
}
public string CONTACTER
{
get { return _CONTACTER; }
set { _CONTACTER = value; }
}
public string TEL
{
get { return _TEL; }
set { _TEL = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public string BOXCOUNT
{
get { return _BOXCOUNT; }
set { _BOXCOUNT = value; }
}
public string BOXWEIGHT
{
get { return _BOXWEIGHT; }
set { _BOXWEIGHT = value; }
}
[ModelDB]
public string AREA
{
get { return _AREA; }
set { _AREA = value; }
}
public MsWl_LK_Cargomb()
{
TableName = "tMsWl_LK_Cargo";
}
override public string GetBillNoFieldName()
{
return "PC_BILLNO";
}
}
[JsonObject]
public class MsWl_LK_CargoRPTmb : MsWl_LK_Cargomb
{
#region private field
private string _DdName = string.Empty;
private string _ExpDate = string.Empty;
private string _TruckNo = string.Empty;
private string _DrvName = string.Empty;
private string _PcBillType_Ref = string.Empty;
#endregion
public string DdName
{
get { return _DdName; }
set { _DdName = value; }
}
public string ExpDate
{
get { return _ExpDate; }
set { _ExpDate = value; }
}
public string TruckNo
{
get { return _TruckNo; }
set { _TruckNo = value; }
}
public string DrvName
{
get { return _DrvName; }
set { _DrvName = value; }
}
public string PcBillType_Ref
{
get { return _PcBillType_Ref; }
set { _PcBillType_Ref = value; }
}
}
[JsonObject]
public class MsWl_LK_CargoInfomb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _PARENT_GID = string.Empty;
private string _PARENT_NAME = string.Empty;
private string _PARENT_GID2 = string.Empty;
private string _PARENT_NAME2 = string.Empty;
private string _CARGOTYPE = string.Empty;
private string _CARGONAME = string.Empty;
private string _SPECIFICATION = string.Empty;
private string _WEIGHT = string.Empty;
private string _BOXCOUNT = string.Empty;
private string _BOXWEIGHT = string.Empty;
private string _STARTDATE = string.Empty;
private string _STARTNUM = string.Empty;
private string _Remark = string.Empty;
private string _INSERTED = string.Empty;
private string _Remain = string.Empty;
private string _AREA = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string PARENT_GID
{
get { return _PARENT_GID; }
set { _PARENT_GID = value; }
}
public string PARENT_NAME
{
get { return _PARENT_NAME; }
set { _PARENT_NAME = value; }
}
[ModelDB]
public string PARENT_GID2
{
get { return _PARENT_GID2; }
set { _PARENT_GID2 = value; }
}
public string PARENT_NAME2
{
get { return _PARENT_NAME2; }
set { _PARENT_NAME2 = value; }
}
[ModelDB]
public string CARGOTYPE
{
get { return _CARGOTYPE; }
set { _CARGOTYPE = value; }
}
[ModelDB]
public string CARGONAME
{
get { return _CARGONAME; }
set { _CARGONAME = value; }
}
[ModelDB]
public string SPECIFICATION
{
get { return _SPECIFICATION; }
set { _SPECIFICATION = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string BOXCOUNT
{
get { return _BOXCOUNT; }
set { _BOXCOUNT = value; }
}
[ModelDB]
public string BOXWEIGHT
{
get { return _BOXWEIGHT; }
set { _BOXWEIGHT = value; }
}
[ModelDB]
public string STARTDATE
{
get { return _STARTDATE; }
set { _STARTDATE = value; }
}
[ModelDB]
public string STARTNUM
{
get { return _STARTNUM; }
set { _STARTNUM = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
public string Remain
{
get { return _Remain; }
set { _Remain = value; }
}
[ModelDB]
public string AREA
{
get { return _AREA; }
set { _AREA = value; }
}
public MsWl_LK_CargoInfomb ( )
{
TableName = "tMsWl_LK_CargoInfo";
}
override public string GetBillNoFieldName ( )
{
return "INSERTED";
}
}
[JsonObject]
public class MsWl_LK_Linemb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _NAME = string.Empty;
private string _LINETYPE = string.Empty;
private string _NoLoadMil = string.Empty;
private string _OverLoadMil = string.Empty;
private string _Remark = string.Empty;
private string _INSERTED = string.Empty;
private string _SEQUENCE = string.Empty;
private string _AREA = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
[ModelDB]
public string LINETYPE
{
get { return _LINETYPE; }
set { _LINETYPE = value; }
}
[ModelDB]
public string NoLoadMil
{
get { return _NoLoadMil; }
set { _NoLoadMil = value; }
}
[ModelDB]
public string OverLoadMil
{
get { return _OverLoadMil; }
set { _OverLoadMil = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
[ModelDB]
public string AREA
{
get { return _AREA; }
set { _AREA = value; }
}
public MsWl_LK_Linemb ( )
{
TableName = "tMsWl_LK_Line";
}
override public string GetBillNoFieldName ( )
{
return "INSERTED";
}
}
[JsonObject]
public class MsWl_LK_Pointmb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _NAME = string.Empty;
private string _POINTTYPE = string.Empty;
private string _DESCRIPTION = string.Empty;
private string _ADDRESS = string.Empty;
private string _CONTACTER = string.Empty;
private string _TEL = string.Empty;
private string _Remark = string.Empty;
private string _INSERTED = string.Empty;
private string _SEQUENCE = string.Empty;
private string _AREA = string.Empty;
private string _ = string.Empty;
private string _ = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
[ModelDB]
public string POINTTYPE
{
get { return _POINTTYPE; }
set { _POINTTYPE = value; }
}
[ModelDB]
public string DESCRIPTION
{
get { return _DESCRIPTION; }
set { _DESCRIPTION = value; }
}
[ModelDB]
public string ADDRESS
{
get { return _ADDRESS; }
set { _ADDRESS = value; }
}
[ModelDB]
public string CONTACTER
{
get { return _CONTACTER; }
set { _CONTACTER = value; }
}
[ModelDB]
public string TEL
{
get { return _TEL; }
set { _TEL = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
[ModelDB]
public string AREA
{
get { return _AREA; }
set { _AREA = value; }
}
public string
{
get { return _; }
set { _ = value; }
}
public string
{
get { return _; }
set { _ = value; }
}
public MsWl_LK_Pointmb ( )
{
TableName = "tMsWl_LK_Point";
}
override public string GetBillNoFieldName ( )
{
return "INSERTED";
}
}
[JsonObject]
public class MsWl_LK_LineDetailmb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _LINE_GID = string.Empty;
private string _POINT_GID = string.Empty;
private string _REMARK = string.Empty;
private string _INSERTED = string.Empty;
private string _SEQUENCE = string.Empty;
private string _NAME = string.Empty;
private string _ADDRESS = string.Empty;
private string _CONTACTER = string.Empty;
private string _TEL = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string LINE_GID
{
get { return _LINE_GID; }
set { _LINE_GID = value; }
}
public string POINT_GID
{
get { return _POINT_GID; }
set { _POINT_GID = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
public string ADDRESS
{
get { return _ADDRESS; }
set { _ADDRESS = value; }
}
public string CONTACTER
{
get { return _CONTACTER; }
set { _CONTACTER = value; }
}
public string TEL
{
get { return _TEL; }
set { _TEL = value; }
}
public MsWl_LK_LineDetailmb ( )
{
TableName = "tMsWl_LK_LineDetail";
}
override public string GetBillNoFieldName ( )
{
return "INSERTED";
}
}
[JsonObject]
public class MsWl_LK_CargoDomb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _PC_BILLNO = string.Empty;
private string _CARGO_GID = string.Empty;
private string _CARGO_NAME = string.Empty;
private string _CargoType = string.Empty;
private string _CARGOINFO_GID = string.Empty;
private string _INNUM = string.Empty;
private string _OUTNUM = string.Empty;
private string _DODATE = string.Empty;
private string _Remark = string.Empty;
private string _SEQUENCE = string.Empty;
private string _POINT_GID = string.Empty;
private string _POINT_NAME = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string PC_BILLNO
{
get { return _PC_BILLNO; }
set { _PC_BILLNO = value; }
}
[ModelDB]
public string CARGO_GID
{
get { return _CARGO_GID; }
set { _CARGO_GID = value; }
}
//[ModelDB]
public string CARGO_NAME
{
get { return _CARGO_NAME; }
set { _CARGO_NAME = value; }
}
public string CargoType
{
get { return _CargoType; }
set { _CargoType = value; }
}
[ModelDB]
public string CARGOINFO_GID
{
get { return _CARGOINFO_GID; }
set { _CARGOINFO_GID = value; }
}
[ModelDB]
public string INNUM
{
get { return _INNUM; }
set { _INNUM = value; }
}
[ModelDB]
public string OUTNUM
{
get { return _OUTNUM; }
set { _OUTNUM = value; }
}
[ModelDB]
public string DODATE
{
get { return _DODATE; }
set { _DODATE = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
[ModelDB]
public string POINT_GID
{
get { return _POINT_GID; }
set { _POINT_GID = value; }
}
public string POINT_NAME
{
get { return _POINT_NAME; }
set { _POINT_NAME = value; }
}
public MsWl_LK_CargoDomb()
{
TableName = "tMsWl_LK_CargoDo";
}
override public string GetBillNoFieldName()
{
return "PC_BILLNO";
}
}
[JsonObject]
public class MsWl_LK_CargoDoRPTmb : MsWl_LK_CargoDomb
{
#region private field
private string _DdName = string.Empty;
private string _ExpDate = string.Empty;
private string _TruckNo = string.Empty;
private string _DrvName = string.Empty;
private string _PcBillType_Ref = string.Empty;
#endregion
public string DdName
{
get { return _DdName; }
set { _DdName = value; }
}
public string ExpDate
{
get { return _ExpDate; }
set { _ExpDate = value; }
}
public string TruckNo
{
get { return _TruckNo; }
set { _TruckNo = value; }
}
public string DrvName
{
get { return _DrvName; }
set { _DrvName = value; }
}
public string PcBillType_Ref
{
get { return _PcBillType_Ref; }
set { _PcBillType_Ref = value; }
}
}
[JsonObject]
public class MsWl_LK_CargoDoRPT2mb : ModelObjectBillHead
{
private string _PcBillType_Ref = string.Empty;
private string _BillNo = string.Empty;
private string _DdName = string.Empty;
private string _ExpDate = string.Empty;
private string _TruckNo = string.Empty;
private string _DrvName = string.Empty;
private string _NAME = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string _VIP__ = string.Empty;
private string _VIP__ = string.Empty;
private string _VIP__ = string.Empty;
private string _VIP__ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string _VIP__ = string.Empty;
private string _VIP__ = string.Empty;
private string _VIP__ = string.Empty;
private string _VIP__ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string ___ = string.Empty;
private string __ = string.Empty;
private string __ = string.Empty;
private string __ = string.Empty;
private string __ = string.Empty;
private string _ = string.Empty;
public string PcBillType_Ref
{
get { return _PcBillType_Ref; }
set { _PcBillType_Ref = value; }
}
public string BillNo
{
get { return _BillNo; }
set { _BillNo = value; }
}
public string DdName
{
get { return _DdName; }
set { _DdName = value; }
}
public string ExpDate
{
get { return _ExpDate; }
set { _ExpDate = value; }
}
public string TruckNo
{
get { return _TruckNo; }
set { _TruckNo = value; }
}
public string DrvName
{
get { return _DrvName; }
set { _DrvName = value; }
}
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string VIP__
{
get { return _VIP__; }
set { _VIP__ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string __
{
get { return ___; }
set { ___ = value; }
}
public string _
{
get { return __; }
set { __ = value; }
}
public string _
{
get { return __; }
set { __ = value; }
}
public string _
{
get { return __; }
set { __ = value; }
}
public string _
{
get { return __; }
set { __ = value; }
}
public string
{
get { return _; }
set { _ = value; }
}
}
[JsonObject]
public class CW_GXYS : ModelObjectBillHead //刺猬网 干线运输
{/* private string _ID = string.Empty;
private string _SheetCode = string.Empty;
private string _SupplierWareHouse = string.Empty;
private string _SupplierWareHouseName = string.Empty;
private string _State = string.Empty;
private string _StateName = string.Empty;
private string _PreArrivalDate = string.Empty;
private string _PreDepartDate = string.Empty;
private string _Remark = string.Empty;*/
private string _ID = string.Empty;
private string _SheetCode = string.Empty;
private string _SupplierWareHouse = string.Empty;
private string _SupplierWareHouseName = string.Empty;
private string _State = string.Empty;
private string _StateName = string.Empty;
private string _PreArrivalDate = string.Empty;
//private string _PreDepartDate = string.Empty;
private string _Remark = string.Empty;
private CW_CARGO[] _Items = null;
public string ID
{
get { return _ID; }
set { _ID = value; }
}
public string SheetCode
{
get { return _SheetCode; }
set { _SheetCode = value; }
}
public string SupplierWareHouse
{
get { return _SupplierWareHouse; }
set { _SupplierWareHouse = value; }
}
public string SupplierWareHouseName
{
get { return _SupplierWareHouseName; }
set { _SupplierWareHouseName = value; }
}
public string State
{
get { return _State; }
set { _State = value; }
}
public string StateName
{
get { return _StateName; }
set { _StateName = value; }
}
public string PreArrivalDate
{
get { return _PreArrivalDate; }
set { _PreArrivalDate = value; }
}
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public CW_CARGO[] Items
{
get {
return _Items;
}
set {
_Items = value;
}
}
override public string GetBillNoFieldName ( )
{
return "SheetCode";
}
}
[JsonObject]
public class CW_FBYS : ModelObjectBillHead //刺猬网 分拨运输
{
private string _ID = string.Empty;
private string _SheetCode = string.Empty;
private string _SupplierWareHouse = string.Empty;
private string _SupplierWareHouseName = string.Empty;
private string _State = string.Empty;
private string _StateName = string.Empty;
//private string _PreArrivalDate = string.Empty;
private string _PreDepartDate = string.Empty;
private string _Remark = string.Empty;
private CW_POINT[] _Items = null;
public string ID
{
get { return _ID; }
set { _ID = value; }
}
public string SheetCode
{
get { return _SheetCode; }
set { _SheetCode = value; }
}
public string SupplierWareHouse
{
get { return _SupplierWareHouse; }
set { _SupplierWareHouse = value; }
}
public string SupplierWareHouseName
{
get { return _SupplierWareHouseName; }
set { _SupplierWareHouseName = value; }
}
public string State
{
get { return _State; }
set { _State = value; }
}
public string StateName
{
get { return _StateName; }
set { _StateName = value; }
}
public string PreDepartDate
{
get { return _PreDepartDate; }
set { _PreDepartDate = value; }
}
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
public CW_POINT[] Items
{
get
{
return _Items;
}
set
{
_Items = value;
}
}
}
[JsonObject]
public class CW_POINT : ModelObjectBillBody //刺猬网 分拨运输 站点
{
private string _ID = string.Empty;
private string _SheetCode = string.Empty;
private string _Client = string.Empty;
private string _ClientName = string.Empty;
private string _StateName = string.Empty;
private CW_CARGO[] _Items = null;
public string ID
{
get { return _ID; }
set { _ID = value; }
}
public string SheetCode
{
get { return _SheetCode; }
set { _SheetCode = value; }
}
public string Client
{
get { return _Client; }
set { _Client = value; }
}
public string ClientName
{
get { return _ClientName; }
set { _ClientName = value; }
}
public string StateName
{
get { return _StateName; }
set { _StateName = value; }
}
public CW_CARGO[] Items
{
get
{
return _Items;
}
set
{
_Items = value;
}
}
}
[JsonObject]
public class CW_CARGO : ModelObjectBillBody //刺猬网 货物信息
{
private string _DetailID = string.Empty;
private string _Product = string.Empty;
private string _ProductName = string.Empty;
private string _DeliveryQuantity = string.Empty;
private string _SignInQuantity = string.Empty;
public string DetailID
{
get { return _DetailID; }
set { _DetailID = value; }
}
public string Product
{
get { return _Product; }
set { _Product = value; }
}
public string ProductName
{
get { return _ProductName; }
set { _ProductName = value; }
}
public string DeliveryQuantity
{
get { return _DeliveryQuantity; }
set { _DeliveryQuantity = value; }
}
public string SignInQuantity
{
get { return _SignInQuantity; }
set { _SignInQuantity = value; }
}
}
//以上用于解析刺猬网系统的json
//以下用于保存成两层结构 并向界面呈现
[JsonObject]
public class MsWl_LK_MCHead : ModelObjectBillHead //运输单头表
{
private string _ID = string.Empty;
private string _SheetCode = string.Empty;
private string _SupplierWareHouse = string.Empty;
private string _SupplierWareHouseName = string.Empty;
private string _State = string.Empty;
private string _StateName = string.Empty;
private string _PreArrivalDate = string.Empty;
private string _PreDepartDate = string.Empty;
private string _Remark = string.Empty;
private string _PcBillType = string.Empty;
private string _PcBillType_Ref = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string ID
{
get { return _ID; }
set { _ID = value; }
}
[ModelDB]
public string SheetCode
{
get { return _SheetCode; }
set { _SheetCode = value; }
}
[ModelDB]
public string SupplierWareHouse
{
get { return _SupplierWareHouse; }
set { _SupplierWareHouse = value; }
}
[ModelDB]
public string SupplierWareHouseName
{
get { return _SupplierWareHouseName; }
set { _SupplierWareHouseName = value; }
}
[ModelDB]
public string State
{
get { return _State; }
set { _State = value; }
}
[ModelDB]
public string StateName
{
get { return _StateName; }
set { _StateName = value; }
}
[ModelDB]
public string PreArrivalDate
{
get { return _PreArrivalDate; }
set { _PreArrivalDate = value; }
}
[ModelDB]
public string PreDepartDate
{
get { return _PreDepartDate; }
set { _PreDepartDate = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
[ModelDB]
public string PcBillType
{
get { return _PcBillType; }
set { _PcBillType = value; }
}
public string PcBillType_Ref
{
get { return _PcBillType_Ref; }
set { _PcBillType_Ref = value; }
}
public MsWl_LK_MCHead ( )
{
TableName = "tMsWl_LK_MCHead";
}
override public string GetBillNoFieldName ( )
{
return "SheetCode";
}
}
[JsonObject]
public class MsWl_LK_MCCargo : ModelObjectBillBody //运输单商品信息
{
private string _ID = string.Empty;
private string _SheetCode = string.Empty;
private string _SheetCode_Parent = string.Empty;
private string _SEQUENCE = string.Empty;
private string _PC_BILLNO = string.Empty;
private string _POINT_GID = string.Empty;
private string _POINT_NAME = string.Empty;
private string _CARGOINFO_GID = string.Empty;
private string _CARGO_NAME = string.Empty;
private string _PalletCount = string.Empty;
private string _CargoCount = string.Empty;
private string _CargoCount_Make = string.Empty;
private string _CargoCount_Do = string.Empty;
private string _WEIGHT = string.Empty;
private string _Remark = string.Empty;
private string _StateName = string.Empty;
private string _SignInQuantity = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string ID
{
get { return _ID; }
set { _ID = value; }
}
[ModelDB]
public string SheetCode
{
get { return _SheetCode; }
set { _SheetCode = value; }
}
[ModelDB]
public string SheetCode_Parent
{
get { return _SheetCode_Parent; }
set { _SheetCode_Parent = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
[ModelDB]
public string PC_BILLNO
{
get { return _PC_BILLNO; }
set { _PC_BILLNO = value; }
}
[ModelDB]
public string POINT_GID
{
get { return _POINT_GID; }
set { _POINT_GID = value; }
}
public string POINT_NAME
{
get { return _POINT_NAME; }
set { _POINT_NAME = value; }
}
[ModelDB]
public string CARGOINFO_GID
{
get { return _CARGOINFO_GID; }
set { _CARGOINFO_GID = value; }
}
public string CARGO_NAME
{
get { return _CARGO_NAME; }
set { _CARGO_NAME = value; }
}
[ModelDB]
public string PalletCount
{
get { return _PalletCount; }
set { _PalletCount = value; }
}
[ModelDB]
public string CargoCount
{
get { return _CargoCount; }
set { _CargoCount = value; }
}
public string CargoCount_Do
{
get { return _CargoCount_Do; }
set { _CargoCount_Do = value; }
}
public string CargoCount_Make
{
get { return _CargoCount_Make; }
set { _CargoCount_Make = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
[ModelDB]
public string StateName
{
get { return _StateName; }
set { _StateName = value; }
}
[ModelDB]
public string SignInQuantity
{
get { return _SignInQuantity; }
set { _SignInQuantity = value; }
}
public MsWl_LK_MCCargo ( )
{
TableName = "tMsWl_LK_MCCargo";
}
override public string GetBillNoFieldName ( )
{
return "SheetCode_Parent";
}
}
}