using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.WMSNew { [JsonObject] public class WMSNew : 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 _GOODSKGS = "0"; private string _ARFEE = "0"; private string _APFEE = "0"; //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; private string _WHS_CODE = string.Empty; private string _GOODSNAMEID = string.Empty; private string _REMARKS = string.Empty; private string _PICIHAO = string.Empty; private decimal _ISVOU = 0; private string _COMPANY = string.Empty; //会计区间 private string _ACCDATE = string.Empty; //费用状态 private bool _FEESTATUS; private string _TiDanJianShu ="0"; private string _TiDanZhongLiang ="0"; //EIP 增加 private string _Factory = string.Empty; private string _Driver = string.Empty; private string _TruckNo = string.Empty; //XRF 水分 private string _WET = string.Empty; private string _RENTAREA = "0"; private string _SALE = ""; #endregion #region Public Properties [ModelDB] public string PICIHAO { get { return _PICIHAO; } set { _PICIHAO = value; } } public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } } [ModelDB] public string GOODSNAMEID { get { return _GOODSNAMEID; } set { _GOODSNAMEID = value; } } [ModelDB] public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string WHS_CODE { get { return _WHS_CODE; } set { _WHS_CODE = 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 GOODSKGS { get { return _GOODSKGS; } set { _GOODSKGS = 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; } } [ModelDB] public string REMARKS { get { return _REMARKS; } set { _REMARKS = value; } } [ModelDB] public string TiDanJianShu { get { return _TiDanJianShu; } set { _TiDanJianShu = value; } } [ModelDB] public string TiDanZhongLiang { get { return _TiDanZhongLiang; } set { _TiDanZhongLiang = value; } } [ModelDB] public string FACTORY { get { return _Factory; } set { _Factory = value; } } [ModelDB] public string DRIVER { get { return _Driver; } set { _Driver = value; } } [ModelDB] public string TRUCKNO { get { return _TruckNo; } set { _TruckNo = value; } } [ModelDB] public string WET { get { return _WET; } set { _WET = value; } } [ModelDB] public string RENTAREA { get { return _RENTAREA; } set { _RENTAREA = value; } } public string CARGO_GID { get { return _CARGO_GID; } set { _CARGO_GID = value; } } public decimal ISVOU { get { return _ISVOU; } set { _ISVOU = value; } } [ModelDB] public string COMPANY { get { return _COMPANY; } set { _COMPANY = value; } } #endregion private string _REMARK = string.Empty; [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } private Boolean _eip = false; /// /// eip /// [ModelDB] public Boolean EIP { get { return _eip; } set { _eip = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } public WMSNew ( ) { // TableName = "tMsWlPcHead"; TableName = "WMS"; } public override string GetBillNoFieldName ( ) { return "GID"; } public override string GetTimeMarkFieldName ( ) { return ""; } } [JsonObject] public class WMSmb_ImportTrade : WMSNew { #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 WMSNewIN : 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; private string _GOODSNAMEID = string.Empty; private string _XIANGHAO2 = string.Empty; private string _JIANSHU2 = string.Empty; private string _JIANSHU1 = string.Empty; private string _TRUCKNO = string.Empty; private string _ZHUANGXIEGONGID = string.Empty; private string _ZHUANGXIEGONG = string.Empty; private string _LUYUNFEI = string.Empty; private string _DIAOTOUFEI = string.Empty; private string _XIUXIXIANGFEI = string.Empty; private string _DIAOZHUANGFEI = string.Empty; private string _CHEDUIID = string.Empty; private string _CHEDUI = string.Empty; //重量2、尺码1、尺码2、实际重量、实际尺码 private string _CHIMA1 = string.Empty; private string _CHIMA2 = string.Empty; private string _ZHONGLIANG2 = string.Empty; private string _SHIJIZHONGLIANG = string.Empty; private string _SHIJICHIMA = string.Empty; private string _PICIHAO = string.Empty; private string _ZhuangXieFei = string.Empty; private string _ZhuangXieFeeType = string.Empty; private string _ZhuangXieFeiDanJiaJian = string.Empty; private string _ZhuangXieFeiDanJiaTon = string.Empty; private string _DOCK = string.Empty; private string _LinShiZhuangXieFeiDanJiaDun = string.Empty; private string _LinShiZhuangXieFeiDanJiaJian = string.Empty; private string _trayno = string.Empty; private string _LOADERFEE = string.Empty; [ModelDB] public string LOADERFEE { get { return _LOADERFEE; } set { _LOADERFEE = value; } } [ModelDB] public string ZhuangXieFei { get { return _ZhuangXieFei; } set { _ZhuangXieFei = value; } } [ModelDB] public string ZhuangXieFeeType { get { return _ZhuangXieFeeType; } set { _ZhuangXieFeeType = value; } } public string ZhuangXieFeiDanJiaJian { get { return _ZhuangXieFeiDanJiaJian; } set { _ZhuangXieFeiDanJiaJian = value; } } public string ZhuangXieFeiDanJiaTon { get { return _ZhuangXieFeiDanJiaTon; } set { _ZhuangXieFeiDanJiaTon = value; } } [ModelDB] public string PICIHAO { get { return _PICIHAO; } set { _PICIHAO = value; } } [ModelDB] public string CHIMA1 { get { return _CHIMA1; } set { _CHIMA1 = value; } } [ModelDB] public string CHIMA2 { get { return _CHIMA2; } set { _CHIMA2 = value; } } [ModelDB] public string ZHONGLIANG2 { get { return _ZHONGLIANG2; } set { _ZHONGLIANG2 = value; } } [ModelDB] public string SHIJIZHONGLIANG { get { return _SHIJIZHONGLIANG; } set { _SHIJIZHONGLIANG = value; } } [ModelDB] public string SHIJICHIMA { get { return _SHIJICHIMA; } set { _SHIJICHIMA = value; } } public string CHEDUI { get { return _CHEDUI; } set { _CHEDUI = value; } } [ModelDB] public string CHEDUIID { get { return _CHEDUIID; } set { _CHEDUIID = value; } } public string ZHUANGXIEGONG { get { return _ZHUANGXIEGONG; } set { _ZHUANGXIEGONG = value; } } [ModelDB] public string LUYUNFEI { get { return _LUYUNFEI; } set { _LUYUNFEI = value; } } [ModelDB] public string DIAOTOUFEI { get { return _DIAOTOUFEI; } set { _DIAOTOUFEI = value; } } [ModelDB] public string XIUXIXIANGFEI { get { return _XIUXIXIANGFEI; } set { _XIUXIXIANGFEI = value; } } [ModelDB] public string DIAOZHUANGFEI { get { return _DIAOZHUANGFEI; } set { _DIAOZHUANGFEI = value; } } [ModelDB] public string TRUCKNO { get { return _TRUCKNO; } set { _TRUCKNO = value; } } [ModelDB] public string ZHUANGXIEGONGID { get { return _ZHUANGXIEGONGID; } set { _ZHUANGXIEGONGID = value; } } [ModelDB] public string XIANGHAO2 { get { return _XIANGHAO2; } set { _XIANGHAO2 = value; } } [ModelDB] public string JIANSHU1 { get { return _JIANSHU1; } set { _JIANSHU1 = value; } } [ModelDB] public string JIANSHU2 { get { return _JIANSHU2; } set { _JIANSHU2 = value; } } [ModelDB] public string GOODSNAMEID { get { return _GOODSNAMEID; } set { _GOODSNAMEID = value; } } private string _GOODSNAMEDISPLAY = string.Empty; public string GOODSNAMEDISPLAY { get { return _GOODSNAMEDISPLAY; } set { _GOODSNAMEDISPLAY = value; } } //用于表示货物进口国 private string _COUNTRYID = string.Empty; private string _COUNTRY = string.Empty; [ModelDB] public string COUNTRYID { get { return _COUNTRYID; } set { _COUNTRYID = value; } } public string COUNTRY { get { return _COUNTRY; } set { _COUNTRY = value; } } //码头 鑫润丰需求20180530 [ModelDB] public string DOCK { get { return _DOCK; } set { _DOCK = value; } } [ModelDB] public string LinShiZhuangXieFeiDanJiaDun { get { return _LinShiZhuangXieFeiDanJiaDun; } set { _LinShiZhuangXieFeiDanJiaDun = value; } } [ModelDB] public string LinShiZhuangXieFeiDanJiaJian { get { return _LinShiZhuangXieFeiDanJiaJian; } set { _LinShiZhuangXieFeiDanJiaJian = value; } } #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; } } [ModelDB] public string TRAYNO { get { return _trayno; } set { _trayno = value; } } #endregion #region 20191205 中棉裕龙 增加 private string _INVOICENO = string.Empty; private string _BZTCHNO = string.Empty; private string _PRODUCTIONDATE = string.Empty; private string _FactoryNo = string.Empty; /// /// 发票号 /// virtual public string INVOICENO { get { return _INVOICENO; } set { _INVOICENO = value; } } /// /// 批次号 /// virtual public string BZTCHNO { get { return _BZTCHNO; } set { _BZTCHNO = value; } } /// /// 生产日期 /// //生产日期 added by xxq 20181211 /// [ModelDB] virtual public string PRODUCTIONDATE { get { return _PRODUCTIONDATE; } set { _PRODUCTIONDATE = value; } } /// /// //厂号 added by xxq 20190114 /// [ModelDB] public string FACTORYNO { get { return _FactoryNo; } set { _FactoryNo = value; } } #endregion public WMSNewIN ( ) { TableName = "WMS_IN"; } public override string GetBillNoFieldName ( ) { return "ASSOCIATEDNO"; } } [JsonObject] public class WMSIN_ZMYL : WMSNewIN { #region 20191205 中棉裕龙 增加 private string _INVOICENO = string.Empty; private string _BZTCHNO = string.Empty; private string _PRODUCTIONDATE = string.Empty; /// /// 发票号 /// [ModelDB] override public string INVOICENO { get { return _INVOICENO; } set { _INVOICENO = value; } } /// /// 批次号 /// [ModelDB] override public string BZTCHNO { get { return _BZTCHNO; } set { _BZTCHNO = value; } } #endregion } [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 string CREATEUSER2 { get; set; } 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 _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; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string NID { get { return _NID; } set { _NID = 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 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; } } #endregion public WMSDetailmb ( ) { // TableName = "tMsWlPcHead"; TableName = "VW_WMS_DETAIL"; } public override string GetBillNoFieldName ( ) { return "NID"; } public override string GetTimeMarkFieldName ( ) { return ""; } } [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 } [JsonObject] //费用 public class CostModel { public string WMSGID { get; set; } public string WMSINGID { get; set; } public decimal LUYUNFEI { get; set; } public decimal DIAOTOUFEI { get; set; } public decimal XIUXIXIANGFEI { get; set; } public decimal DIAOZHUANGFEI { get; set; } public string TRUCKNO { get; set; } public decimal ZhuangXieFei { get; set; } public string CHEDUI { get; set; } public string ZHUANGXIEGONGID { get; set; } //关联海运进口 20190415 BY BALINGXU public string BSNO { get; set; } //入库装卸费 20190725 BY BALINGXU public string ARCLIENT { get; set; } public decimal LOADERFEE { get; set; } } [JsonObject] //车队 public class CheDui { public string GID { get; set; } public string NAME { get; set; } public string CODE { get; set; } public string CODENAME { get; set; } } }