using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.WMS { [JsonObject] public class WMSmb : ModelObjectBillHead { #region private Fields private string _GID = string.Empty; private string _WMSNO = string.Empty; private string _WMSDATE = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _WMSOP = string.Empty; private string _STOREMAN = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _ISDELETE = string.Empty; private string _DELETEUSER = string.Empty; private string _DELETETIME = string.Empty; private string _ARCLIENT = string.Empty; private string _TRUCKNAME = string.Empty; private string _ISLOCK = string.Empty; private string _LOCKTIME = string.Empty; private string _LOCKUSER = string.Empty; private string _GOODSNAME = string.Empty; private string _GOODSMODEL = string.Empty; private string _CHARGEUNIT = string.Empty; private string _GOODSPACK = string.Empty; private string _GOODSPACKSTOCK = string.Empty; private string _GOODSRKSL = string.Empty; private string _GOODSSTOCK = string.Empty; private string _ARFEE = string.Empty; private string _APFEE = string.Empty; private string _FREESTORAGEPERIOD = string.Empty; private string _ASSOCIATEDNO = string.Empty; private string _BLNO = string.Empty; private string _CONTRACTNO = string.Empty; private string _CLIENTCODEOLD = string.Empty; private string _CLIENTNAMEOLD = string.Empty; private string _STORAGENAME = string.Empty; private string _CORPID = string.Empty; private string _STARTBILLINGDATE = string.Empty; private string _CUSTOMNO = string.Empty; private string _CUSTNO = string.Empty; private string _GOODSSTANDARD = string.Empty; private string _GOODSPACKACTUAL = string.Empty; private string _GOODSRKSLACTUAL = string.Empty; private string _FREESTORAGEPERIODAP = string.Empty; private string _STARTBILLINGDATEAP = string.Empty; private string _ISCHANGE = string.Empty; private string _AREANAME = string.Empty; private string _MARKETVALUE = string.Empty; private string _BANKVALUE = string.Empty; private string _BZTCHNO = string.Empty; private string _CLIENTBSNO = string.Empty; private string _CARGO_GID = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string WMSNO { get { return _WMSNO; } set { _WMSNO = value; } } [ModelDB] public string WMSDATE { get { return _WMSDATE; } set { _WMSDATE = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string WMSOP { get { return _WMSOP; } set { _WMSOP = value; } } [ModelDB] public string STOREMAN { get { return _STOREMAN; } set { _STOREMAN = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string ISDELETE { get { return _ISDELETE; } set { _ISDELETE = value; } } [ModelDB] public string DELETEUSER { get { return _DELETEUSER; } set { _DELETEUSER = value; } } [ModelDB] public string DELETETIME { get { return _DELETETIME; } set { _DELETETIME = value; } } [ModelDB] public string ARCLIENT { get { return _ARCLIENT; } set { _ARCLIENT = value; } } [ModelDB] public string TRUCKNAME { get { return _TRUCKNAME; } set { _TRUCKNAME = value; } } //[ModelDB] public string ISLOCK { get { return _ISLOCK; } set { _ISLOCK = value; } } [ModelDB] public string LOCKTIME { get { return _LOCKTIME; } set { _LOCKTIME = value; } } [ModelDB] public string LOCKUSER { get { return _LOCKUSER; } set { _LOCKUSER = value; } } [ModelDB] public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } [ModelDB] public string GOODSMODEL { get { return _GOODSMODEL; } set { _GOODSMODEL = value; } } [ModelDB] public string CHARGEUNIT { get { return _CHARGEUNIT; } set { _CHARGEUNIT = value; } } [ModelDB] public string GOODSPACK { get { return _GOODSPACK; } set { _GOODSPACK = value; } } [ModelDB] public string GOODSPACKSTOCK { get { return _GOODSPACKSTOCK; } set { _GOODSPACKSTOCK = value; } } [ModelDB] public string GOODSRKSL { get { return _GOODSRKSL; } set { _GOODSRKSL = value; } } [ModelDB] public string GOODSSTOCK { get { return _GOODSSTOCK; } set { _GOODSSTOCK = value; } } [ModelDB] public string ARFEE { get { return _ARFEE; } set { _ARFEE = value; } } [ModelDB] public string APFEE { get { return _APFEE; } set { _APFEE = value; } } [ModelDB] public string FREESTORAGEPERIOD { get { return _FREESTORAGEPERIOD; } set { _FREESTORAGEPERIOD = value; } } [ModelDB] public string ASSOCIATEDNO { get { return _ASSOCIATEDNO; } set { _ASSOCIATEDNO = value; } } [ModelDB] public string BLNO { get { return _BLNO; } set { _BLNO = value; } } [ModelDB] public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } } [ModelDB] public string CLIENTCODEOLD { get { return _CLIENTCODEOLD; } set { _CLIENTCODEOLD = value; } } [ModelDB] public string CLIENTNAMEOLD { get { return _CLIENTNAMEOLD; } set { _CLIENTNAMEOLD = value; } } [ModelDB] public string STORAGENAME { get { return _STORAGENAME; } set { _STORAGENAME = value; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string STARTBILLINGDATE { get { return _STARTBILLINGDATE; } set { _STARTBILLINGDATE = value; } } [ModelDB] public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } } [ModelDB] public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } } [ModelDB] public string GOODSSTANDARD { get { return _GOODSSTANDARD; } set { _GOODSSTANDARD = value; } } [ModelDB] public string GOODSPACKACTUAL { get { return _GOODSPACKACTUAL; } set { _GOODSPACKACTUAL = value; } } [ModelDB] public string GOODSRKSLACTUAL { get { return _GOODSRKSLACTUAL; } set { _GOODSRKSLACTUAL = value; } } [ModelDB] public string FREESTORAGEPERIODAP { get { return _FREESTORAGEPERIODAP; } set { _FREESTORAGEPERIODAP = value; } } [ModelDB] public string STARTBILLINGDATEAP { get { return _STARTBILLINGDATEAP; } set { _STARTBILLINGDATEAP = value; } } [ModelDB] public string ISCHANGE { get { return _ISCHANGE; } set { _ISCHANGE = value; } } [ModelDB] public string AREANAME { get { return _AREANAME; } set { _AREANAME = value; } } [ModelDB] public string MARKETVALUE { get { return _MARKETVALUE; } set { _MARKETVALUE = value; } } [ModelDB] public string BANKVALUE { get { return _BANKVALUE; } set { _BANKVALUE = value; } } [ModelDB] public string BZTCHNO { get { return _BZTCHNO; } set { _BZTCHNO = value; } } [ModelDB] public string CLIENTBSNO { get { return _CLIENTBSNO; } set { _CLIENTBSNO = value; } } public string CARGO_GID { get { return _CARGO_GID; } set { _CARGO_GID = value; } } #endregion private string _REMARK = string.Empty; [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } public WMSmb() { // TableName = "tMsWlPcHead"; TableName = "WMS"; } public override string GetBillNoFieldName() { return "GID"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class WMSmb_ImportTrade : WMSmb { #region private Fields private string _CARGO_GID = string.Empty; private string _REMARK = string.Empty; private string _Inspection_Storage = string.Empty; private string _inspection_date = string.Empty; private string _Unsealdate = string.Empty; private string _Productiondate_min = string.Empty; private string _Productiondate_max = string.Empty; private string _Overfilled = string.Empty; private string _SALEINFO = string.Empty; private string _AGENT = string.Empty; private string _COUNTRY = string.Empty; private string _FACTORYNO = string.Empty; private string _CNTRNO = string.Empty; private string _DECLARENUMBER = string.Empty; private string _CREATETIME = string.Empty; private string _SALER = string.Empty; private string _COSTPRICE = string.Empty; private string _WMSINCOST = string.Empty; private string _HTH = string.Empty; private string _Mainstate = string.Empty; private string _MainStateRef = string.Empty; private string _PUTINTYPE = string.Empty; #endregion #region Public Properties [ModelDB] public string PUTINTYPE { get { return _PUTINTYPE; } set { _PUTINTYPE = value; } } [ModelDB] public string CARGO_GID { get { return _CARGO_GID; } set { _CARGO_GID = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } public string Inspection_Storage { get { return _Inspection_Storage; } set { _Inspection_Storage = value; } } public string inspection_date { get { return _inspection_date; } set { _inspection_date = value; } } public string Unsealdate { get { return _Unsealdate; } set { _Unsealdate = value; } } public string Productiondate_min { get { return _Productiondate_min; } set { _Productiondate_min = value; } } public string Productiondate_max { get { return _Productiondate_max; } set { _Productiondate_max = value; } } public string Overfilled { get { return _Overfilled; } set { _Overfilled = value; } } public string SALEINFO { get { return _SALEINFO; } set { _SALEINFO = value; } } public string AGENT { get { return _AGENT; } set { _AGENT = value; } } public string COUNTRY { get { return _COUNTRY; } set { _COUNTRY = value; } } public string FACTORYNO { get { return _FACTORYNO; } set { _FACTORYNO = value; } } public string CNTRNO { get { return _CNTRNO; } set { _CNTRNO = value; } } public string DECLARENUMBER { get { return _DECLARENUMBER; } set { _DECLARENUMBER = value; } } public string CREATETIME { get { return _CREATETIME; } set { string dtstr = ""; if (value!=string.Empty) { try { DateTime dt = Convert.ToDateTime(value); dtstr = dt.ToString("d"); } catch (Exception) { dtstr = value; } } else { dtstr = value; } _CREATETIME = dtstr; } } public string SALER { get { return _SALER; } set { _SALER = value; } } public string COSTPRICE { get { return _COSTPRICE; } set { _COSTPRICE = value; } } public string WMSINCOST { get { return _WMSINCOST; } set { _WMSINCOST = value; } } public string HTH { get { return _HTH; } set { _HTH = value; } } public string Mainstate { get { return _Mainstate; } set { _Mainstate = value; } } //[ModelDB] public string MainStateRef { get { return _MainStateRef; } set { _MainStateRef = value; } } #endregion public WMSmb_ImportTrade ( ) { // TableName = "tMsWlPcHead"; TableName = "WMS"; } public override string GetBillNoFieldName ( ) { return "GID"; } public override string GetTimeMarkFieldName ( ) { return ""; } } [JsonObject] public class WMSINmb : ModelObjectBillBody { #region private Fields private string _GID = string.Empty; private string _ASSOCIATEDNO = string.Empty; private string _BLNO = string.Empty; private string _CONTRACTNO = string.Empty; private string _CNTRNO = string.Empty; private string _SEALNO = string.Empty; private string _BSNO = string.Empty; private string _CLIENTCODE = string.Empty; private string _CLIENTNAME = string.Empty; private string _DODATE = string.Empty; private string _STORAGECODE = string.Empty; private string _STORAGENAME = string.Empty; private string _AREACODE = string.Empty; private string _AREANAME = string.Empty; private string _GOODSCODE = string.Empty; private string _GOODSNAME = string.Empty; private string _GOODSTYPE = string.Empty; private string _GOODSMODEL = string.Empty; private string _GOODSSTANDARD = string.Empty; private string _GOODSPACK = string.Empty; private string _CHARGEUNIT = string.Empty; private string _GOODSRKSL = string.Empty; private string _GOODSSTOCK = string.Empty; private string _FREESTORAGEPERIOD = string.Empty; private string _ISLOCK = string.Empty; private string _LOCKTIME = string.Empty; private string _LOCKUSER = string.Empty; private string _ISDELETE = string.Empty; private string _DELETETIME = string.Empty; private string _DELETEUSER = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _REMARK = string.Empty; private string _GOODSPACKSTOCK = string.Empty; private string _KINDPKGS = string.Empty; private string _GOODSKGS = string.Empty; private string _CLIENTCODEOLD = string.Empty; private string _CLIENTNAMEOLD = string.Empty; private string _ARFEE = string.Empty; private string _APFEE = string.Empty; private string _CORPID = string.Empty; private string _CTNALL = string.Empty; private string _GOODSTHICKNESS = string.Empty; private string _GOODSWIDTH = string.Empty; private string _GOODSLENGTH = string.Empty; private string _GOODSSLICE = string.Empty; private string _GOODSGRADE = string.Empty; private string _STACKLOCATION = string.Empty; private string _GOODSPACKACTUAL = string.Empty; private string _GOODSRKSLACTUAL = string.Empty; private string _ISCHANGE = string.Empty; private string _MARKETVALUE = string.Empty; private string _BANKVALUE = string.Empty; private string _LINENUM = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string ASSOCIATEDNO { get { return _ASSOCIATEDNO; } set { _ASSOCIATEDNO = value; } } [ModelDB] public string BLNO { get { return _BLNO; } set { _BLNO = value; } } [ModelDB] public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } } [ModelDB] public string CNTRNO { get { return _CNTRNO; } set { _CNTRNO = value; } } [ModelDB] public string SEALNO { get { return _SEALNO; } set { _SEALNO = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public string CLIENTCODE { get { return _CLIENTCODE; } set { _CLIENTCODE = value; } } [ModelDB] public string CLIENTNAME { get { return _CLIENTNAME; } set { _CLIENTNAME = value; } } [ModelDB] public string DODATE { get { return _DODATE; } set { _DODATE = value; } } [ModelDB] public string STORAGECODE { get { return _STORAGECODE; } set { _STORAGECODE = value; } } [ModelDB] public string STORAGENAME { get { return _STORAGENAME; } set { _STORAGENAME = value; } } [ModelDB] public string AREACODE { get { return _AREACODE; } set { _AREACODE = value; } } [ModelDB] public string AREANAME { get { return _AREANAME; } set { _AREANAME = value; } } [ModelDB] public string GOODSCODE { get { return _GOODSCODE; } set { _GOODSCODE = value; } } [ModelDB] public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } [ModelDB] public string GOODSTYPE { get { return _GOODSTYPE; } set { _GOODSTYPE = value; } } [ModelDB] public string GOODSMODEL { get { return _GOODSMODEL; } set { _GOODSMODEL = value; } } [ModelDB] public string GOODSSTANDARD { get { return _GOODSSTANDARD; } set { _GOODSSTANDARD = value; } } [ModelDB] public string GOODSPACK { get { return _GOODSPACK; } set { _GOODSPACK = value; } } [ModelDB] public string CHARGEUNIT { get { return _CHARGEUNIT; } set { _CHARGEUNIT = value; } } [ModelDB] public string GOODSRKSL { get { return _GOODSRKSL; } set { _GOODSRKSL = value; } } [ModelDB] public string GOODSSTOCK { get { return _GOODSSTOCK; } set { _GOODSSTOCK = value; } } [ModelDB] public string FREESTORAGEPERIOD { get { return _FREESTORAGEPERIOD; } set { _FREESTORAGEPERIOD = value; } } [ModelDB] public string ISLOCK { get { return _ISLOCK; } set { _ISLOCK = value; } } [ModelDB] public string LOCKTIME { get { return _LOCKTIME; } set { _LOCKTIME = value; } } [ModelDB] public string LOCKUSER { get { return _LOCKUSER; } set { _LOCKUSER = value; } } [ModelDB] public string ISDELETE { get { return _ISDELETE; } set { _ISDELETE = value; } } [ModelDB] public string DELETETIME { get { return _DELETETIME; } set { _DELETETIME = value; } } [ModelDB] public string DELETEUSER { get { return _DELETEUSER; } set { _DELETEUSER = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string GOODSPACKSTOCK { get { return _GOODSPACKSTOCK; } set { _GOODSPACKSTOCK = value; } } [ModelDB] public string KINDPKGS { get { return _KINDPKGS; } set { _KINDPKGS = value; } } [ModelDB] public string GOODSKGS { get { return _GOODSKGS; } set { _GOODSKGS = value; } } [ModelDB] public string CLIENTCODEOLD { get { return _CLIENTCODEOLD; } set { _CLIENTCODEOLD = value; } } [ModelDB] public string CLIENTNAMEOLD { get { return _CLIENTNAMEOLD; } set { _CLIENTNAMEOLD = value; } } [ModelDB] public string ARFEE { get { return _ARFEE; } set { _ARFEE = value; } } [ModelDB] public string APFEE { get { return _APFEE; } set { _APFEE = value; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string CTNALL { get { return _CTNALL; } set { _CTNALL = value; } } [ModelDB] public string GOODSTHICKNESS { get { return _GOODSTHICKNESS; } set { _GOODSTHICKNESS = value; } } [ModelDB] public string GOODSWIDTH { get { return _GOODSWIDTH; } set { _GOODSWIDTH = value; } } [ModelDB] public string GOODSLENGTH { get { return _GOODSLENGTH; } set { _GOODSLENGTH = value; } } [ModelDB] public string GOODSSLICE { get { return _GOODSSLICE; } set { _GOODSSLICE = value; } } [ModelDB] public string GOODSGRADE { get { return _GOODSGRADE; } set { _GOODSGRADE = value; } } [ModelDB] public string STACKLOCATION { get { return _STACKLOCATION; } set { _STACKLOCATION = value; } } [ModelDB] public string GOODSPACKACTUAL { get { return _GOODSPACKACTUAL; } set { _GOODSPACKACTUAL = value; } } [ModelDB] public string GOODSRKSLACTUAL { get { return _GOODSRKSLACTUAL; } set { _GOODSRKSLACTUAL = value; } } [ModelDB] public string ISCHANGE { get { return _ISCHANGE; } set { _ISCHANGE = value; } } [ModelDB] public string MARKETVALUE { get { return _MARKETVALUE; } set { _MARKETVALUE = value; } } [ModelDB] public string BANKVALUE { get { return _BANKVALUE; } set { _BANKVALUE = value; } } [ModelDB] public string LINENUM { get { return _LINENUM; } set { _LINENUM = value; } } #endregion public WMSINmb() { // TableName = "tMsWlPcHead"; TableName = "WMS_IN"; } public override string GetBillNoFieldName() { return "ASSOCIATEDNO"; } } [JsonObject] public class WMSRATEmb : ModelObjectBillBody { #region private Fields private string _GID = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _FEETYPE = string.Empty; private string _FEEGRADE = string.Empty; private string _FEESCALE = string.Empty; private string _FEEPRICE = string.Empty; private string _FEEUNIT = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _REMARK = string.Empty; private string _BSNO = string.Empty; private string _ADDPRICE = string.Empty; private string _ENDBILLINGDATE = string.Empty; private string _RATETYPE = string.Empty; private string _FEENAME = string.Empty; private string _ISCHANGE = string.Empty; private string _CAPPRICE = string.Empty; private string _FEETYPEREF = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string FEETYPE { get { return _FEETYPE; } set { _FEETYPE = value; } } public string FEETYPEREF { get { return _FEETYPEREF; } set { _FEETYPEREF = value; } } [ModelDB] public string FEEGRADE { get { return _FEEGRADE; } set { _FEEGRADE = value; } } [ModelDB] public string FEESCALE { get { return _FEESCALE; } set { _FEESCALE = value; } } [ModelDB] public string FEEPRICE { get { return _FEEPRICE; } set { _FEEPRICE = value; } } [ModelDB] public string FEEUNIT { get { return _FEEUNIT; } set { _FEEUNIT = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public string ADDPRICE { get { return _ADDPRICE; } set { _ADDPRICE = value; } } [ModelDB] public string ENDBILLINGDATE { get { return _ENDBILLINGDATE; } set { _ENDBILLINGDATE = value; } } [ModelDB] public string RATETYPE { get { return _RATETYPE; } set { _RATETYPE = value; } } [ModelDB] public string FEENAME { get { return _FEENAME; } set { _FEENAME = value; } } [ModelDB] public string ISCHANGE { get { return _ISCHANGE; } set { _ISCHANGE = value; } } [ModelDB] public string CAPPRICE { get { return _CAPPRICE; } set { _CAPPRICE = value; } } #endregion public WMSRATEmb() { // TableName = "tMsWlPcHead"; TableName = "WMS_RATE"; } public override string GetBillNoFieldName() { return "BSNO"; } } [JsonObject] public class WMSOUTmb : ModelObjectBillHead { #region private Fields private string _GID = string.Empty; private string _ASSOCIATEDNO = string.Empty; private string _BSNO = string.Empty; private string _CLIENTGID = string.Empty; private string _CLIENTCODE = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _DODATE = string.Empty; private string _STORAGECODE = string.Empty; private string _STORAGENAME = string.Empty; private string _AREACODE = string.Empty; private string _AREANAME = string.Empty; private string _GOODSCODE = string.Empty; private string _GOODSNAME = string.Empty; private string _GOODSTYPE = string.Empty; private string _GOODSMODEL = string.Empty; private string _GOODSSTANDARD = string.Empty; private string _GOODSPACK = string.Empty; private string _CHARGEUNIT = string.Empty; private string _GOODSPFSL = string.Empty; private string _GOODSOUTFEE = string.Empty; private string _GOODSOUTFEEAP = string.Empty; private string _TRUCKNO = string.Empty; private string _REMARK = string.Empty; private string _ISDELETE = string.Empty; private string _DELETETIME = string.Empty; private string _DELETEUSER = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _GOODSPACKPFSL = string.Empty; private string _TRUCKNAME = string.Empty; private string _WMSOP = string.Empty; private string _STOREMAN = string.Empty; private string _ISLOCK = string.Empty; private string _LOCKTIME = string.Empty; private string _LOCKUSER = string.Empty; private string _ARFEE = string.Empty; private string _APFEE = string.Empty; private string _INSPECTIONNO = string.Empty; private string _CUSTOMNO = string.Empty; private string _CORPID = string.Empty; private string _CLIENTNAMEOLD = string.Empty; private string _OLDCUSTFEEDATE = string.Empty; private string _CLIENTBSNO = string.Empty; private string _ARCLIENT = string.Empty; private string _INGIDNEW = string.Empty; private string _VALIDDATE = string.Empty; private string _TOTALNO = string.Empty; private string _REMARK2 = string.Empty; private string _MBLNONEW = string.Empty; private string _ISCHANGE = string.Empty; private string _ARCLIENTWMSOUT = string.Empty; private string _BZTCHNO = string.Empty; private string _ISCOLLECTING = string.Empty; private string _MBLNO = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string ASSOCIATEDNO { get { return _ASSOCIATEDNO; } set { _ASSOCIATEDNO = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public string CLIENTGID { get { return _CLIENTGID; } set { _CLIENTGID = value; } } [ModelDB] public string CLIENTCODE { get { return _CLIENTCODE; } set { _CLIENTCODE = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string DODATE { get { return _DODATE; } set { _DODATE = value; } } [ModelDB] public string STORAGECODE { get { return _STORAGECODE; } set { _STORAGECODE = value; } } [ModelDB] public string STORAGENAME { get { return _STORAGENAME; } set { _STORAGENAME = value; } } [ModelDB] public string AREACODE { get { return _AREACODE; } set { _AREACODE = value; } } [ModelDB] public string AREANAME { get { return _AREANAME; } set { _AREANAME = value; } } [ModelDB] public string GOODSCODE { get { return _GOODSCODE; } set { _GOODSCODE = value; } } [ModelDB] public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } [ModelDB] public string GOODSTYPE { get { return _GOODSTYPE; } set { _GOODSTYPE = value; } } [ModelDB] public string GOODSMODEL { get { return _GOODSMODEL; } set { _GOODSMODEL = value; } } [ModelDB] public string GOODSSTANDARD { get { return _GOODSSTANDARD; } set { _GOODSSTANDARD = value; } } [ModelDB] public string GOODSPACK { get { return _GOODSPACK; } set { _GOODSPACK = value; } } [ModelDB] public string CHARGEUNIT { get { return _CHARGEUNIT; } set { _CHARGEUNIT = value; } } [ModelDB] public string GOODSPFSL { get { return _GOODSPFSL; } set { _GOODSPFSL = value; } } [ModelDB] public string GOODSOUTFEE { get { return _GOODSOUTFEE; } set { _GOODSOUTFEE = value; } } [ModelDB] public string GOODSOUTFEEAP { get { return _GOODSOUTFEEAP; } set { _GOODSOUTFEEAP = value; } } [ModelDB] public string TRUCKNO { get { return _TRUCKNO; } set { _TRUCKNO = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string ISDELETE { get { return _ISDELETE; } set { _ISDELETE = value; } } [ModelDB] public string DELETETIME { get { return _DELETETIME; } set { _DELETETIME = value; } } [ModelDB] public string DELETEUSER { get { return _DELETEUSER; } set { _DELETEUSER = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string GOODSPACKPFSL { get { return _GOODSPACKPFSL; } set { _GOODSPACKPFSL = value; } } [ModelDB] public string TRUCKNAME { get { return _TRUCKNAME; } set { _TRUCKNAME = value; } } [ModelDB] public string WMSOP { get { return _WMSOP; } set { _WMSOP = value; } } [ModelDB] public string STOREMAN { get { return _STOREMAN; } set { _STOREMAN = value; } } [ModelDB] public string ISLOCK { get { return _ISLOCK; } set { _ISLOCK = value; } } [ModelDB] public string LOCKTIME { get { return _LOCKTIME; } set { _LOCKTIME = value; } } [ModelDB] public string LOCKUSER { get { return _LOCKUSER; } set { _LOCKUSER = value; } } [ModelDB] public string ARFEE { get { return _ARFEE; } set { _ARFEE = value; } } [ModelDB] public string APFEE { get { return _APFEE; } set { _APFEE = value; } } [ModelDB] public string INSPECTIONNO { get { return _INSPECTIONNO; } set { _INSPECTIONNO = value; } } [ModelDB] public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string CLIENTNAMEOLD { get { return _CLIENTNAMEOLD; } set { _CLIENTNAMEOLD = value; } } [ModelDB] public string OLDCUSTFEEDATE { get { return _OLDCUSTFEEDATE; } set { _OLDCUSTFEEDATE = value; } } [ModelDB] public string CLIENTBSNO { get { return _CLIENTBSNO; } set { _CLIENTBSNO = value; } } [ModelDB] public string ARCLIENT { get { return _ARCLIENT; } set { _ARCLIENT = value; } } [ModelDB] public string INGIDNEW { get { return _INGIDNEW; } set { _INGIDNEW = value; } } [ModelDB] public string VALIDDATE { get { return _VALIDDATE; } set { _VALIDDATE = value; } } [ModelDB] public string TOTALNO { get { return _TOTALNO; } set { _TOTALNO = value; } } [ModelDB] public string REMARK2 { get { return _REMARK2; } set { _REMARK2 = value; } } [ModelDB] public string MBLNONEW { get { return _MBLNONEW; } set { _MBLNONEW = value; } } [ModelDB] public string ISCHANGE { get { return _ISCHANGE; } set { _ISCHANGE = value; } } [ModelDB] public string ARCLIENTWMSOUT { get { return _ARCLIENTWMSOUT; } set { _ARCLIENTWMSOUT = value; } } [ModelDB] public string BZTCHNO { get { return _BZTCHNO; } set { _BZTCHNO = value; } } [ModelDB] public string ISCOLLECTING { get { return _ISCOLLECTING; } set { _ISCOLLECTING = value; } } public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } #endregion public WMSOUTmb() { // TableName = "tMsWlPcHead"; TableName = "WMS_OUT"; } public override string GetBillNoFieldName() { return "BSNO"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class WMSOUTImportmb : WMSOUTmb { #region private Fields private string _BSSTATUS = string.Empty; private string _HTH = string.Empty; private string _SUPPLIER_BILLNO = string.Empty; private string _CONTAINERNO = string.Empty; private string _FACTORYNO = string.Empty; private string _COUNTRY = string.Empty; private string _CARGOTYPE = string.Empty; private string _SALER = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _OP = string.Empty; private string _WEIGHT_EX = string.Empty; private string _BOXCOUNT_EX = string.Empty; private string _GOODSPFSL_ACT = string.Empty; private string _GOODSPACKPFSL_ACT = string.Empty; private string _SFCM = string.Empty; private string _COSTPRICE = string.Empty; private string _PRICERMB = string.Empty; private string _TOTALCOST = string.Empty; private string _PAYMONEY = string.Empty; private string _ML = string.Empty; private string _MLRATE = string.Empty; private string _OUTRECEIPT = string.Empty; private string _Sales_OP = string.Empty; private string _Delivery_OP = string.Empty; private string _CONTACT = string.Empty; private string _TEL = string.Empty; #endregion #region Public Properties public string BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } } public string HTH { get { return _HTH; } set { _HTH = value; } } public string SUPPLIER_BILLNO { get { return _SUPPLIER_BILLNO; } set { _SUPPLIER_BILLNO = value; } } public string CONTAINERNO { get { return _CONTAINERNO; } set { _CONTAINERNO = value; } } public string FACTORYNO { get { return _FACTORYNO; } set { _FACTORYNO = value; } } public string COUNTRY { get { return _COUNTRY; } set { _COUNTRY = value; } } public string CARGOTYPE { get { return _CARGOTYPE; } set { _CARGOTYPE = value; } } public string SALER { get { return _SALER; } set { _SALER = value; } } public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } public string OP { get { return _OP; } set { _OP = value; } } public string WEIGHT_EX { get { return _WEIGHT_EX; } set { _WEIGHT_EX = value; } } public string BOXCOUNT_EX { get { return _BOXCOUNT_EX; } set { _BOXCOUNT_EX = value; } } public string GOODSPFSL_ACT { get { return _GOODSPFSL_ACT; } set { _GOODSPFSL_ACT = value; } } public string GOODSPACKPFSL_ACT { get { return _GOODSPACKPFSL_ACT; } set { _GOODSPACKPFSL_ACT = value; } } public string SFCM { get { return _SFCM; } set { _SFCM = value; } } public string COSTPRICE { get { return _COSTPRICE; } set { _COSTPRICE = value; } } public string PRICERMB { get { return _PRICERMB; } set { _PRICERMB = value; } } public string TOTALCOST { get { return _TOTALCOST; } set { _TOTALCOST = value; } } public string PAYMONEY { get { return _PAYMONEY; } set { _PAYMONEY = value; } } public string ML { get { return _ML; } set { _ML = value; } } public string MLRATE { get { return _MLRATE; } set { _MLRATE = value; } } public string OUTRECEIPT { get { return _OUTRECEIPT; } set { _OUTRECEIPT = value; } } public string Sales_OP { get { return _Sales_OP; } set { _Sales_OP = value; } } public string Delivery_OP { get { return _Delivery_OP; } set { _Delivery_OP = value; } } public string CONTACT { get { return _CONTACT; } set { _CONTACT = value; } } public string TEL { get { return _TEL; } set { _TEL = value; } } #endregion } [JsonObject] public class WMSOUTDetailmb : ModelObjectBillBody { #region private Fields private string _GID = string.Empty; private string _INBSNO = string.Empty; private string _OUTBSNO = string.Empty; private string _BSNO = string.Empty; private string _CLIENTGID = string.Empty; private string _CLIENTCODE = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _DODATE = string.Empty; private string _STORAGECODE = string.Empty; private string _STORAGENAME = string.Empty; private string _AREACODE = string.Empty; private string _AREANAME = string.Empty; private string _GOODSCODE = string.Empty; private string _GOODSNAME = string.Empty; private string _GOODSTYPE = string.Empty; private string _GOODSMODEL = string.Empty; private string _GOODSSTANDARD = string.Empty; private string _GOODSPACK = string.Empty; private string _CHARGEUNIT = string.Empty; private string _GOODSPFSL = string.Empty; private string _GOODSPACKPFSL = string.Empty; private string _GOODSOUTFEE = string.Empty; private string _GOODSOUTFEEAP = string.Empty; private string _TRUCKNO = string.Empty; private string _REMARK = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _ASSOCIATEDNO = string.Empty; private string _ARFEE = string.Empty; private string _APFEE = string.Empty; private string _ISLOCK = string.Empty; private string _LOCKTIME = string.Empty; private string _LOCKUSER = string.Empty; private string _CORPID = string.Empty; private string _CLIENTNAMEOLD = string.Empty; private string _OLDCUSTFEEDATE = string.Empty; private string _STARTBILLINGDATE = string.Empty; private string _ENDBILLINGDATE = string.Empty; private string _FEEDAYS = string.Empty; private string _GOODSSLICE = string.Empty; private string _GOODSGRADE = string.Empty; private string _STARTBILLINGDATEAP = string.Empty; private string _ENDBILLINGDATEAP = string.Empty; private string _FEEDAYSAP = string.Empty; private string _ISCHANGE = string.Empty; private string _MARKETVALUE = string.Empty; private string _BZTCHNO = string.Empty; private string _i_WMSDATE = string.Empty; private string _i_CUSTOMERNAME = string.Empty; private string _i_GOODSNAME = string.Empty; private string _i_GOODSMODEL = string.Empty; private string _i_GOODSPACKSTOCK = string.Empty; private string _i_GOODSSTOCK = string.Empty; private string _i_BLNO = string.Empty; private string _i_STARTBILLINGDATE = string.Empty; private string _i_STARTBILLINGDATEAP = string.Empty; private string _i_MARKETVALUE = string.Empty; private string _i_BANKVALUE = string.Empty; private string _i_ISDELETE = string.Empty; private string _i_INBSNO = string.Empty; private string _i_BZTCHNO = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string INBSNO { get { return _INBSNO; } set { _INBSNO = value; } } [ModelDB] public string OUTBSNO { get { return _OUTBSNO; } set { _OUTBSNO = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public string CLIENTGID { get { return _CLIENTGID; } set { _CLIENTGID = value; } } [ModelDB] public string CLIENTCODE { get { return _CLIENTCODE; } set { _CLIENTCODE = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string DODATE { get { return _DODATE; } set { _DODATE = value; } } [ModelDB] public string STORAGECODE { get { return _STORAGECODE; } set { _STORAGECODE = value; } } [ModelDB] public string STORAGENAME { get { return _STORAGENAME; } set { _STORAGENAME = value; } } [ModelDB] public string AREACODE { get { return _AREACODE; } set { _AREACODE = value; } } [ModelDB] public string AREANAME { get { return _AREANAME; } set { _AREANAME = value; } } [ModelDB] public string GOODSCODE { get { return _GOODSCODE; } set { _GOODSCODE = value; } } [ModelDB] public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } [ModelDB] public string GOODSTYPE { get { return _GOODSTYPE; } set { _GOODSTYPE = value; } } [ModelDB] public string GOODSMODEL { get { return _GOODSMODEL; } set { _GOODSMODEL = value; } } [ModelDB] public string GOODSSTANDARD { get { return _GOODSSTANDARD; } set { _GOODSSTANDARD = value; } } [ModelDB] public string GOODSPACK { get { return _GOODSPACK; } set { _GOODSPACK = value; } } [ModelDB] public string CHARGEUNIT { get { return _CHARGEUNIT; } set { _CHARGEUNIT = value; } } [ModelDB] public string GOODSPFSL { get { return _GOODSPFSL; } set { _GOODSPFSL = value; } } [ModelDB] public string GOODSPACKPFSL { get { return _GOODSPACKPFSL; } set { _GOODSPACKPFSL = value; } } [ModelDB] public string GOODSOUTFEE { get { return _GOODSOUTFEE; } set { _GOODSOUTFEE = value; } } [ModelDB] public string GOODSOUTFEEAP { get { return _GOODSOUTFEEAP; } set { _GOODSOUTFEEAP = value; } } [ModelDB] public string TRUCKNO { get { return _TRUCKNO; } set { _TRUCKNO = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string ASSOCIATEDNO { get { return _ASSOCIATEDNO; } set { _ASSOCIATEDNO = value; } } [ModelDB] public string ARFEE { get { return _ARFEE; } set { _ARFEE = value; } } [ModelDB] public string APFEE { get { return _APFEE; } set { _APFEE = value; } } [ModelDB] public string ISLOCK { get { return _ISLOCK; } set { _ISLOCK = value; } } [ModelDB] public string LOCKTIME { get { return _LOCKTIME; } set { _LOCKTIME = value; } } [ModelDB] public string LOCKUSER { get { return _LOCKUSER; } set { _LOCKUSER = value; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string CLIENTNAMEOLD { get { return _CLIENTNAMEOLD; } set { _CLIENTNAMEOLD = value; } } [ModelDB] public string OLDCUSTFEEDATE { get { return _OLDCUSTFEEDATE; } set { _OLDCUSTFEEDATE = value; } } [ModelDB] public string STARTBILLINGDATE { get { return _STARTBILLINGDATE; } set { _STARTBILLINGDATE = value; } } [ModelDB] public string ENDBILLINGDATE { get { return _ENDBILLINGDATE; } set { _ENDBILLINGDATE = value; } } [ModelDB] public string FEEDAYS { get { return _FEEDAYS; } set { _FEEDAYS = value; } } [ModelDB] public string GOODSSLICE { get { return _GOODSSLICE; } set { _GOODSSLICE = value; } } [ModelDB] public string GOODSGRADE { get { return _GOODSGRADE; } set { _GOODSGRADE = value; } } [ModelDB] public string STARTBILLINGDATEAP { get { return _STARTBILLINGDATEAP; } set { _STARTBILLINGDATEAP = value; } } [ModelDB] public string ENDBILLINGDATEAP { get { return _ENDBILLINGDATEAP; } set { _ENDBILLINGDATEAP = value; } } [ModelDB] public string FEEDAYSAP { get { return _FEEDAYSAP; } set { _FEEDAYSAP = value; } } [ModelDB] public string ISCHANGE { get { return _ISCHANGE; } set { _ISCHANGE = value; } } [ModelDB] public string MARKETVALUE { get { return _MARKETVALUE; } set { _MARKETVALUE = value; } } [ModelDB] public string BZTCHNO { get { return _BZTCHNO; } set { _BZTCHNO = value; } } public string i_WMSDATE { get { return _i_WMSDATE; } set { _i_WMSDATE = value; } } public string i_CUSTOMERNAME { get { return _i_CUSTOMERNAME; } set { _i_CUSTOMERNAME = value; } } public string i_GOODSNAME { get { return _i_GOODSNAME; } set { _i_GOODSNAME = value; } } public string i_GOODSMODEL { get { return _i_GOODSMODEL; } set { _i_GOODSMODEL = value; } } public string i_GOODSPACKSTOCK { get { return _i_GOODSPACKSTOCK; } set { _i_GOODSPACKSTOCK = value; } } public string i_GOODSSTOCK { get { return _i_GOODSSTOCK; } set { _i_GOODSSTOCK = value; } } public string i_BLNO { get { return _i_BLNO; } set { _i_BLNO = value; } } public string i_STARTBILLINGDATE { get { return _i_STARTBILLINGDATE; } set { _i_STARTBILLINGDATE = value; } } public string i_STARTBILLINGDATEAP { get { return _i_STARTBILLINGDATEAP; } set { _i_STARTBILLINGDATEAP = value; } } public string i_MARKETVALUE { get { return _i_MARKETVALUE; } set { _i_MARKETVALUE = value; } } public string i_BANKVALUE { get { return _i_BANKVALUE; } set { _i_BANKVALUE = value; } } public string i_ISDELETE { get { return _i_ISDELETE; } set { _i_ISDELETE = value; } } public string i_INBSNO { get { return _i_INBSNO; } set { _i_INBSNO = value; } } public string i_BZTCHNO { get { return _i_BZTCHNO; } set { _i_BZTCHNO = value; } } #endregion public WMSOUTDetailmb() { // TableName = "tMsWlPcHead"; TableName = "WMS_OUT_Detail"; } public override string GetBillNoFieldName() { return "OUTBSNO"; } } [JsonObject] public class WMSRATEDetailmb : ModelObjectBillBody { #region private Fields private string _GID = string.Empty; private string _ASSOCIATEDNO = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _FEETYPE = string.Empty; private string _FEEGRADE = string.Empty; private string _STARTBILLINGDATE = string.Empty; private string _ENDBILLINGDATE = string.Empty; private string _FEESCALE = string.Empty; private string _FEEUNIT = string.Empty; private string _FEEPRICE = string.Empty; private string _GOODSPFSL = string.Empty; private string _OUTFEE = string.Empty; private string _REMARK = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _WMSOUTGID = string.Empty; private string _FEETYPEREF = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string ASSOCIATEDNO { get { return _ASSOCIATEDNO; } set { _ASSOCIATEDNO = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string FEETYPE { get { return _FEETYPE; } set { _FEETYPE = value; } } public string FEETYPEREF { get { return _FEETYPEREF; } set { _FEETYPEREF = value; } } [ModelDB] public string FEEGRADE { get { return _FEEGRADE; } set { _FEEGRADE = value; } } [ModelDB] public string STARTBILLINGDATE { get { return _STARTBILLINGDATE; } set { _STARTBILLINGDATE = value; } } [ModelDB] public string ENDBILLINGDATE { get { return _ENDBILLINGDATE; } set { _ENDBILLINGDATE = value; } } [ModelDB] public string FEESCALE { get { return _FEESCALE; } set { _FEESCALE = value; } } [ModelDB] public string FEEUNIT { get { return _FEEUNIT; } set { _FEEUNIT = value; } } [ModelDB] public string FEEPRICE { get { return _FEEPRICE; } set { _FEEPRICE = value; } } [ModelDB] public string GOODSPFSL { get { return _GOODSPFSL; } set { _GOODSPFSL = value; } } [ModelDB] public string OUTFEE { get { return _OUTFEE; } set { _OUTFEE = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string WMSOUTGID { get { return _WMSOUTGID; } set { _WMSOUTGID = value; } } #endregion public WMSRATEDetailmb() { // TableName = "tMsWlPcHead"; TableName = "WMS_RATE_Detail"; } public override string GetBillNoFieldName() { return "WMSOUTGID"; } } [JsonObject] public class SetFeeresult : Object { public string sumfee; public string feedays; } [JsonObject] public class WMSPricemb : ModelObjectBillHead { #region private Fields private string _GID = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _PRICEDATE = string.Empty; private string _PRICE_PAY = string.Empty; private string _PRICE_RECV = string.Empty; private string _remark = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string PRICEDATE { get { return _PRICEDATE; } set { _PRICEDATE = value; } } [ModelDB] public string PRICE_PAY { get { return _PRICE_PAY; } set { _PRICE_PAY = value; } } [ModelDB] public string PRICE_RECV { get { return _PRICE_RECV; } set { _PRICE_RECV = value; } } [ModelDB] public string remark { get { return _remark; } set { _remark = value; } } #endregion public WMSPricemb ( ) { // TableName = "tMsWlPcHead"; TableName = "WMSPrice"; } public override string GetBillNoFieldName ( ) { return "GID"; } public override string GetTimeMarkFieldName ( ) { return ""; } } [JsonObject] public class WMSDetailmb : ModelObjectBillHead { #region private Fields private string _NID = string.Empty; private string _BLNO = string.Empty; private string _CUSTOMNO = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _STORAGENAME = string.Empty; private string _GOODSNAME = string.Empty; private string _GOODSSTANDARD = string.Empty; private string _GOODSMODEL = string.Empty; private string _WMSNO = string.Empty; private string _OUTBSNO_OUT = string.Empty; private string _BSNO_OUT = string.Empty; private string _WMSDATE = string.Empty; private string _DODATE_OUT = string.Empty; private string _GOODSRKSL = string.Empty; private string _GOODSRKSLACTUAL = string.Empty; private string _GOODSPFSL_OUT = string.Empty; private string _GOODSSTOCK = string.Empty; private string _CHARGEUNIT = string.Empty; private string _GOODSOUTFEE_OUT = string.Empty; private string _GOODSOUTFEEAP_OUT = string.Empty; private string _ARFEE = string.Empty; private string _APFEE = string.Empty; private string _ARFEE_OUT = string.Empty; private string _APFEE_OUT = string.Empty; private string _FREESTORAGEPERIOD = string.Empty; private string _CONTRACTNO = string.Empty; private string _GOODSPACK = string.Empty; private string _GOODSPACKSTOCK = string.Empty; private string _GOODSPACKPFSL_OUT = string.Empty; private string _TRUCKNO_OUT = string.Empty; private string _REMARK_OUT = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _CREATEUSER_OUT = string.Empty; private string _CREATETIME_OUT = string.Empty; private string _CNTRNO = string.Empty; private string _PICIHAO = string.Empty; private string _AREACODE = string.Empty; private string _AREACODE_OUT = string.Empty; private string _PRODDATE = string.Empty; private string _FACTORYNO = string.Empty; private string _WMSINREMARK = string.Empty; private string _AREANAME = string.Empty; private string _TRAYNO = string.Empty; private string _WMSINGID = string.Empty; private string _COUNTRYOFORIGIN = string.Empty; private string _INVOICENO = string.Empty; private string _KINDPKGS = string.Empty; private string _BZTCHNO_WMSIN = string.Empty; private string _Productiondate = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string NID { get { return _NID; } set { _NID = value; } } public string WMSINGID { get { return _WMSINGID; } set { _WMSINGID = value; } } public string BLNO { get { return _BLNO; } set { _BLNO = value; } } public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } } public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } public string STORAGENAME { get { return _STORAGENAME; } set { _STORAGENAME = value; } } public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } public string GOODSSTANDARD { get { return _GOODSSTANDARD; } set { _GOODSSTANDARD = value; } } public string GOODSMODEL { get { return _GOODSMODEL; } set { _GOODSMODEL = value; } } public string WMSNO { get { return _WMSNO; } set { _WMSNO = value; } } public string OUTBSNO_OUT { get { return _OUTBSNO_OUT; } set { _OUTBSNO_OUT = value; } } public string BSNO_OUT { get { return _BSNO_OUT; } set { _BSNO_OUT = value; } } public string WMSDATE { get { return _WMSDATE; } set { _WMSDATE = value; } } public string DODATE_OUT { get { return _DODATE_OUT; } set { _DODATE_OUT = value; } } public string GOODSRKSL { get { return _GOODSRKSL; } set { _GOODSRKSL = value; } } public string GOODSRKSLACTUAL { get { return _GOODSRKSLACTUAL; } set { _GOODSRKSLACTUAL = value; } } public string GOODSPFSL_OUT { get { return _GOODSPFSL_OUT; } set { _GOODSPFSL_OUT = value; } } public string GOODSSTOCK { get { return _GOODSSTOCK; } set { _GOODSSTOCK = value; } } public string CHARGEUNIT { get { return _CHARGEUNIT; } set { _CHARGEUNIT = value; } } public string GOODSOUTFEE_OUT { get { return _GOODSOUTFEE_OUT; } set { _GOODSOUTFEE_OUT = value; } } public string GOODSOUTFEEAP_OUT { get { return _GOODSOUTFEEAP_OUT; } set { _GOODSOUTFEEAP_OUT = value; } } public string ARFEE { get { return _ARFEE; } set { _ARFEE = value; } } public string APFEE { get { return _APFEE; } set { _APFEE = value; } } public string ARFEE_OUT { get { return _ARFEE_OUT; } set { _ARFEE_OUT = value; } } public string APFEE_OUT { get { return _APFEE_OUT; } set { _APFEE_OUT = value; } } public string FREESTORAGEPERIOD { get { return _FREESTORAGEPERIOD; } set { _FREESTORAGEPERIOD = value; } } public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } } public string GOODSPACK { get { return _GOODSPACK; } set { _GOODSPACK = value; } } public string GOODSPACKSTOCK { get { return _GOODSPACKSTOCK; } set { _GOODSPACKSTOCK = value; } } public string GOODSPACKPFSL_OUT { get { return _GOODSPACKPFSL_OUT; } set { _GOODSPACKPFSL_OUT = value; } } public string TRUCKNO_OUT { get { return _TRUCKNO_OUT; } set { _TRUCKNO_OUT = value; } } public string REMARK_OUT { get { return _REMARK_OUT; } set { _REMARK_OUT = value; } } public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } public string CREATEUSER_OUT { get { return _CREATEUSER_OUT; } set { _CREATEUSER_OUT = value; } } public string CREATETIME_OUT { get { return _CREATETIME_OUT; } set { _CREATETIME_OUT = value; } } public string CNTRNO { get { return _CNTRNO; } set { _CNTRNO = value; } } public string PICIHAO { get { return _PICIHAO; } set { _PICIHAO = value; } } public string AREACODE_OUT { get { return _AREACODE_OUT; } set { _AREACODE_OUT = value; } } public string AREACODE { get { return _AREACODE; } set { _AREACODE = value; } } public string PRODDATE { get { return _PRODDATE; } set { _PRODDATE = value; } } public string FACTORYNO { get { return _FACTORYNO; } set { _FACTORYNO = value; } } public string WMSINREMARK { get { return _WMSINREMARK; } set { _WMSINREMARK = value; } } public string AREANAME { get { return _AREANAME; } set { _AREANAME = value; } } public string TRAYNO { get { return _TRAYNO; } set { _TRAYNO = value; } } public string COUNTRYOFORIGIN { get { return _COUNTRYOFORIGIN; } set { _COUNTRYOFORIGIN = value; } } public string INVOICENO { get { return _INVOICENO; } set { _INVOICENO = value; } } public string KINDPKGS { get { return _KINDPKGS; } set { _KINDPKGS = value; } } public string BZTCHNO_WMSIN { get { return _BZTCHNO_WMSIN; } set { _BZTCHNO_WMSIN = value; } } #endregion private string _GOODSKGS = string.Empty; public string GOODSKGS { get { return _GOODSKGS; } set { _GOODSKGS = value; } } private string _GOODSPACK_INDETAIL = string.Empty; public string GOODSPACK_INDETAIL { get { return _GOODSPACK_INDETAIL; } set { _GOODSPACK_INDETAIL = value; } } private string _GOODSRKSL_INDETAIL = string.Empty; public string GOODSRKSL_INDETAIL { get { return _GOODSRKSL_INDETAIL; } set { _GOODSRKSL_INDETAIL = value; } } public WMSDetailmb ( ) { // TableName = "tMsWlPcHead"; TableName = "VW_WMS_DETAIL"; } public override string GetBillNoFieldName ( ) { return "NID"; } public override string GetTimeMarkFieldName ( ) { return ""; } } public class WMSDetaillmb_XPW : WMSDetailmb { #region private Fields private string _BUZTYPEREF = string.Empty; private string _IMPORTCOUNTRY = string.Empty; private string _PORTREF = string.Empty; private string _COMPANYNAME = string.Empty; #endregion #region Public Properties public string BUZTYPEREF { get { return _BUZTYPEREF; } set { _BUZTYPEREF = value; } } public string IMPORTCOUNTRY { get { return _IMPORTCOUNTRY; } set { _IMPORTCOUNTRY = value; } } public string PORTREF { get { return _PORTREF; } set { _PORTREF = value; } } public string COMPANYNAME { get { return _COMPANYNAME; } set { _COMPANYNAME = value; } } #endregion } [JsonObject] public class WMSImportDetailmb : WMSDetailmb { #region private Fields private string _GID = string.Empty; private string _ISLOCK = string.Empty; private string _COSTPRICE_EX = string.Empty; private string _COSTPRICE = string.Empty; private string _COSTCARGO = string.Empty; private string _LOCKTIME = string.Empty; private string _LOCKUSER = string.Empty; private string _Inspection_Storage = string.Empty; private string _inspection_date = string.Empty; private string _Unsealdate = string.Empty; private string _Agent = string.Empty; private string _SALEINFO = string.Empty; private string _MainStateRef = string.Empty; private string _Country_Ref = string.Empty; private string _PAYCOMPANY = string.Empty; private string _MOREORLESS = string.Empty; private string _MOREORLESSCOUNT = string.Empty; private string _PUTINTYPE = string.Empty; #endregion #region Public Properties public string PUTINTYPE { get { return _PUTINTYPE; } set { _PUTINTYPE = value; } } public string GID { get { return _GID; } set { _GID = value; } } public string ISLOCK { get { return _ISLOCK; } set { _ISLOCK = value; } } public string COSTPRICE_EX { get { return _COSTPRICE_EX; } set { _COSTPRICE_EX = value; } } public string COSTPRICE { get { return _COSTPRICE; } set { _COSTPRICE = value; } } public string COSTCARGO { get { return _COSTCARGO; } set { _COSTCARGO = value; } } public string LOCKTIME { get { return _LOCKTIME; } set { _LOCKTIME = value; } } public string LOCKUSER { get { return _LOCKUSER; } set { _LOCKUSER = value; } } public string Inspection_Storage { get { return _Inspection_Storage; } set { _Inspection_Storage = value; } } public string inspection_date { get { return _inspection_date; } set { _inspection_date = value; } } public string Unsealdate { get { return _Unsealdate; } set { _Unsealdate = value; } } public string Agent { get { return _Agent; } set { _Agent = value; } } public string SALEINFO { get { return _SALEINFO; } set { _SALEINFO = value; } } public string MainStateRef { get { return _MainStateRef; } set { _MainStateRef = value; } } public string Country_Ref { get { return _Country_Ref; } set { _Country_Ref = value; } } private string _CargoType = string.Empty; public string CargoType { get { return _CargoType; } set { _CargoType = value; } } public string PAYCOMPANY { get { return _PAYCOMPANY; } set { _PAYCOMPANY = value; } } public string MOREORLESS { get { return _MOREORLESS; } set { _MOREORLESS = value; } } public string MOREORLESSCOUNT { get { return _MOREORLESSCOUNT; } set { _MOREORLESSCOUNT = value; } } #endregion } #region 新的仓储数据结构 public class WMSIN_mb { } public class WMSIN_DETAIL_mb { } public class WMS_CHANGE_mb { } public class WMS_STOCK_mb { } public class WMS_STOCK_GROUP_mb { } public class WMS_STOCK_GROUP_RELATIONSHIP_mb { } public class WMSOUT_mb { } public class WMSOUT_DETAIL_mb { } #endregion }