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

4911 lines
135 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using HcUtility.Core;
using Newtonsoft.Json;
using DSWeb.Areas.Import.Models.XXH;
using System.Xml;
using System.Xml.Serialization;
namespace DSWeb.Areas.Import.Models.ImportTrade
{
[JsonObject]
public class ImportTrademb : XXHmb
{
#region private Fields
private string _MainstateRef = string.Empty;
private string _Selled_Ref = string.Empty;
private string _Supplier_Billno = string.Empty;
private string _Other_Billno = string.Empty;
private string _Agent = string.Empty;
private string _Owner_Ref = string.Empty;
private string _Buy_Type = string.Empty;
private string _Buy_Op = string.Empty;
private string _buyer = string.Empty;
private string _Country_Ref = string.Empty;
private string _shipcompany_Ref = string.Empty;
private string _Sailingdate = string.Empty;
private string _SealNo = string.Empty;
private string _Audittime = string.Empty;
private string _Receiptremark = string.Empty;
private string _Bill_ExpressNo = string.Empty;
private string _paydate_ref = string.Empty;
private string _paydate_b_ref = string.Empty;
private string _Agents_paydate = string.Empty;
private string _Agents_b_paydate = string.Empty;
private string _CargoType = string.Empty;
private string _CargoType_Ref = string.Empty;
private string _CargoName = string.Empty;
private string _Ename = string.Empty;
private string _BoxCount = string.Empty;
private string _KINDPKGS = string.Empty;
private string _Weight = string.Empty;
private string _weight_Ref = string.Empty;
private string _Exporter = string.Empty;
private string _factoryno = string.Empty;
private string _productiondate_min = string.Empty;
private string _productiondate_max = string.Empty;
private string _TransactionMethod = string.Empty;
private string _price_limit = string.Empty;
private string _amount = string.Empty;
private string _pay_amount = string.Empty;
private string _pay_amount_RMBes = string.Empty;
private string _Currency = string.Empty;
private string _Price = string.Empty;
private string _price_RMBes = string.Empty;
private string _STORAGENAME = string.Empty;
private string _GOODSPACK = string.Empty;
private string _Overfilled = string.Empty;
private string _GOODSPACKSTOCK_Ref = string.Empty;
private string _GOODSSTOCK_Ref = string.Empty;
private string _StoreDays = string.Empty;
private string _CargoDays = string.Empty;
private string _PreProportion = string.Empty;
private string _Prepayments = string.Empty;
private string _prepayments_RMB = string.Empty;
private string _prepayments_RMBes = string.Empty;
private string _Exchange_Pre = string.Empty;
private string _Prepaydate = string.Empty;
private string _Prepaydate_Agent = string.Empty;
private string _Balance = string.Empty;
private string _Balance_RMB = string.Empty;
private string _Balance_RMBes = string.Empty;
private string _Exchange_Balance = string.Empty;
private string _Balancepaydate = string.Empty;
private string _Balancepaydate_Agent = string.Empty;
private string _Prepaydate_sett = string.Empty;
private string _Balancepaydate_sett = string.Empty;
private string _AllCostes = string.Empty;
private string _BasePricees = string.Empty;
private string _AllCost = string.Empty;
private string _BasePrice = string.Empty;
private string _AllPayment = string.Empty;
private string _FundsUsed = string.Empty;
private string _FEESTATUS = "0";
private string _tax_1 = string.Empty;
private string _tax_zz_1 = string.Empty;
private string _tax_1_es = string.Empty;
private string _tax_zz_1_es = string.Empty;
private string _tax = string.Empty;
private string _tax_bt = string.Empty;
private string _OP = string.Empty;
private string _CORPID = string.Empty;
private string _GID = string.Empty;
private string _SEQUENCE = string.Empty;
private string _PUBLIC_AMOUNT = string.Empty;
private string _PUBLIC_SETTLEMENT = string.Empty;
private string _PUBLIC_REMAIN = string.Empty;
private string _LOCAL_AMOUNT = string.Empty;
private string _LOCAL_SETTLEMENT = string.Empty;
private string _LOCAL_REMAIN = string.Empty;
private string _WEIGHT_ACT = string.Empty;
private string _WEIGHT_REMAIN = string.Empty;
private string _BOXCOUNT_ACT = string.Empty;
private string _BOXCOUNT_REMAIN = string.Empty;
private string _WEIGHT_HT = string.Empty;
private string _BOXCOUNT_HT = string.Empty;
private string _DZCE = string.Empty;
private string _ExpirationDate = string.Empty;//保质期
private string _countryid = string.Empty;
private string _LOCK_EXCHANGERATE = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _SALEINFO = string.Empty;
private string _SPECIFICATIONS = string.Empty;
private string _DeliveryInfo = string.Empty;
private string _STOCKDATE_1 = string.Empty;
private string _STOCKDATE_2 = string.Empty;
private string _FUNDDATE_1 = string.Empty;
private string _FUNDDATE_2 = string.Empty;
private string _PAYCOMPANY = string.Empty;
private string _Agent2 = string.Empty;
private string _Agent3 = string.Empty;
private string _MOREORLESS = string.Empty;
private string _MOREORLESSCOUNT = string.Empty;
private string _Prepaydate_Payapp = string.Empty;
private int _ExpirationDates;
public int ExpirationDates
{
get { return _ExpirationDates; }
set { _ExpirationDates = value; }
}
private string _ispinxiang;
[ModelDB]
public string ispinxiang
{
get { return _ispinxiang; }
set { _ispinxiang = value; }
}
#endregion
#region public Fields
public string Selled_Ref
{
get { return _Selled_Ref; }
set { _Selled_Ref = value; }
}
[ModelDB]
public string Supplier_Billno
{
get { return _Supplier_Billno; }
set { _Supplier_Billno = value; }
}
[ModelDB]
public string Other_Billno
{
get { return _Other_Billno; }
set { _Other_Billno = value; }
}
[ModelDB]
public string Agent
{
get { return _Agent; }
set { _Agent = value; }
}
public string Owner_Ref
{
get { return _Owner_Ref; }
set { _Owner_Ref = value; }
}
[ModelDB]
public string Buy_Type
{
get { return _Buy_Type; }
set { _Buy_Type = value; }
}
[ModelDB]
public string Buy_Op
{
get { return _Buy_Op; }
set { _Buy_Op = value; }
}
[ModelDB]
public string buyer
{
get { return _buyer; }
set { _buyer = value; }
}
public string Country_Ref
{
get { return _Country_Ref; }
set { _Country_Ref = value; }
}
public string shipcompany_Ref
{
get { return _shipcompany_Ref; }
set { _shipcompany_Ref = value; }
}
[ModelDB]
public string Bill_ExpressNo
{
get { return _Bill_ExpressNo; }
set { _Bill_ExpressNo = value; }
}
public string paydate_ref
{
get { return _paydate_ref; }
set { _paydate_ref = value; }
}
public string paydate_b_ref
{
get { return _paydate_b_ref; }
set { _paydate_b_ref = value; }
}
[ModelDB]
public string Agents_paydate
{
get { return _Agents_paydate; }
set { _Agents_paydate = value; }
}
[ModelDB]
public string Agents_b_paydate
{
get { return _Agents_b_paydate; }
set { _Agents_b_paydate = value; }
}
public string CargoType
{
get { return _CargoType; }
set { _CargoType = value; }
}
public string CargoType_Ref
{
get { return _CargoType_Ref; }
set { _CargoType_Ref = value; }
}
public string CargoName
{
get { return _CargoName; }
set { _CargoName = value; }
}
public string Ename
{
get { return _Ename; }
set { _Ename = value; }
}
public string BoxCount
{
get { return _BoxCount; }
set { _BoxCount = value; }
}
public string KINDPKGS
{
get { return _KINDPKGS; }
set { _KINDPKGS = value; }
}
public string Weight
{
get { return _Weight; }
set { _Weight = value; }
}
public string weight_Ref
{
get { return _weight_Ref; }
set { _weight_Ref = value; }
}
public string factoryno
{
get { return _factoryno; }
set { _factoryno = 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 price_limit
{
get { return _price_limit; }
set { _price_limit = value; }
}
public string amount
{
get { return _amount; }
set { _amount = value; }
}
public string pay_amount
{
get { return _pay_amount; }
set { _pay_amount = value; }
}
public string pay_amount_RMBes
{
get { return _pay_amount_RMBes; }
set { _pay_amount_RMBes = value; }
}
public string Currency
{
get { return _Currency; }
set { _Currency = value; }
}
public string Price
{
get { return _Price; }
set { _Price = value; }
}
public string price_RMBes
{
get { return _price_RMBes; }
set { _price_RMBes = value; }
}
public string STORAGENAME
{
get { return _STORAGENAME; }
set { _STORAGENAME = value; }
}
public string GOODSPACK
{
get { return _GOODSPACK; }
set { _GOODSPACK = value; }
}
public string GOODSPACKSTOCK_Ref
{
get { return _GOODSPACKSTOCK_Ref; }
set { _GOODSPACKSTOCK_Ref = value; }
}
public string GOODSSTOCK_Ref
{
get { return _GOODSSTOCK_Ref; }
set { _GOODSSTOCK_Ref = value; }
}
public string StoreDays
{
get { return _StoreDays; }
set { _StoreDays = value; }
}
public string CargoDays
{
get { return _CargoDays; }
set { _CargoDays = value; }
}
public string PreProportion
{
get { return _PreProportion; }
set { _PreProportion = value; }
}
public string Prepayments
{
get { return _Prepayments; }
set { _Prepayments = value; }
}
public string prepayments_RMBes
{
get { return _prepayments_RMBes; }
set { _prepayments_RMBes = value; }
}
public string prepayments_RMB
{
get { return _prepayments_RMB; }
set { _prepayments_RMB = value; }
}
public string Exchange_Pre
{
get { return _Exchange_Pre; }
set { _Exchange_Pre = value; }
}
public string Prepaydate_Agent
{
get { return _Prepaydate_Agent; }
set { _Prepaydate_Agent = value; }
}
public string Balance
{
get { return _Balance; }
set { _Balance = value; }
}
public string Balance_RMBes
{
get { return _Balance_RMBes; }
set { _Balance_RMBes = value; }
}
public string Balance_RMB
{
get { return _Balance_RMB; }
set { _Balance_RMB = value; }
}
public string Exchange_Balance
{
get { return _Exchange_Balance; }
set { _Exchange_Balance = value; }
}
public string Balancepaydate
{
get { return _Balancepaydate; }
set { _Balancepaydate = value; }
}
public string Balancepaydate_Agent
{
get { return _Balancepaydate_Agent; }
set { _Balancepaydate_Agent = value; }
}
public string Prepaydate_sett
{
get { return _Prepaydate_sett; }
set { _Prepaydate_sett = value; }
}
public string Balancepaydate_sett
{
get { return _Balancepaydate_sett; }
set { _Balancepaydate_sett = value; }
}
public string tax_1_es
{
get { return _tax_1_es; }
set { _tax_1_es = value; }
}
public string tax_zz_1_es
{
get { return _tax_zz_1_es; }
set { _tax_zz_1_es = value; }
}
public string tax_1
{
get { return _tax_1; }
set { _tax_1 = value; }
}
public string tax_zz_1
{
get { return _tax_zz_1; }
set { _tax_zz_1 = value; }
}
public string tax_bt
{
get { return _tax_bt; }
set { _tax_bt = value; }
}
public string tax
{
get { return _tax; }
set { _tax = value; }
}
public string AllCostes
{
get { return _AllCostes; }
set { _AllCostes = value; }
}
public string AllCost
{
get { return _AllCost; }
set { _AllCost = value; }
}
public string AllPayment
{
get { return _AllPayment; }
set { _AllPayment = value; }
}
public string FundsUsed
{
get { return _FundsUsed; }
set { _FundsUsed = value; }
}
public string BasePrice
{
get { return _BasePrice; }
set { _BasePrice = value; }
}
public string BasePricees
{
get { return _BasePricees; }
set { _BasePricees = value; }
}
public string FEESTATUS
{
get { return _FEESTATUS; }
set { _FEESTATUS = value; }
}
public string BSNO
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
public string OPLBNAME
{
get { return "ImportTrade"; }
//set { _ContractNo = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _CORPID; }
set { _CORPID = value; }
}
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
public string PUBLIC_AMOUNT
{
get { return _PUBLIC_AMOUNT; }
set { _PUBLIC_AMOUNT = value; }
}
public string PUBLIC_SETTLEMENT
{
get { return _PUBLIC_SETTLEMENT; }
set { _PUBLIC_SETTLEMENT = value; }
}
public string PUBLIC_REMAIN
{
get { return _PUBLIC_REMAIN; }
set { _PUBLIC_REMAIN = value; }
}
public string LOCAL_AMOUNT
{
get { return _LOCAL_AMOUNT; }
set { _LOCAL_AMOUNT = value; }
}
public string LOCAL_SETTLEMENT
{
get { return _LOCAL_SETTLEMENT; }
set { _LOCAL_SETTLEMENT = value; }
}
public string LOCAL_REMAIN
{
get { return _LOCAL_REMAIN; }
set { _LOCAL_REMAIN = value; }
}
public string WEIGHT_ACT
{
get { return _WEIGHT_ACT; }
set { _WEIGHT_ACT = value; }
}
public string WEIGHT_REMAIN
{
get { return _WEIGHT_REMAIN; }
set { _WEIGHT_REMAIN = value; }
}
public string BOXCOUNT_ACT
{
get { return _BOXCOUNT_ACT; }
set { _BOXCOUNT_ACT = value; }
}
public string BOXCOUNT_REMAIN
{
get { return _BOXCOUNT_REMAIN; }
set { _BOXCOUNT_REMAIN = value; }
}
public string WEIGHT_HT
{
get { return _WEIGHT_HT; }
set { _WEIGHT_HT = value; }
}
public string BOXCOUNT_HT
{
get { return _BOXCOUNT_HT; }
set { _BOXCOUNT_HT = value; }
}
public string DZCE
{
get { return _DZCE; }
set { _DZCE = value; }
}
[ModelDB]
public string LOCK_EXCHANGERATE
{
get { return _LOCK_EXCHANGERATE; }
set { _LOCK_EXCHANGERATE = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
public string ExpirationDate
{
get { return _ExpirationDate; }
set { _ExpirationDate = value; }
}
[ModelDB]
public string countryid
{
get { return _countryid; }
set { _countryid = value; }
}
public string SALEINFO
{
get { return _SALEINFO; }
set { _SALEINFO = value; }
}
public string SPECIFICATIONS
{
get { return _SPECIFICATIONS; }
set { _SPECIFICATIONS = value; }
}
private string _remark_5 = string.Empty;
private string _remark_6 = string.Empty;
[ModelDB]
public string remark_5
{
get { return _remark_5; }
set { _remark_5 = value; }
}
[ModelDB]
public string remark_6
{
get { return _remark_6; }
set { _remark_6 = value; }
}
private string _WMSDATE = string.Empty;
public string WMSDATE
{
get { return _WMSDATE; }
set { _WMSDATE = value; }
}
public string DeliveryInfo
{
get { return _DeliveryInfo; }
set { _DeliveryInfo = value; }
}
[ModelDB]
public string STOCKDATE_1
{
get { return _STOCKDATE_1; }
set { _STOCKDATE_1 = value; }
}
[ModelDB]
public string STOCKDATE_2
{
get { return _STOCKDATE_2; }
set { _STOCKDATE_2 = value; }
}
[ModelDB]
public string FUNDDATE_1
{
get { return _FUNDDATE_1; }
set { _FUNDDATE_1 = value; }
}
[ModelDB]
public string FUNDDATE_2
{
get { return _FUNDDATE_2; }
set { _FUNDDATE_2 = value; }
}
public string PAYCOMPANY
{
get { return _PAYCOMPANY; }
set { _PAYCOMPANY = value; }
}
[ModelDB]
public string Agent2
{
get { return _Agent2; }
set { _Agent2 = value; }
}
[ModelDB]
public string Agent3
{
get { return _Agent3; }
set { _Agent3 = value; }
}
public string MOREORLESS
{
get { return _MOREORLESS; }
set { _MOREORLESS = value; }
}
public string MOREORLESSCOUNT
{
get { return _MOREORLESSCOUNT; }
set { _MOREORLESSCOUNT = value; }
}
private string _port = string.Empty;
[ModelDB]
public string port
{
get { return _port; }
set { _port = value; }
}
private string _creator = string.Empty;
private string _Auditor = string.Empty;
[ModelDB]
public string creator
{
get { return _creator; }
set { _creator = value; }
}
[ModelDB]
public string Auditor
{
get { return _Auditor; }
set { _Auditor = value; }
}
public string Prepaydate_Payapp
{
get { return _Prepaydate_Payapp; }
set { _Prepaydate_Payapp = value; }
}
#endregion
public ImportTrademb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_main";
}
public override string GetBillNoFieldName ( )
{
return "ContractNo";
}
}
#region 货物表
[JsonObject]
public class Cargomb2 : Cargomb
{
#region private Fields
private string _CargoType = string.Empty;
private string _KINDPKGS = string.Empty;
private string _WEIGHT_ACT = string.Empty;
private string _BOXCOUNT_ACT = string.Empty;
private string _WEIGHT_REMAIN = string.Empty;
private string _BOXCOUNT_REMAIN = string.Empty;
private string _ISLOCKED = string.Empty;
private string _Productiondate_min = string.Empty;
private string _Productiondate_max = string.Empty;
private string _tax_CL = string.Empty;
private string _ExpirationDate = string.Empty;
private string _AGENCRATE = string.Empty;
private string _MOREORLESS = string.Empty;
private string _WEIGHT_HT = string.Empty;
private string _BOXCOUNT_HT = string.Empty;
private string _Exchangerate_Cust = string.Empty;
private string _AGENCRATE_Cust = string.Empty;
private string _STOCKDATE_1 = string.Empty;
private string _STOCKDATE_2 = string.Empty;
private int _ExpirationDates;
#endregion
#region public Fields
[ModelDB]
public int ExpirationDates
{
get { return _ExpirationDates; }
set { _ExpirationDates = value; }
}
[ModelDB]
public string CargoType
{
get { return _CargoType; }
set { _CargoType = value; }
}
[ModelDB]
public string KINDPKGS
{
get { return _KINDPKGS; }
set { _KINDPKGS = value; }
}
[ModelDB]
public string WEIGHT_ACT
{
get { return _WEIGHT_ACT; }
set { _WEIGHT_ACT = value; }
}
[ModelDB]
public string BOXCOUNT_ACT
{
get { return _BOXCOUNT_ACT; }
set { _BOXCOUNT_ACT = value; }
}
[ModelDB]
public string tax_CL
{
get { return _tax_CL; }
set { _tax_CL = value; }
}
public string WEIGHT_REMAIN
{
get { return _WEIGHT_REMAIN; }
set { _WEIGHT_REMAIN = value; }
}
public string BOXCOUNT_REMAIN
{
get { return _BOXCOUNT_REMAIN; }
set { _BOXCOUNT_REMAIN = value; }
}
public string ISLOCKED
{
get { return _ISLOCKED; }
set { _ISLOCKED = value; }
}
[ModelDB]
public string Productiondate_min
{
get { return _Productiondate_min; }
set { _Productiondate_min = value; }
}
[ModelDB]
public string Productiondate_max
{
get { return _Productiondate_max; }
set { _Productiondate_max = value; }
}
[ModelDB]
public string ExpirationDate
{
get { return _ExpirationDate; }
set { _ExpirationDate = value; }
}
[ModelDB]
public string AGENCRATE
{
get { return _AGENCRATE; }
set { _AGENCRATE = value; }
}
[ModelDB]
public string MOREORLESS
{
get { return _MOREORLESS; }
set { _MOREORLESS = value; }
}
[ModelDB]
public string WEIGHT_HT
{
get { return _WEIGHT_HT; }
set { _WEIGHT_HT = value; }
}
[ModelDB]
public string BOXCOUNT_HT
{
get { return _BOXCOUNT_HT; }
set { _BOXCOUNT_HT = value; }
}
[ModelDB]
public string Exchangerate_Cust
{
get { return _Exchangerate_Cust; }
set { _Exchangerate_Cust = value; }
}
[ModelDB]
public string AGENCRATE_Cust
{
get { return _AGENCRATE_Cust; }
set { _AGENCRATE_Cust = value; }
}
[ModelDB]
public string STOCKDATE_1
{
get { return _STOCKDATE_1; }
set { _STOCKDATE_1 = value; }
}
[ModelDB]
public string STOCKDATE_2
{
get { return _STOCKDATE_2; }
set { _STOCKDATE_2 = value; }
}
#endregion
public Cargomb2 ( )
{
TableName = "Import_Cargo";
}
public override string GetBillNoFieldName ( )
{
return "ContractNo";
}
}
[JsonObject]//用于给进口贸易入库模块提供合同号/箱号/等
public class Cargomb3 : Cargomb2
{
#region private Fields
private string _HTH = string.Empty;
private string _ContainerNo = string.Empty;
private string _SALEINFO = string.Empty;
private string _buyer = string.Empty;
private string _ContractNo = string.Empty;
private string _Mainstate = string.Empty;
private string _MainStateRef = string.Empty;
private string _Inspection_Storage = string.Empty;
private string _inspection_date = string.Empty;
private string _Unsealdate = string.Empty;
#endregion
#region public Fields
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
public string ContainerNo
{
get { return _ContainerNo; }
set { _ContainerNo = value; }
}
public string SALEINFO
{
get { return _SALEINFO; }
set { _SALEINFO = value; }
}
public string buyer
{
get { return _buyer; }
set { _buyer = value; }
}
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
public string Mainstate
{
get { return _Mainstate; }
set { _Mainstate = value; }
}
public string MainStateRef
{
get { return _MainStateRef; }
set { _MainStateRef = 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; }
}
#endregion
}
[JsonObject]//用于在《进口贸易入库管理》的新建菜单里保存时直接修改import_main内容
public class WMSmb_ImportTradeMain : ModelObjectBillBody
{
#region private Fields
private string _ContractNo = string.Empty;
private string _Mainstate = string.Empty;
private string _MainStateRef = string.Empty;
private string _Inspection_Storage = string.Empty;
private string _inspection_date = string.Empty;
private string _Unsealdate = string.Empty;
private string _buyer = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.Edit, IsPrimary = true)]
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
[ModelDB]
public string Mainstate
{
get { return _Mainstate; }
set { _Mainstate = value; }
}
//[ModelDB]
public string MainStateRef
{
get { return _MainStateRef; }
set { _MainStateRef = value; }
}
[ModelDB]
public string Inspection_Storage
{
get { return _Inspection_Storage; }
set { _Inspection_Storage = value; }
}
[ModelDB]
public string inspection_date
{
get { return _inspection_date; }
set { _inspection_date = value; }
}
[ModelDB]
public string Unsealdate
{
get { return _Unsealdate; }
set { _Unsealdate = value; }
}
[ModelDB]
public string buyer
{
get { return _buyer; }
set { _buyer = value; }
}
#endregion
public WMSmb_ImportTradeMain ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_Main";
}
public override string GetBillNoFieldName ( )
{
return "ContractNo";
}
public override string GetTimeMarkFieldName ( )
{
return "";
}
}
#endregion
#region 同步数据表
[JsonObject]
public class ImportUploadmb : XXHmb
{
#region private Fields
private decimal _id = 0;
private string _Local_ContractNo = string.Empty;
private string _received = string.Empty;
private string _countryid = string.Empty;
#endregion
#region public Fields
[ModelDB]
public decimal id
{
get { return _id; }
set { _id = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
[ModelDB]
public string Local_ContractNo
{
get { return _Local_ContractNo; }
set { _Local_ContractNo = value; }
}
[ModelDB]
public string received
{
get { return _received; }
set { _received = value; }
}
[ModelDB]
public string countryid
{
get { return _countryid; }
set { _countryid = value; }
}
#endregion
public ImportUploadmb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_main_public";
}
}
[JsonObject]
public class ImportUploadmb2 : XXHmb
{
#region private Fields
private decimal _id = 0;
private string _Local_ContractNo = string.Empty;
private string _received = string.Empty;
private string _countryid = string.Empty;
private string _company = string.Empty;
private string _buyer = string.Empty;
#endregion
#region public Fields
[ModelDB]
public decimal id
{
get { return _id; }
set { _id = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
[ModelDB]
public string received
{
get { return _received; }
set { _received = value; }
}
[ModelDB]
public string countryid
{
get { return _countryid; }
set { _countryid = value; }
}
[ModelDB]
public string company
{
get { return _company; }
set { _company = value; }
}
[ModelDB]
public string buyer
{
get { return _buyer; }
set { _buyer = value; }
}
#endregion
public ImportUploadmb2 ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_main_public";
}
}
[JsonObject]
public class ImportSyncmb : ImportUploadmb {
#region private Fields
private string _ContractNo = string.Empty;
private string _ReceiveDate = string.Empty;
private string _Received = string.Empty;
private string _HTHRef = string.Empty;
private string _ReceivedRef = string.Empty;
#endregion
#region public Fields
[ModelDB]
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
[ModelDB]
public string ReceiveDate
{
get { return _ReceiveDate; }
set { _ReceiveDate = value; }
}
[ModelDB]
public string Received
{
get { return _Received; }
set { _Received = value; }
}
public string HTHRef
{
get { return _HTHRef; }
set { _HTHRef = value; }
}
public string ReceivedRef
{
get { return _ReceivedRef; }
set { _ReceivedRef = value; }
}
#endregion
}
[JsonObject]
public class Syncmb : ModelObjectBillBody
{
#region private Fields
private string _FieldName = string.Empty;
private string _Field = string.Empty;
private string _NewValueRef = string.Empty;
private string _NewValue = string.Empty;
private string _OldValue = string.Empty;
private string _isSame = string.Empty;
#endregion
#region public Fields
public string FieldName
{
get { return _FieldName; }
set { _FieldName = value; }
}
public string Field
{
get { return _Field; }
set { _Field = value; }
}
public string NewValueRef
{
get { return _NewValueRef; }
set { _NewValueRef = value; }
}
public string NewValue
{
get { return _NewValue; }
set { _NewValue = value; }
}
public string OldValue
{
get { return _OldValue; }
set { _OldValue = value; }
}
public string isSame
{
get { return _isSame; }
set { _isSame = value; }
}
#endregion
}
[JsonObject]
public class HTHmb : ModelObjectBillBody
{
#region private Fields
private string _ContractNo = string.Empty;
private string _HTH = string.Empty;
#endregion
#region public Fields
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
#endregion
}
[JsonObject]
public class DocSyncmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _RECEIPTTYPE = string.Empty;
private string _BSNO = string.Empty;
private string _LOCAL_BSNO = string.Empty;
private string _URL = string.Empty;
private string _Driect_URL = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string RECEIPTTYPE
{
get { return _RECEIPTTYPE; }
set { _RECEIPTTYPE = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string LOCAL_BSNO
{
get { return _LOCAL_BSNO; }
set { _LOCAL_BSNO = value; }
}
[ModelDB]
public string URL
{
get { return _URL; }
set { _URL = value; }
}
[ModelDB]
public string Driect_URL
{
get { return _Driect_URL; }
set { _Driect_URL = value; }
}
public DocSyncmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Receipt_Doc_public";
}
#endregion
}
[JsonObject]
public class FeeSyncmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _Local_GID = string.Empty;
private string _BSNO = string.Empty;
private string _FEETYPE = string.Empty;
private string _FEETYPERef = string.Empty;
private string _HTH = string.Empty;
private string _Local_BSNO = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _FEENAME = string.Empty;
private string _UNITPRICE = string.Empty;
private string _QUANTITY = string.Empty;
private string _AMOUNT = string.Empty;
private string _CURRENCY = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _SETTLEDATE = string.Empty;
private string _SETTLEMENT = string.Empty;
private string _REMARK = string.Empty;
private string _FEESTATUS = string.Empty;
private string _FEESTATUS_REF = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string Local_GID
{
get { return _Local_GID; }
set { _Local_GID = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
public string FEETYPERef
{
get { return _FEETYPERef; }
set { _FEETYPERef = value; }
}
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
[ModelDB]
public string Local_BSNO
{
get { return _Local_BSNO; }
set { _Local_BSNO = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string FEENAME
{
get { return _FEENAME; }
set { _FEENAME = value; }
}
[ModelDB]
public string UNITPRICE
{
get { return _UNITPRICE; }
set { _UNITPRICE = value; }
}
[ModelDB]
public string QUANTITY
{
get { return _QUANTITY; }
set { _QUANTITY = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string SETTLEDATE
{
get { return _SETTLEDATE; }
set { _SETTLEDATE = value; }
}
[ModelDB]
public string SETTLEMENT
{
get { return _SETTLEMENT; }
set { _SETTLEMENT = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
//[ModelDB]
public string FEESTATUS
{
get { return _FEESTATUS; }
set { _FEESTATUS = value; }
}
public string FEESTATUS_REF
{
get { return _FEESTATUS_REF; }
set { _FEESTATUS_REF = value; }
}
#endregion
public FeeSyncmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "ch_fee_public";
}
}
[JsonObject]
public class CargoSyncmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _ContractNo = string.Empty;
private string _cargoinfo_id = string.Empty;
private string _cargociq_id = string.Empty;
private string _Name = string.Empty;
private string _Ename = string.Empty;
private string _UNIT = string.Empty;
private string _U_PRICE = string.Empty;
private string _U_weight = string.Empty;
private string _weight = string.Empty;
private string _m_weight = string.Empty;
private string _price = string.Empty;
private string _price_limit = string.Empty;
private string _Amount = string.Empty;
private string _pay_Amount = string.Empty;
private string _tax_Amount = string.Empty;
private string _BoxCount = string.Empty;
private string _BoxWeight = string.Empty;
private string _Exporter = string.Empty;
private string _FactoryNo = string.Empty;
private string _Productiondate = string.Empty;
private string _currid = string.Empty;
private string _prepayments = string.Empty;
private string _balance = string.Empty;
private string _paypart = string.Empty;
private string _baolv = string.Empty;
private string _tariff = string.Empty;
private string _tax = string.Empty;
private string _tax_zz = string.Empty;
private string _tax_1 = string.Empty;
private string _tax_zz_1 = string.Empty;
private string _tax_2 = string.Empty;
private string _tax_zz_2 = string.Empty;
private string _Declarenumber = string.Empty;
private string _Exchangerate = string.Empty;
private string _Exchangerate_Customs = string.Empty;
private string _PreProportion = string.Empty;
private string _Amount_Writeoffs = string.Empty;
private string _sequence = string.Empty;
private string _SBYS = string.Empty;
private string _BZTCHNO = string.Empty;
private string _CargoType = string.Empty;
private string _KINDPKGS = string.Empty;
private string _Weight_Act = string.Empty;
private string _BoxCount_Act = string.Empty;
private string _ExpirationDate = string.Empty;
private string _AGENCRATE = string.Empty;
private string _MOREORLESS = string.Empty;
private string _Remark = string.Empty;
private string _SPECIFICATIONS = string.Empty;
private string _cicodeandname = string.Empty;
private string _ciqcodeandname = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
[ModelDB]
public string cargoinfo_id
{
get { return _cargoinfo_id; }
set { _cargoinfo_id = value; }
}
[ModelDB]
public string cargociq_id
{
get { return _cargociq_id; }
set { _cargociq_id = value; }
}
[ModelDB]
public string Name
{
get { return _Name; }
set { _Name = value; }
}
[ModelDB]
public string Ename
{
get { return _Ename; }
set { _Ename = value; }
}
[ModelDB]
public string UNIT
{
get { return _UNIT; }
set { _UNIT = value; }
}
[ModelDB]
public string U_PRICE
{
get { return _U_PRICE; }
set { _U_PRICE = value; }
}
[ModelDB]
public string U_weight
{
get { return _U_weight; }
set { _U_weight = value; }
}
[ModelDB]
public string weight
{
get { return _weight; }
set { _weight = value; }
}
[ModelDB]
public string m_weight
{
get { return _m_weight; }
set { _m_weight = value; }
}
[ModelDB]
public string price
{
get { return _price; }
set { _price = value; }
}
[ModelDB]
public string price_limit
{
get { return _price_limit; }
set { _price_limit = value; }
}
[ModelDB]
public string Amount
{
get { return _Amount; }
set { _Amount = value; }
}
[ModelDB]
public string pay_Amount
{
get { return _pay_Amount; }
set { _pay_Amount = value; }
}
[ModelDB]
public string tax_Amount
{
get { return _tax_Amount; }
set { _tax_Amount = value; }
}
[ModelDB]
public string BoxCount
{
get { return _BoxCount; }
set { _BoxCount = value; }
}
[ModelDB]
public string BoxWeight
{
get { return _BoxWeight; }
set { _BoxWeight = value; }
}
[ModelDB]
public string Exporter
{
get { return _Exporter; }
set { _Exporter = value; }
}
[ModelDB]
public string FactoryNo
{
get { return _FactoryNo; }
set { _FactoryNo = value; }
}
[ModelDB]
public string Productiondate
{
get { return _Productiondate; }
set { _Productiondate = value; }
}
[ModelDB]
public string currid
{
get { return _currid; }
set { _currid = value; }
}
[ModelDB]
public string prepayments
{
get { return _prepayments; }
set { _prepayments = value; }
}
[ModelDB]
public string balance
{
get { return _balance; }
set { _balance = value; }
}
[ModelDB]
public string paypart
{
get { return _paypart; }
set { _paypart = value; }
}
[ModelDB]
public string baolv
{
get { return _baolv; }
set { _baolv = value; }
}
[ModelDB]
public string tariff
{
get { return _tariff; }
set { _tariff = value; }
}
[ModelDB]
public string tax
{
get { return _tax; }
set { _tax = value; }
}
[ModelDB]
public string tax_zz
{
get { return _tax_zz; }
set { _tax_zz = value; }
}
[ModelDB]
public string tax_1
{
get { return _tax_1; }
set { _tax_1 = value; }
}
[ModelDB]
public string tax_zz_1
{
get { return _tax_zz_1; }
set { _tax_zz_1 = value; }
}
[ModelDB]
public string tax_2
{
get { return _tax_2; }
set { _tax_2 = value; }
}
[ModelDB]
public string tax_zz_2
{
get { return _tax_zz_2; }
set { _tax_zz_2 = value; }
}
[ModelDB]
public string Declarenumber
{
get { return _Declarenumber; }
set { _Declarenumber = value; }
}
[ModelDB]
public string Exchangerate
{
get { return _Exchangerate; }
set { _Exchangerate = value; }
}
[ModelDB]
public string Exchangerate_Customs
{
get { return _Exchangerate_Customs; }
set { _Exchangerate_Customs = value; }
}
[ModelDB]
public string PreProportion
{
get { return _PreProportion; }
set { _PreProportion = value; }
}
[ModelDB]
public string Amount_Writeoffs
{
get { return _Amount_Writeoffs; }
set { _Amount_Writeoffs = value; }
}
[ModelDB]
public string sequence
{
get { return _sequence; }
set { _sequence = value; }
}
[ModelDB]
public string SBYS
{
get { return _SBYS; }
set { _SBYS = value; }
}
[ModelDB]
public string BZTCHNO
{
get { return _BZTCHNO; }
set { _BZTCHNO = value; }
}
[ModelDB]
public string CargoType
{
get { return _CargoType; }
set { _CargoType = value; }
}
[ModelDB]
public string KINDPKGS
{
get { return _KINDPKGS; }
set { _KINDPKGS = value; }
}
[ModelDB]
public string Weight_Act
{
get { return _Weight_Act; }
set { _Weight_Act = value; }
}
[ModelDB]
public string BoxCount_Act
{
get { return _BoxCount_Act; }
set { _BoxCount_Act = value; }
}
[ModelDB]
public string ExpirationDate
{
get { return _ExpirationDate; }
set { _ExpirationDate = value; }
}
[ModelDB]
public string AGENCRATE
{
get { return _AGENCRATE; }
set { _AGENCRATE = value; }
}
[ModelDB]
public string MOREORLESS
{
get { return _MOREORLESS; }
set { _MOREORLESS = value; }
}
[ModelDB]
public string Remark
{
get { return _Remark; }
set { _Remark = value; }
}
[ModelDB]
public string SPECIFICATIONS
{
get { return _SPECIFICATIONS; }
set { _SPECIFICATIONS = value; }
}
public string cicodeandname
{
get { return _cicodeandname; }
set { _cicodeandname = value; }
}
public string ciqcodeandname
{
get { return _ciqcodeandname; }
set { _ciqcodeandname = value; }
}
#endregion
public CargoSyncmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "import_cargo_public";
}
}
#endregion
//单据文档地址表
[JsonObject]
public class ReceiptDocmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _RECEIPTTYPE = string.Empty;
private string _R_GID = string.Empty;
private string _BSNO = string.Empty;
private string _URL = string.Empty;
private string _Driect_URL = string.Empty;
private string _MODIFIEDUSER = string.Empty;
private string _MODIFIEDUSERef = string.Empty;
private string _MODIFIEDTIME = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string R_GID
{
get { return _R_GID; }
set { _R_GID = value; }
}
[ModelDB]
public string RECEIPTTYPE
{
get { return _RECEIPTTYPE; }
set { _RECEIPTTYPE = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string URL
{
get { return _URL; }
set { _URL = value; }
}
[ModelDB]
public string Driect_URL
{
get { return _Driect_URL; }
set { _Driect_URL = value; }
}
[ModelDB]
public string MODIFIEDUSER
{
get { return _MODIFIEDUSER; }
set { _MODIFIEDUSER = value; }
}
public string MODIFIEDUSERRef
{
get { return _MODIFIEDUSERef; }
set { _MODIFIEDUSERef = value; }
}
[ModelDB]
public string MODIFIEDTIME
{
get { return _MODIFIEDTIME; }
set { _MODIFIEDTIME = value; }
}
private string _documentattachedcode = "";
/// <summary>
/// 易航线_随附单证代码//需求编号SR2017081100003
/// </summary>
[ModelDB]
public string DOCUMENTATTACHEDCODE
{
get { return _documentattachedcode; }
set { _documentattachedcode = value; }
}
private string _documentattachedno = "";
/// <summary>
/// 易航线_随附单证编号//需求编号SR2017081100003
/// </summary>
[ModelDB]
public string DOCUMENTATTACHEDNO
{
get { return _documentattachedno; }
set { _documentattachedno = value; }
}
private bool _ISPUBLIC = false;
/// <summary>
///
/// </summary>
[ModelDB]
public bool ISPUBLIC
{
get { return _ISPUBLIC; }
set { _ISPUBLIC = value; }
}
public string MBLNO { get; set; }
#endregion
public ReceiptDocmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Receipt_Doc";
}
public override string GetBillNoFieldName ( )
{
return "BSNO";
}
}
#region 销售单
[JsonObject]
public class ImportSalesmb : ModelObjectBillHead
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _OP = string.Empty;
private string _SALER = string.Empty;
private string _CORPID = string.Empty;
private string _DEPTGID = string.Empty;
private string _CARGONAME = string.Empty;
private string _REMARK = string.Empty;
private string _CURRENCY = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _AMOUNT = string.Empty;
private string _AMOUNTRMB = string.Empty;
private string _SALESDATE = string.Empty;
private string _DELIVERYDATE = string.Empty;
private string _DELIVERYADDRESS = string.Empty;
private string _DELIVERYCONTACTS = string.Empty;
private string _DELIVERYTEL = string.Empty;
private string _BSSTATUS = string.Empty;
private string _FEESTATUS = string.Empty;
private decimal _TimeMark = 0;
private string _OPRef = string.Empty;
private string _SALERRef = string.Empty;
private string _BSSTATUSRef = string.Empty;
private string _FEESTATUSRef = string.Empty;
private string _DELIVERYWEIGHT = string.Empty;
private string _MAINSTATE = string.Empty;
private string _SALESTATUS = string.Empty;
private string _MAINSTATERef = string.Empty;
private string _SALESTATUSRef = string.Empty;
private string _Forecast_Amount = string.Empty;
private string _Forecast_Remain = string.Empty;
private string _WHX_YS = string.Empty;
private string _KERENKUAN = string.Empty;
private string _DAIRENKUAN = string.Empty;
private string _REPLY = string.Empty;
private string _ISMAKED = string.Empty;
private string _PREPAYMENT = string.Empty;
private string _SALES_AMOUNT = string.Empty;
private string _SALES_SETTLEMENT = string.Empty;
private string _SALEINFO = string.Empty;
private string _DeliveryInfo = string.Empty;
private string _PAYCOMPANY = string.Empty;
private string _AMOUNTRMB_ACT = string.Empty;
private string _AMOUNTRMB_REMAIN = string.Empty;
private string _ArrivalDate = string.Empty;
private string _ISINVOICE = string.Empty;
private string _ISINVOICE_REF = string.Empty;
private string _port = string.Empty;
private string _FUNDRATE = string.Empty;
private string _ZDAMOUNT = string.Empty;
private string _AMOUNTRMB_Detail = string.Empty;
private string _Agent = string.Empty;
private string _Inspection_Storage = string.Empty;
private string _Unsealdate = string.Empty;
public string CargoType { get; set; }
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string SALER
{
get { return _SALER; }
set { _SALER = value; }
}
[ModelDB]
public string CORPID
{
get { return _CORPID; }
set { _CORPID = value; }
}
[ModelDB]
public string DEPTGID
{
get { return _DEPTGID; }
set { _DEPTGID = value; }
}
[ModelDB]
public string CARGONAME
{
get { return _CARGONAME; }
set { _CARGONAME = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string AMOUNTRMB
{
get { return _AMOUNTRMB; }
set { _AMOUNTRMB = value; }
}
[ModelDB]
public string SALESDATE
{
get { return _SALESDATE; }
set { _SALESDATE = value; }
}
[ModelDB]
public string DELIVERYDATE
{
get { return _DELIVERYDATE; }
set { _DELIVERYDATE = value; }
}
[ModelDB]
public string DELIVERYADDRESS
{
get { return _DELIVERYADDRESS; }
set { _DELIVERYADDRESS = value; }
}
[ModelDB]
public string DELIVERYCONTACTS
{
get { return _DELIVERYCONTACTS; }
set { _DELIVERYCONTACTS = value; }
}
[ModelDB]
public string DELIVERYTEL
{
get { return _DELIVERYTEL; }
set { _DELIVERYTEL = value; }
}
[ModelDB]
public string BSSTATUS
{
get { return _BSSTATUS; }
set { _BSSTATUS = value; }
}
[ModelDB]
public string FEESTATUS
{
get { return _FEESTATUS; }
set { _FEESTATUS = value; }
}
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
public string OPRef
{
get { return _OPRef; }
set { _OPRef = value; }
}
public string SALERRef
{
get { return _SALERRef; }
set { _SALERRef = value; }
}
public string BSSTATUSRef
{
get { return _BSSTATUSRef; }
set { _BSSTATUSRef = value; }
}
public string FEESTATUSRef
{
get { return _FEESTATUSRef; }
set { _FEESTATUSRef = value; }
}
public string DELIVERYWEIGHT
{
get { return _DELIVERYWEIGHT; }
set { _DELIVERYWEIGHT = value; }
}
[ModelDB]
public string MAINSTATE
{
get { return _MAINSTATE; }
set { _MAINSTATE = value; }
}
[ModelDB]
public string SALESTATUS
{
get { return _SALESTATUS; }
set { _SALESTATUS = value; }
}
public string MAINSTATERef
{
get { return _MAINSTATERef; }
set { _MAINSTATERef = value; }
}
public string SALESTATUSRef
{
get { return _SALESTATUSRef; }
set { _SALESTATUSRef = value; }
}
public string Forecast_Amount
{
get { return _Forecast_Amount; }
set { _Forecast_Amount = value; }
}
public string Forecast_Remain
{
get { return _Forecast_Remain; }
set { _Forecast_Remain = value; }
}
public string WHX_YS
{
get { return _WHX_YS; }
set { _WHX_YS = value; }
}
public string KERENKUAN
{
get { return _KERENKUAN; }
set { _KERENKUAN = value; }
}
public string DAIRENKUAN
{
get { return _DAIRENKUAN; }
set { _DAIRENKUAN = value; }
}
[ModelDB]
public string REPLY
{
get { return _REPLY; }
set { _REPLY = value; }
}
[ModelDB]
public string ISMAKED
{
get { return _ISMAKED; }
set { _ISMAKED = value; }
}
[ModelDB]
public string PREPAYMENT
{
get { return _PREPAYMENT; }
set { _PREPAYMENT = value; }
}
public string FUNDRATE
{
get { return _FUNDRATE; }
set { _FUNDRATE = value; }
}
public string SALES_AMOUNT
{
get { return _SALES_AMOUNT; }
set { _SALES_AMOUNT = value; }
}
public string SALES_SETTLEMENT
{
get { return _SALES_SETTLEMENT; }
set { _SALES_SETTLEMENT = value; }
}
public string SALEINFO
{
get { return _SALEINFO; }
set { _SALEINFO = value; }
}
public string DeliveryInfo
{
get { return _DeliveryInfo; }
set { _DeliveryInfo = value; }
}
public string PAYCOMPANY
{
get { return _PAYCOMPANY; }
set { _PAYCOMPANY = value; }
}
public string AMOUNTRMB_ACT
{
get { return _AMOUNTRMB_ACT; }
set { _AMOUNTRMB_ACT = value; }
}
public string AMOUNTRMB_REMAIN
{
get { return _AMOUNTRMB_REMAIN; }
set { _AMOUNTRMB_REMAIN = value; }
}
public string ArrivalDate
{
get { return _ArrivalDate; }
set { _ArrivalDate = value; }
}
[ModelDB]
public string ISINVOICE
{
get { return _ISINVOICE; }
set { _ISINVOICE = value; }
}
public string ISINVOICE_REF
{
get { return _ISINVOICE_REF; }
set { _ISINVOICE_REF = value; }
}
public string port
{
get { return _port; }
set { _port = value; }
}
//20161206 改为每明细一行
private string _country = string.Empty;
private string _FactoryNo = string.Empty;
private string _Cargo_Name = string.Empty;
private string _productiondate_min = string.Empty;
private string _productiondate_max = string.Empty;
private string _SD_PREPAYMENT = string.Empty;
private string _SD_PREPAYMENT_ACT = string.Empty;
private string _SD_WEIGHT = string.Empty;
private string _SD_BOXCOUNT = string.Empty;
private string _STORAGENAME = string.Empty;
private string _Ex_sailingdate = string.Empty;
private string _price_limit = string.Empty;
private string _WMSDATE = string.Empty;
public string country
{
get { return _country; }
set { _country = value; }
}
public string FactoryNo
{
get { return _FactoryNo; }
set { _FactoryNo = value; }
}
public string Cargo_Name
{
get { return _Cargo_Name; }
set { _Cargo_Name = 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 SD_PREPAYMENT
{
get { return _SD_PREPAYMENT; }
set { _SD_PREPAYMENT = value; }
}
public string SD_PREPAYMENT_ACT
{
get { return _SD_PREPAYMENT_ACT; }
set { _SD_PREPAYMENT_ACT = value; }
}
public string SD_WEIGHT
{
get { return _SD_WEIGHT; }
set { _SD_WEIGHT = value; }
}
public string SD_BOXCOUNT
{
get { return _SD_BOXCOUNT; }
set { _SD_BOXCOUNT = value; }
}
public string STORAGENAME
{
get { return _STORAGENAME; }
set { _STORAGENAME = value; }
}
public string Ex_sailingdate
{
get { return _Ex_sailingdate; }
set { _Ex_sailingdate = value; }
}
public string price_limit
{
get { return _price_limit; }
set { _price_limit = value; }
}
public string WMSDATE
{
get { return _WMSDATE; }
set { _WMSDATE = value; }
}
private string _PRICE = string.Empty;
private string _PRICERMB = string.Empty;
private string _DirectPrice = string.Empty;
private string _SaleDetail_GID = string.Empty;
public string PRICE
{
get { return _PRICE; }
set { _PRICE = value; }
}
public string PRICERMB
{
get { return _PRICERMB; }
set { _PRICERMB = value; }
}
public string DirectPrice
{
get { return _DirectPrice; }
set { _DirectPrice = value; }
}
public string SaleDetail_GID
{
get { return _SaleDetail_GID; }
set { _SaleDetail_GID = value; }
}
public string ZDAMOUNT
{
get { return _ZDAMOUNT; }
set { _ZDAMOUNT = value; }
}
public string AMOUNTRMB_Detail
{
get { return _AMOUNTRMB_Detail; }
set { _AMOUNTRMB_Detail = value; }
}
public string Agent
{
get { return _Agent; }
set { _Agent = value; }
}
public string Inspection_Storage
{
get { return _Inspection_Storage; }
set { _Inspection_Storage = value; }
}
public string Unsealdate
{
get { return _Unsealdate; }
set { _Unsealdate = value; }
}
#endregion
public ImportSalesmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_Sales";
}
public override string GetBillNoFieldName ( )
{
return "SALESNO";
}
public override string GetTimeMarkFieldName ( )
{
return "TimeMark";
}
}
#endregion
#region 销售单明细
[JsonObject]
public class ImportSaledetailmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _CARGO_GID = string.Empty;
private string _BSNO = string.Empty;
private string _WEIGHT = string.Empty;
private string _BOXCOUNT = string.Empty;
private string _CURRENCY = string.Empty;
private string _PRICE = string.Empty;
private string _AMOUNT = string.Empty;
private string _PREPAYMENT = string.Empty;
private string _PREPAYMENT_ACT = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _AMOUNTRMB = string.Empty;
private string _PRICERMB = string.Empty;
private string _REMARK = string.Empty;
private string _HTH = string.Empty;
private string _NAME = string.Empty;
private string _WEIGHT_ACT = string.Empty;
private string _WEIGHT_REMAIN = string.Empty;
private string _BOXCOUNT_REMAIN = string.Empty;
private string _COSTPRICE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _PRICEREMARK = string.Empty;
private string _Delivery_Weight = string.Empty;
private string _Delivery_Boxcount = string.Empty;
private string _DirectPrice = string.Empty;
private string _DirectShop = string.Empty;
private string _Exchangerate_Cust = string.Empty;
private string _AGENCRATE_Cust = string.Empty;
private string _STOCKDATE_1 = string.Empty;
private string _STOCKDATE_2 = string.Empty;
private string _FUNDRATE = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string CARGO_GID
{
get { return _CARGO_GID; }
set { _CARGO_GID = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string BOXCOUNT
{
get { return _BOXCOUNT; }
set { _BOXCOUNT = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string PRICE
{
get { return _PRICE; }
set { _PRICE = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string AMOUNTRMB
{
get { return _AMOUNTRMB; }
set { _AMOUNTRMB = value; }
}
[ModelDB]
public string PRICERMB
{
get { return _PRICERMB; }
set { _PRICERMB = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string PREPAYMENT
{
get { return _PREPAYMENT; }
set { _PREPAYMENT = value; }
}
[ModelDB]
public string PREPAYMENT_ACT
{
get { return _PREPAYMENT_ACT; }
set { _PREPAYMENT_ACT = value; }
}
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
public string WEIGHT_ACT
{
get { return _WEIGHT_ACT; }
set { _WEIGHT_ACT = value; }
}
public string WEIGHT_REMAIN
{
get { return _WEIGHT_REMAIN; }
set { _WEIGHT_REMAIN = value; }
}
public string BOXCOUNT_REMAIN
{
get { return _BOXCOUNT_REMAIN; }
set { _BOXCOUNT_REMAIN = value; }
}
public string COSTPRICE
{
get { return _COSTPRICE; }
set { _COSTPRICE = value; }
}
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string PRICEREMARK
{
get { return _PRICEREMARK; }
set { _PRICEREMARK = value; }
}
public string Delivery_Weight
{
get { return _Delivery_Weight; }
set { _Delivery_Weight = value; }
}
public string Delivery_Boxcount
{
get { return _Delivery_Boxcount; }
set { _Delivery_Boxcount = value; }
}
[ModelDB]
public string DirectPrice
{
get { return _DirectPrice; }
set { _DirectPrice = value; }
}
[ModelDB]
public string DirectShop
{
get { return _DirectShop; }
set { _DirectShop = value; }
}
[ModelDB]
public string Exchangerate_Cust
{
get { return _Exchangerate_Cust; }
set { _Exchangerate_Cust = value; }
}
[ModelDB]
public string AGENCRATE_Cust
{
get { return _AGENCRATE_Cust; }
set { _AGENCRATE_Cust = value; }
}
[ModelDB]
public string STOCKDATE_1
{
get { return _STOCKDATE_1; }
set { _STOCKDATE_1 = value; }
}
[ModelDB]
public string STOCKDATE_2
{
get { return _STOCKDATE_2; }
set { _STOCKDATE_2 = value; }
}
[ModelDB]
public string FUNDRATE
{
get { return _FUNDRATE; }
set { _FUNDRATE = value; }
}
#endregion
public ImportSaledetailmb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_Saledetail";
}
public override string GetBillNoFieldName()
{
return "SALESNO";
}
public override string GetTimeMarkFieldName ( )
{
return "";
}
}
#endregion
#region 销售单账单
[JsonObject]
public class Import_SaleZDmb : ModelObjectBillHead
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _OP = string.Empty;
private string _OPDATE = string.Empty;
private string _REMARK = string.Empty;
private string _CREATEUSER = string.Empty;
private string _CREATETIME = string.Empty;
private string _ISUSE = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string OPDATE
{
get { return _OPDATE; }
set { _OPDATE = 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; }
}
public string ISUSE
{
get { return _ISUSE; }
set { _ISUSE = value; }
}
#endregion
public Import_SaleZDmb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_SaleZD";
}
public override string GetBillNoFieldName()
{
return "GID";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class Import_SaleZDmb2 : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _OP = string.Empty;
private string _OPDATE = string.Empty;
private string _REMARK = string.Empty;
private string _CREATEUSER = string.Empty;
private string _CREATETIME = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string OPDATE
{
get { return _OPDATE; }
set { _OPDATE = 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; }
}
#endregion
public Import_SaleZDmb2()
{
// TableName = "tMsWlPcHead";
TableName = "Import_SaleZD";
}
public override string GetBillNoFieldName()
{
return "SALESNO";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
//账单明细
[JsonObject]
public class Import_SaleZDDetailmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _ZD_GID = string.Empty;
private string _SALEDETAIL_GID = string.Empty;
private string _WEIGHT = string.Empty;
private string _BOXCOUNT = string.Empty;
private string _CURRENCY = string.Empty;
private string _PRICE = string.Empty;
private string _AMOUNT = string.Empty;
private string _EXCHANGERATE_CUST = string.Empty;
private string _PREPAYMENT = string.Empty;
private string _FUNDRATE = string.Empty;
private string _STOCKDATE_1 = string.Empty;
private string _STOCKDATE_2 = string.Empty;
private string _AGENCRATE_CUST = string.Empty;
private string _REMARK = string.Empty;
private string _NAME = string.Empty;
private string _CARGO_GID = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string ZD_GID
{
get { return _ZD_GID; }
set { _ZD_GID = value; }
}
[ModelDB]
public string SALEDETAIL_GID
{
get { return _SALEDETAIL_GID; }
set { _SALEDETAIL_GID = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string BOXCOUNT
{
get { return _BOXCOUNT; }
set { _BOXCOUNT = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string PRICE
{
get { return _PRICE; }
set { _PRICE = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string EXCHANGERATE_CUST
{
get { return _EXCHANGERATE_CUST; }
set { _EXCHANGERATE_CUST = value; }
}
[ModelDB]
public string PREPAYMENT
{
get { return _PREPAYMENT; }
set { _PREPAYMENT = value; }
}
[ModelDB]
public string FUNDRATE
{
get { return _FUNDRATE; }
set { _FUNDRATE = value; }
}
[ModelDB]
public string STOCKDATE_1
{
get { return _STOCKDATE_1; }
set { _STOCKDATE_1 = value; }
}
[ModelDB]
public string STOCKDATE_2
{
get { return _STOCKDATE_2; }
set { _STOCKDATE_2 = value; }
}
[ModelDB]
public string AGENCRATE_CUST
{
get { return _AGENCRATE_CUST; }
set { _AGENCRATE_CUST = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
public string CARGO_GID
{
get { return _CARGO_GID; }
set { _CARGO_GID = value; }
}
#endregion
public Import_SaleZDDetailmb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_SaleZDDetail";
}
public override string GetBillNoFieldName()
{
return "ZD_GID";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
#endregion
#region 待售商品明细
[JsonObject]
public class ImportCargomb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _HTH = string.Empty;
private string _BUYER = string.Empty;
private string _NAME = string.Empty;
private string _FACTORYNO = string.Empty;
private string _MAINSTATEREF = string.Empty;
private string _ARRIVALDATE = string.Empty;
private string _WEIGHT = string.Empty;
private string _WEIGHT_ACT = string.Empty;
private string _WEIGHT_REMAIN = string.Empty;
private string _COSTPRICE = string.Empty;
private string _WMSDATE = string.Empty;
private string _PRODUCTIONDATE_MIN = string.Empty;
private string _PRODUCTIONDATE_MAX = string.Empty;
#endregion
#region public Fields
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
public string BUYER
{
get { return _BUYER; }
set { _BUYER = value; }
}
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
public string FACTORYNO
{
get { return _FACTORYNO; }
set { _FACTORYNO = value; }
}
public string MAINSTATEREF
{
get { return _MAINSTATEREF; }
set { _MAINSTATEREF = value; }
}
public string ARRIVALDATE
{
get { return _ARRIVALDATE; }
set { _ARRIVALDATE = value; }
}
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
public string WEIGHT_ACT
{
get { return _WEIGHT_ACT; }
set { _WEIGHT_ACT = value; }
}
public string WEIGHT_REMAIN
{
get { return _WEIGHT_REMAIN; }
set { _WEIGHT_REMAIN = value; }
}
public string COSTPRICE
{
get { return _COSTPRICE; }
set { _COSTPRICE = value; }
}
public string WMSDATE
{
get { return _WMSDATE; }
set { _WMSDATE = 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; }
}
#endregion
public ImportCargomb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_cargo";
}
public override string GetBillNoFieldName()
{
return "";
}
}
#endregion
#region 出库通知单_主表
[JsonObject]
public class Deliverymb : ModelObjectBillHead
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _DELIVERYNO = string.Empty;
private string _DELIVERYDATE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _CORPID = string.Empty;
private string _DEPTGID = string.Empty;
private string _OP = string.Empty;
private string _SALER = string.Empty;
private string _CONTACT = string.Empty;
private string _TEL = string.Empty;
private string _TRUCKNO = string.Empty;
private string _WAREHOUSE = string.Empty;
private string _REMARK = string.Empty;
private string _TIMEMARK = string.Empty;
private string _CORPRef = string.Empty;
private string _DEPTRef = string.Empty;
private string _OPRef = string.Empty;
private string _SALERRef = string.Empty;
private string _BSSTATUS = string.Empty;
private string _DeliveryInfo = string.Empty;
private string _OUTRECEIPT = string.Empty;
private string _SFKC = string.Empty;
private string _SFCM = string.Empty;
private string _DeliveryType = string.Empty;
private string _DeliveryType_REF = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string DELIVERYNO
{
get { return _DELIVERYNO; }
set { _DELIVERYNO = value; }
}
[ModelDB]
public string DELIVERYDATE
{
get { return _DELIVERYDATE; }
set { _DELIVERYDATE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string CORPID
{
get { return _CORPID; }
set { _CORPID = value; }
}
[ModelDB]
public string DEPTGID
{
get { return _DEPTGID; }
set { _DEPTGID = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string SALER
{
get { return _SALER; }
set { _SALER = value; }
}
[ModelDB]
public string CONTACT
{
get { return _CONTACT; }
set { _CONTACT = value; }
}
[ModelDB]
public string TEL
{
get { return _TEL; }
set { _TEL = value; }
}
[ModelDB]
public string TRUCKNO
{
get { return _TRUCKNO; }
set { _TRUCKNO = value; }
}
[ModelDB]
public string WAREHOUSE
{
get { return _WAREHOUSE; }
set { _WAREHOUSE = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string BSSTATUS
{
get { return _BSSTATUS; }
set { _BSSTATUS = value; }
}
[ModelDB]
public string OUTRECEIPT
{
get { return _OUTRECEIPT; }
set { _OUTRECEIPT = value; }
}
[ModelDB]
public string SFKC
{
get { return _SFKC; }
set { _SFKC = value; }
}
[ModelDB]
public string SFCM
{
get { return _SFCM; }
set { _SFCM = value; }
}
public string TIMEMARK
{
get { return _TIMEMARK; }
set { _TIMEMARK = value; }
}
public string CORPRef
{
get { return _CORPRef; }
set { _CORPRef = value; }
}
public string DEPTRef
{
get { return _DEPTRef; }
set { _DEPTRef = value; }
}
public string OPRef
{
get { return _OPRef; }
set { _OPRef = value; }
}
public string SALERRef
{
get { return _SALERRef; }
set { _SALERRef = value; }
}
public string DeliveryInfo
{
get { return _DeliveryInfo; }
set { _DeliveryInfo = value; }
}
[ModelDB]
public string DeliveryType
{
get { return _DeliveryType; }
set { _DeliveryType = value; }
}
public string DeliveryType_REF
{
get { return _DeliveryType_REF; }
set { _DeliveryType_REF = value; }
}
#endregion
public Deliverymb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_Delivery";
}
public override string GetBillNoFieldName ( )
{
return "DELIVERYNO";
}
public override string GetTimeMarkFieldName ( )
{
return "TIMEMARK";
}
}
#endregion
#region 出库通知单_明细
[JsonObject]
public class DeliveryDetailmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _DELIVERYNO = string.Empty;
private string _SALEDETAIL_GID = string.Empty;
private string _SALESNO = string.Empty;
private string _WEIGHT = string.Empty;
private string _BOXCOUNT = string.Empty;
private string _WEIGHT_EX = string.Empty;
private string _BOXCOUNT_EX = string.Empty;
private string _HTH = string.Empty;
private string _CARGONAME = string.Empty;
private string _FACTORYNO = string.Empty;
private string _CARGOWEIGHT = string.Empty;
private string _WEIGHT_SALE = string.Empty;
private string _BOXCOUNT_SALE = string.Empty;
private string _WEIGHT_DE = string.Empty;
private string _BOXCOUNT_DE = string.Empty;
private string _CARGO_GID = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _REMARK = string.Empty;
private string _SALESTATUS = string.Empty;
private string _MAINSTATE = string.Empty;
private string _GOODSSTOCK = string.Empty;
private string _GOODSPACKSTOCK = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string DELIVERYNO
{
get { return _DELIVERYNO; }
set { _DELIVERYNO = value; }
}
[ModelDB]
public string SALEDETAIL_GID
{
get { return _SALEDETAIL_GID; }
set { _SALEDETAIL_GID = value; }
}
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string BOXCOUNT
{
get { return _BOXCOUNT; }
set { _BOXCOUNT = value; }
}
[ModelDB]
public string WEIGHT_EX
{
get { return _WEIGHT_EX; }
set { _WEIGHT_EX = value; }
}
[ModelDB]
public string BOXCOUNT_EX
{
get { return _BOXCOUNT_EX; }
set { _BOXCOUNT_EX = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
public string CARGONAME
{
get { return _CARGONAME; }
set { _CARGONAME = value; }
}
public string FACTORYNO
{
get { return _FACTORYNO; }
set { _FACTORYNO = value; }
}
public string CARGOWEIGHT
{
get { return _CARGOWEIGHT; }
set { _CARGOWEIGHT = value; }
}
public string WEIGHT_SALE
{
get { return _WEIGHT_SALE; }
set { _WEIGHT_SALE = value; }
}
public string BOXCOUNT_SALE
{
get { return _BOXCOUNT_SALE; }
set { _BOXCOUNT_SALE = value; }
}
public string WEIGHT_DE
{
get { return _WEIGHT_DE; }
set { _WEIGHT_DE = value; }
}
public string BOXCOUNT_DE
{
get { return _BOXCOUNT_DE; }
set { _BOXCOUNT_DE = value; }
}
public string CARGO_GID
{
get { return _CARGO_GID; }
set { _CARGO_GID = value; }
}
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
public string SALESTATUS
{
get { return _SALESTATUS; }
set { _SALESTATUS = value; }
}
public string MAINSTATE
{
get { return _MAINSTATE; }
set { _MAINSTATE = value; }
}
public string GOODSSTOCK
{
get { return _GOODSSTOCK; }
set { _GOODSSTOCK = value; }
}
public string GOODSPACKSTOCK
{
get { return _GOODSPACKSTOCK; }
set { _GOODSPACKSTOCK = value; }
}
#endregion
public DeliveryDetailmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_Deliverydetail";
}
public override string GetBillNoFieldName ( )
{
return "SALESNO";
}
public override string GetTimeMarkFieldName ( )
{
return "";
}
}
#endregion
#region 生成结算单使用的Ch_fee_do 和 ch_fee_settlement模型
[JsonObject]
public class MsChFeeSettlement : ModelObjectBillHead
{
private string _GID = string.Empty;
private string _BILLNO = string.Empty;
private string _BILLDATE = string.Empty;
private string _SETTLEMODE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _SETTLETYPE = string.Empty;
private string _AMOUNTRMB = string.Empty;
private string _ACCOUNTRMB = string.Empty;
private string _RATE = string.Empty;
private string _AMOUNTUSD = string.Empty;
private string _ACCOUNTUSD = string.Empty;
private string _BILLTYPE = string.Empty;
private string _SETTLEUSER = string.Empty;
private string _SETTLETIME = string.Empty;
private string _ISEXPORT = string.Empty;
private string _BILLSTATUS = string.Empty;
private string _COMPANYID = string.Empty;
private string _ACCOUNTS_CURRENCY = string.Empty;
private string _ACCOUNTS_RATE = string.Empty;
private string _ACCOUNTS_MONEY = string.Empty;
private string _PREPAY_CURRENCY = string.Empty;
private string _PREPAY_RATE = string.Empty;
private string _PREPAY_MONEY = string.Empty;
private string _AHSR_CURRENCY = string.Empty;
private string _AHSR_RATE = string.Empty;
private string _AHSR_MONEY = string.Empty;
private string _FINANCIAL_CURRENCY = string.Empty;
private string _FINANCIAL_RATE = string.Empty;
private string _FINANCIAL_MONEY = string.Empty;
private string _ADVANCE_CURRENCY = string.Empty;
private string _ADVANCE_RATE = string.Empty;
private string _ADVANCE_MONEY = string.Empty;
private string _CURR = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string BILLNO
{
get { return _BILLNO; }
set { _BILLNO = value; }
}
[ModelDB]
public string BILLDATE
{
get { return _BILLDATE; }
set { _BILLDATE = value; }
}
[ModelDB]
public string SETTLEMODE
{
get { return _SETTLEMODE; }
set { _SETTLEMODE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string SETTLETYPE
{
get { return _SETTLETYPE; }
set { _SETTLETYPE = value; }
}
[ModelDB]
public string AMOUNTRMB
{
get { return _AMOUNTRMB; }
set { _AMOUNTRMB = value; }
}
[ModelDB]
public string ACCOUNTRMB
{
get { return _ACCOUNTRMB; }
set { _ACCOUNTRMB = value; }
}
[ModelDB]
public string RATE
{
get { return _RATE; }
set { _RATE = value; }
}
[ModelDB]
public string AMOUNTUSD
{
get { return _AMOUNTUSD; }
set { _AMOUNTUSD = value; }
}
[ModelDB]
public string ACCOUNTUSD
{
get { return _ACCOUNTUSD; }
set { _ACCOUNTUSD = value; }
}
[ModelDB]
public string BILLTYPE
{
get { return _BILLTYPE; }
set { _BILLTYPE = value; }
}
[ModelDB]
public string SETTLEUSER
{
get { return _SETTLEUSER; }
set { _SETTLEUSER = value; }
}
[ModelDB]
public string SETTLETIME
{
get { return _SETTLETIME; }
set { _SETTLETIME = value; }
}
[ModelDB]
public string ISEXPORT
{
get { return _ISEXPORT; }
set { _ISEXPORT = value; }
}
[ModelDB]
public string BILLSTATUS
{
get { return _BILLSTATUS; }
set { _BILLSTATUS = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
[ModelDB]
public string ACCOUNTS_CURRENCY
{
get { return _ACCOUNTS_CURRENCY; }
set { _ACCOUNTS_CURRENCY = value; }
}
[ModelDB]
public string ACCOUNTS_RATE
{
get { return _ACCOUNTS_RATE; }
set { _ACCOUNTS_RATE = value; }
}
[ModelDB]
public string ACCOUNTS_MONEY
{
get { return _ACCOUNTS_MONEY; }
set { _ACCOUNTS_MONEY = value; }
}
[ModelDB]
public string PREPAY_CURRENCY
{
get { return _PREPAY_CURRENCY; }
set { _PREPAY_CURRENCY = value; }
}
[ModelDB]
public string PREPAY_RATE
{
get { return _PREPAY_RATE; }
set { _PREPAY_RATE = value; }
}
[ModelDB]
public string PREPAY_MONEY
{
get { return _PREPAY_MONEY; }
set { _PREPAY_MONEY = value; }
}
[ModelDB]
public string AHSR_CURRENCY
{
get { return _AHSR_CURRENCY; }
set { _AHSR_CURRENCY = value; }
}
[ModelDB]
public string AHSR_RATE
{
get { return _AHSR_RATE; }
set { _AHSR_RATE = value; }
}
[ModelDB]
public string AHSR_MONEY
{
get { return _AHSR_MONEY; }
set { _AHSR_MONEY = value; }
}
[ModelDB]
public string FINANCIAL_CURRENCY
{
get { return _FINANCIAL_CURRENCY; }
set { _FINANCIAL_CURRENCY = value; }
}
[ModelDB]
public string FINANCIAL_RATE
{
get { return _FINANCIAL_RATE; }
set { _FINANCIAL_RATE = value; }
}
[ModelDB]
public string FINANCIAL_MONEY
{
get { return _FINANCIAL_MONEY; }
set { _FINANCIAL_MONEY = value; }
}
[ModelDB]
public string ADVANCE_CURRENCY
{
get { return _ADVANCE_CURRENCY; }
set { _ADVANCE_CURRENCY = value; }
}
[ModelDB]
public string ADVANCE_RATE
{
get { return _ADVANCE_RATE; }
set { _ADVANCE_RATE = value; }
}
[ModelDB]
public string ADVANCE_MONEY
{
get { return _ADVANCE_MONEY; }
set { _ADVANCE_MONEY = value; }
}
[ModelDB]
public string CURR
{
get { return _CURR; }
set { _CURR = value; }
}
public MsChFeeSettlement()
{
TableName = "Ch_Fee_Settlement";
}
override public string GetBillNoFieldName()
{
return "BILLNO";
}
}
[JsonObject]
public class MsChFeeDo : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _BILLNO = string.Empty;
private string _BSNO = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _BSTYPE = string.Empty;
private string _FEEID = string.Empty;
private string _FEENAME = string.Empty;
private string _CURRENCY = string.Empty;
private string _AMOUNT = string.Empty;
private string _DOAMOUNT = string.Empty;
private string _FEETYPE = string.Empty;
private string _CATEGORY = string.Empty;
private string _BILLSTATUS = string.Empty;
private string _CREATETIME = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _ORIGAMOUNT = string.Empty;
private string _COMPANYID = string.Empty;
[ModelDB]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string BILLNO
{
get { return _BILLNO; }
set { _BILLNO = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string BSTYPE
{
get { return _BSTYPE; }
set { _BSTYPE = value; }
}
[ModelDB]
public string FEEID
{
get { return _FEEID; }
set { _FEEID = value; }
}
[ModelDB]
public string FEENAME
{
get { return _FEENAME; }
set { _FEENAME = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string DOAMOUNT
{
get { return _DOAMOUNT; }
set { _DOAMOUNT = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
[ModelDB]
public string CATEGORY
{
get { return _CATEGORY; }
set { _CATEGORY = value; }
}
[ModelDB]
public string BILLSTATUS
{
get { return _BILLSTATUS; }
set { _BILLSTATUS = value; }
}
[ModelDB]
public string CREATETIME
{
get { return _CREATETIME; }
set { _CREATETIME = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string ORIGAMOUNT
{
get { return _ORIGAMOUNT; }
set { _ORIGAMOUNT = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public MsChFeeDo()
{
TableName = "ch_fee_do";
}
override public string GetBillNoFieldName()
{
return "BILLNO";
}
}
#endregion
#region 认款用销售单
[JsonObject]
public class SalesStateAuditmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _DOAMOUNT = string.Empty;
private string _AD_BILLNO = string.Empty;
private string _PASSED = string.Empty;
private string _PASSED_REF = string.Empty;
private string _CREATEUSER = string.Empty;
private string _CREATEUSER_REF = string.Empty;
private string _CREATETIME = string.Empty;
private string _AUDITOR_REF = string.Empty;
private string _AUDITOR = string.Empty;
private string _AUDITTIME = string.Empty;
///
//private string _SALESNO = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _OP = string.Empty;
private string _SALER = string.Empty;
private string _CORPID = string.Empty;
private string _DEPTGID = string.Empty;
private string _CARGONAME = string.Empty;
private string _REMARK = string.Empty;
private string _CURRENCY = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _AMOUNT = string.Empty;
private string _AMOUNTRMB = string.Empty;
private string _SALESDATE = string.Empty;
private string _DELIVERYDATE = string.Empty;
private string _DELIVERYADDRESS = string.Empty;
private string _DELIVERYCONTACTS = string.Empty;
private string _DELIVERYTEL = string.Empty;
private string _BSSTATUS = string.Empty;
private string _FEESTATUS = string.Empty;
private string _TIMEMARK = string.Empty;
private string _OPRef = string.Empty;
private string _SALERRef = string.Empty;
private string _BSSTATUSRef = string.Empty;
private string _FEESTATUSRef = string.Empty;
private string _DELIVERYWEIGHT = string.Empty;
private string _MAINSTATE = string.Empty;
private string _SALESTATUS = string.Empty;
private string _MAINSTATERef = string.Empty;
private string _SALESTATUSRef = string.Empty;
private string _Forecast_Amount = string.Empty;
private string _Forecast_Remain = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string DOAMOUNT
{
get { return _DOAMOUNT; }
set { _DOAMOUNT = value; }
}
[ModelDB]
public string AD_BILLNO
{
get { return _AD_BILLNO; }
set { _AD_BILLNO = value; }
}
[ModelDB]
public string PASSED
{
get { return _PASSED; }
set { _PASSED = value; }
}
public string PASSED_REF
{
get { return _PASSED_REF; }
set { _PASSED_REF = value; }
}
[ModelDB]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
public string CREATEUSER_REF
{
get { return _CREATEUSER_REF; }
set { _CREATEUSER_REF = value; }
}
[ModelDB]
public string CREATETIME
{
get { return _CREATETIME; }
set { _CREATETIME = value; }
}
public string AUDITOR_REF
{
get { return _AUDITOR_REF; }
set { _AUDITOR_REF = value; }
}
[ModelDB]
public string AUDITOR
{
get { return _AUDITOR; }
set { _AUDITOR = value; }
}
[ModelDB]
public string AUDITTIME
{
get { return _AUDITTIME; }
set { _AUDITTIME = value; }
}
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
public string OP
{
get { return _OP; }
set { _OP = value; }
}
public string SALER
{
get { return _SALER; }
set { _SALER = value; }
}
public string CORPID
{
get { return _CORPID; }
set { _CORPID = value; }
}
public string DEPTGID
{
get { return _DEPTGID; }
set { _DEPTGID = value; }
}
public string CARGONAME
{
get { return _CARGONAME; }
set { _CARGONAME = value; }
}
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
public string AMOUNTRMB
{
get { return _AMOUNTRMB; }
set { _AMOUNTRMB = value; }
}
public string SALESDATE
{
get { return _SALESDATE; }
set { _SALESDATE = value; }
}
public string DELIVERYDATE
{
get { return _DELIVERYDATE; }
set { _DELIVERYDATE = value; }
}
public string DELIVERYADDRESS
{
get { return _DELIVERYADDRESS; }
set { _DELIVERYADDRESS = value; }
}
public string DELIVERYCONTACTS
{
get { return _DELIVERYCONTACTS; }
set { _DELIVERYCONTACTS = value; }
}
public string DELIVERYTEL
{
get { return _DELIVERYTEL; }
set { _DELIVERYTEL = value; }
}
public string BSSTATUS
{
get { return _BSSTATUS; }
set { _BSSTATUS = value; }
}
public string FEESTATUS
{
get { return _FEESTATUS; }
set { _FEESTATUS = value; }
}
public string TIMEMARK
{
get { return _TIMEMARK; }
set { _TIMEMARK = value; }
}
public string OPRef
{
get { return _OPRef; }
set { _OPRef = value; }
}
public string SALERRef
{
get { return _SALERRef; }
set { _SALERRef = value; }
}
public string BSSTATUSRef
{
get { return _BSSTATUSRef; }
set { _BSSTATUSRef = value; }
}
public string FEESTATUSRef
{
get { return _FEESTATUSRef; }
set { _FEESTATUSRef = value; }
}
public string DELIVERYWEIGHT
{
get { return _DELIVERYWEIGHT; }
set { _DELIVERYWEIGHT = value; }
}
public string MAINSTATE
{
get { return _MAINSTATE; }
set { _MAINSTATE = value; }
}
public string SALESTATUS
{
get { return _SALESTATUS; }
set { _SALESTATUS = value; }
}
public string MAINSTATERef
{
get { return _MAINSTATERef; }
set { _MAINSTATERef = value; }
}
public string SALESTATUSRef
{
get { return _SALESTATUSRef; }
set { _SALESTATUSRef = value; }
}
public string Forecast_Amount
{
get { return _Forecast_Amount; }
set { _Forecast_Amount = value; }
}
public string Forecast_Remain
{
get { return _Forecast_Remain; }
set { _Forecast_Remain = value; }
}
#endregion
public SalesStateAuditmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "SalesAdvancePay_state";
}
public override string GetBillNoFieldName ( )
{
return "AD_BILLNO";
}
}
[JsonObject]
public class SalesAdvancePay_state_DELmb : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _SALESNO = string.Empty;
private string _DOAMOUNT = string.Empty;
private string _PASSED = string.Empty;
private string _AD_BILLNO = string.Empty;
private string _CREATEUSER = string.Empty;
private string _CREATETIME = string.Empty;
private string _DELETEUSER = string.Empty;
private string _DELETETIME = string.Empty;
#endregion
#region public Fields
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SALESNO
{
get { return _SALESNO; }
set { _SALESNO = value; }
}
[ModelDB]
public string DOAMOUNT
{
get { return _DOAMOUNT; }
set { _DOAMOUNT = value; }
}
[ModelDB]
public string PASSED
{
get { return _PASSED; }
set { _PASSED = value; }
}
[ModelDB]
public string AD_BILLNO
{
get { return _AD_BILLNO; }
set { _AD_BILLNO = value; }
}
[ModelDB]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
[ModelDB]
public string CREATETIME
{
get { return _CREATETIME; }
set { _CREATETIME = value; }
}
[ModelDB]
public string DELETEUSER
{
get { return _DELETEUSER; }
set { _DELETEUSER = value; }
}
[ModelDB]
public string DELETETIME
{
get { return _DELETETIME; }
set { _DELETETIME = value; }
}
#endregion
public SalesAdvancePay_state_DELmb ( )
{
// TableName = "tMsWlPcHead";
TableName = "SalesAdvancePay_state_DEL";
}
public override string GetBillNoFieldName ( )
{
return "AD_BILLNO";
}
}
#endregion
/// <summary>
/// 信息同步用
/// </summary>
#region 同步用XML
#region 同步信息XML
[XmlRootAttribute("ImportInfo", Namespace = "urn:Declaration:datamodel:standard:CN:MT2101:1",
IsNullable = true)]
public class ImportInfo
{
public XmlImportList ImportList;
//public XmlOpseae Opseae;
}
public class XmlImportList
{
[XmlElement(ElementName = "Import")]
public XmlImport[] Import;
}
public class XmlImport
{
[XmlElement(ElementName = "id")]
public string id;
[XmlElement(ElementName = "ContractNo")]
public string ContractNo;
[XmlElement(ElementName = "HTH")]
public string HTH;
[XmlElement(ElementName = "company")]
public string company;
[XmlElement(ElementName = "seller")]
public string seller;
[XmlElement(ElementName = "buyer")]
public string buyer;
[XmlElement(ElementName = "STT")]
public string STT;
[XmlElement(ElementName = "countryid")]
public string countryid;
[XmlElement(ElementName = "creattime")]
public string creattime;
[XmlElement(ElementName = "Audittime")]
public string Audittime;
[XmlElement(ElementName = "MainState")]
public string MainState;
[XmlElement(ElementName = "printed")]
public string printed;
[XmlElement(ElementName = "AutoAPP")]
public string AutoAPP;
[XmlElement(ElementName = "AutoAPPApplyId")]
public string AutoAPPApplyId;
[XmlElement(ElementName = "AutoAPPNum")]
public string AutoAPPNum;
[XmlElement(ElementName = "ApplyDate")]
public DateTime? ApplyDate;
[XmlElement(ElementName = "ShipCompany_id")]
public string ShipCompany_id;
[XmlElement(ElementName = "Billno")]
public string Billno;
[XmlElement(ElementName = "BillType")]
public string BillType;
[XmlElement(ElementName = "BillTime")]
public string BillTime;
[XmlElement(ElementName = "Vessel")]
public string Vessel;
[XmlElement(ElementName = "Voyage")]
public string Voyage;
[XmlElement(ElementName = "Ex_sailingdate")]
public string Ex_sailingdate;
[XmlElement(ElementName = "Sailingdate")]
public string Sailingdate;
[XmlElement(ElementName = "ArrivalDate")]
public string ArrivalDate;
[XmlElement(ElementName = "ContainerNo")]
public string ContainerNo;
[XmlElement(ElementName = "SealNo")]
public string SealNo;
[XmlElement(ElementName = "Freetime")]
public string Freetime;
[XmlElement(ElementName = "TransactionMethod")]
public string TransactionMethod;
[XmlElement(ElementName = "PaymentMethods")]
public string PaymentMethods;
[XmlElement(ElementName = "SecurityDeposit")]
public string SecurityDeposit;
[XmlElement(ElementName = "CustomsReleaseDate")]
public string CustomsReleaseDate;
[XmlElement(ElementName = "SamplingDate_Plan")]
public string SamplingDate_Plan;
[XmlElement(ElementName = "SamplingDate_Act")]
public string SamplingDate_Act;
[XmlElement(ElementName = "inspection_Signup_date")]
public string inspection_Signup_date;
[XmlElement(ElementName = "inspection_no")]
public string inspection_no;
[XmlElement(ElementName = "inspection_date")]
public string inspection_date;
[XmlElement(ElementName = "timemark")]
public string timemark;
[XmlElement(ElementName = "CIQ_licence")]
public string CIQ_licence;
[XmlElement(ElementName = "CIQ_canbesearch")]
public string CIQ_canbesearch;
[XmlElement(ElementName = "tax_date")]
public string tax_date;
[XmlElement(ElementName = "tax_paydate")]
public string tax_paydate;
[XmlElement(ElementName = "remark")]
public string remark;
[XmlElement(ElementName = "port")]
public string port;
[XmlElement(ElementName = "Writeoffs")]
public string Writeoffs;
[XmlElement(ElementName = "Paydate")]
public string Paydate;
[XmlElement(ElementName = "E_Billtime")]
public string E_Billtime;
[XmlElement(ElementName = "HDtime")]
public string HDtime;
[XmlElement(ElementName = "FinanceStatus")]
public string FinanceStatus;
[XmlElement(ElementName = "remark_2")]
public string remark_2;
[XmlElement(ElementName = "remark_3")]
public string remark_3;
[XmlElement(ElementName = "remark_4")]
public string remark_4;
[XmlElement(ElementName = "Sampling_need")]
public string Sampling_need;
[XmlElement(ElementName = "DeclareNumber")]
public string DeclareNumber;
[XmlElement(ElementName = "Inspection_Storage")]
public string Inspection_Storage;
[XmlElement(ElementName = "DeliveryDate")]
public string DeliveryDate;
[XmlElement(ElementName = "DeliveryAddress")]
public string DeliveryAddress;
[XmlElement(ElementName = "Contacter")]
public string Contacter;
[XmlElement(ElementName = "Tel")]
public string Tel;
[XmlElement(ElementName = "Overfilled")]
public string Overfilled;
[XmlElement(ElementName = "OwnApp")]
public string OwnApp;
[XmlElement(ElementName = "ReceiptStatus")]
public string ReceiptStatus;
[XmlElement(ElementName = "Receiptremark")]
public string Receiptremark;
[XmlElement(ElementName = "Prepaydate")]
public string Prepaydate;
[XmlElement(ElementName = "TRADINGAGENCY")]
public string TRADINGAGENCY;
[XmlElement(ElementName = "ACCDATE")]
public string ACCDATE;
[XmlElement(ElementName = "ContractStatus")]
public string ContractStatus;
[XmlElement(ElementName = "KCClear")]
public string KCClear;
[XmlElement(ElementName = "RCVMode")]
public string RCVMode;
[XmlElement(ElementName = "ISVOU")]
public string ISVOU;
[XmlElement(ElementName = "VOUCHERNO")]
public string VOUCHERNO;
[XmlElement(ElementName = "OP")]
public string OP;
[XmlElement(ElementName = "MZBZ")]
public string MZBZ;
[XmlElement(ElementName = "RecDate")]
public string RecDate;
[XmlElement(ElementName = "PortDays")]
public string PortDays;
[XmlElement(ElementName = "OPBillTime")]
public string OPBillTime;
[XmlElement(ElementName = "Dock")]
public string Dock;
[XmlElement(ElementName = "Customs_broker")]
public string Customs_broker;
[XmlElement(ElementName = "inspection_broker")]
public string inspection_broker;
[XmlElement(ElementName = "CreateTime_2")]
public string CreateTime_2;
[XmlElement(ElementName = "ResendTime")]
public string ResendTime;
[XmlElement(ElementName = "BuzType")]
public string BuzType;
[XmlElement(ElementName = "Inspection_Buyer")]
public string Inspection_Buyer;
[XmlElement(ElementName = "Inspection_Contacter")]
public string Inspection_Contacter;
[XmlElement(ElementName = "Inspection_Tel")]
public string Inspection_Tel;
[XmlElement(ElementName = "Inspection_DeliveryAddress")]
public string Inspection_DeliveryAddress;
[XmlElement(ElementName = "HaveContract")]
public string HaveContract;
[XmlElement(ElementName = "HaveCargoMark")]
public string HaveCargoMark;
[XmlElement(ElementName = "CORPID")]
public string CORPID;
[XmlElement(ElementName = "DEPTID")]
public string DEPTID;
[XmlElement(ElementName = "Supplier_Billno")]
public string Supplier_Billno;
[XmlElement(ElementName = "Other_Billno")]
public string Other_Billno;
[XmlElement(ElementName = "Agent")]
public string Agent;
[XmlElement(ElementName = "Buy_Type")]
public string Buy_Type;
[XmlElement(ElementName = "Buy_OP")]
public string Buy_OP;
[XmlElement(ElementName = "Bill_ExpressNo")]
public string Bill_ExpressNo;
[XmlElement(ElementName = "Agents_paydate")]
public string Agents_paydate;
[XmlElement(ElementName = "HAVESAMPLE")]
public string HAVESAMPLE;
[XmlElement(ElementName = "ISBONDED")]
public string ISBONDED;
[XmlElement(ElementName = "CHECKSAMPLY")]
public string CHECKSAMPLY;
[XmlElement(ElementName = "CHECKSAMPLE")]
public string CHECKSAMPLE;
[XmlElement(ElementName = "CTN")]
public string CTN;
[XmlElement(ElementName = "BILLTRANCNO")]
public string BILLTRANCNO;
[XmlElement(ElementName = "LOCK_EXCHANGERATE")]
public string LOCK_EXCHANGERATE;
[XmlElement(ElementName = "EXCHANGERATE")]
public string EXCHANGERATE;
[XmlElement(ElementName = "Unsealdate")]
public string Unsealdate;
[XmlElement(ElementName = "ISREFORM")]
public string ISREFORM;
}
#endregion
#region 同步单据信息XML
[XmlRootAttribute("SyncReceiptDoc", Namespace = "urn:Declaration:datamodel:standard:CN:MT2101:1",
IsNullable = true)]
public class SyncReceiptDoc
{
public XMLDocList DocList;
//public XmlOpseae Opseae;
}
public class XMLDocList
{
[XmlElement(ElementName = "Doc")]
public XmlDoc[] Doc;
}
public class XmlDoc
{
[XmlElement(ElementName = "GID")]
public string GID;
[XmlElement(ElementName = "RECEIPTTYPE")]
public string RECEIPTTYPE;
[XmlElement(ElementName = "BSNO")]
public string BSNO;
[XmlElement(ElementName = "URL")]
public string URL;
[XmlElement(ElementName = "Driect_URL")]
public string Driect_URL;
}
#endregion
#region 同步费用信息XML
[XmlRootAttribute("SyncFee", Namespace = "urn:Declaration:datamodel:standard:CN:MT2101:1",
IsNullable = true)]
public class SyncFee
{
public XMLSyncFeeList SyncFeeList;
//public XmlOpseae Opseae;
}
public class XMLSyncFeeList
{
[XmlElement(ElementName = "Fee")]
public XmlFee[] Fee;
}
public class XmlFee
{
[XmlElement(ElementName = "GID")]
public string GID;
[XmlElement(ElementName = "Local_GID")]
public string Local_GID;
[XmlElement(ElementName = "BSNO")]
public string BSNO;
[XmlElement(ElementName = "FEETYPE")]
public string FEETYPE;
[XmlElement(ElementName = "Local_BSNO")]
public string Local_BSNO;
[XmlElement(ElementName = "CUSTOMERNAME")]
public string CUSTOMERNAME;
[XmlElement(ElementName = "FEENAME")]
public string FEENAME;
[XmlElement(ElementName = "UNITPRICE")]
public string UNITPRICE;
[XmlElement(ElementName = "QUANTITY")]
public string QUANTITY;
[XmlElement(ElementName = "AMOUNT")]
public string AMOUNT;
[XmlElement(ElementName = "CURRENCY")]
public string CURRENCY;
[XmlElement(ElementName = "EXCHANGERATE")]
public string EXCHANGERATE;
[XmlElement(ElementName = "SETTLEDATE")]
public string SETTLEDATE;
[XmlElement(ElementName = "SETTLEMENT")]
public string SETTLEMENT;
[XmlElement(ElementName = "REMARK")]
public string REMARK;
}
#endregion
#region 同步商品信息
[XmlRootAttribute("SyncCargo", Namespace = "urn:Declaration:datamodel:standard:CN:MT2101:1",
IsNullable = true)]
public class SyncCargo
{
public XmlCargoList SyncCargoList;
//public XmlOpseae Opseae;
}
public class XmlCargoList
{
[XmlElement(ElementName = "Cargo")]
public XmlCargo[] Cargo;
}
public class XmlCargo
{
[XmlElement(ElementName = "GID")]
public string GID;
[XmlElement(ElementName = "ContractNo")]
public string ContractNo;
[XmlElement(ElementName = "cargoinfo_id")]
public string cargoinfo_id;
[XmlElement(ElementName = "cargociq_id")]
public string cargociq_id;
[XmlElement(ElementName = "Name")]
public string Name;
[XmlElement(ElementName = "Ename")]
public string Ename;
[XmlElement(ElementName = "UNIT")]
public string UNIT;
[XmlElement(ElementName = "U_PRICE")]
public string U_PRICE;
[XmlElement(ElementName = "U_weight")]
public string U_weight;
[XmlElement(ElementName = "weight")]
public string weight;
[XmlElement(ElementName = "m_weight")]
public string m_weight;
[XmlElement(ElementName = "price")]
public string price;
[XmlElement(ElementName = "price_limit")]
public string price_limit;
[XmlElement(ElementName = "Amount")]
public string Amount;
[XmlElement(ElementName = "tax_Amount")]
public string tax_Amount;
[XmlElement(ElementName = "BoxCount")]
public string BoxCount;
[XmlElement(ElementName = "BoxWeight")]
public string BoxWeight;
[XmlElement(ElementName = "Exporter")]
public string Exporter;
[XmlElement(ElementName = "FactoryNo")]
public string FactoryNo;
[XmlElement(ElementName = "ICP")]
public string ICP;
[XmlElement(ElementName = "Productiondate")]
public string Productiondate;
[XmlElement(ElementName = "currid")]
public string currid;
[XmlElement(ElementName = "prepayments")]
public string prepayments;
[XmlElement(ElementName = "balance")]
public string balance;
[XmlElement(ElementName = "paypart")]
public string paypart;
[XmlElement(ElementName = "baolv")]
public string baolv;
[XmlElement(ElementName = "tariff")]
public string tariff;
[XmlElement(ElementName = "tax")]
public string tax;
[XmlElement(ElementName = "tax_zz")]
public string tax_zz;
[XmlElement(ElementName = "Declarenumber")]
public string Declarenumber;
[XmlElement(ElementName = "Exchangerate")]
public string Exchangerate;
[XmlElement(ElementName = "Exchangerate_Customs")]
public string Exchangerate_Customs;
[XmlElement(ElementName = "PreProportion")]
public string PreProportion;
[XmlElement(ElementName = "Amount_Writeoffs")]
public string Amount_Writeoffs;
[XmlElement(ElementName = "sequence")]
public string sequence;
[XmlElement(ElementName = "SBYS")]
public string SBYS;
[XmlElement(ElementName = "BZTCHNO")]
public string BZTCHNO;
[XmlElement(ElementName = "CargoType")]
public string CargoType;
[XmlElement(ElementName = "KINDPKGS")]
public string KINDPKGS;
[XmlElement(ElementName = "Weight_Act")]
public string Weight_Act;
[XmlElement(ElementName = "BoxCount_Act")]
public string BoxCount_Act;
[XmlElement(ElementName = "ExpirationDate")]
public string ExpirationDate;
[XmlElement(ElementName = "AGENCRATE")]
public string AGENCRATE;
[XmlElement(ElementName = "MOREORLESS")]
public string MOREORLESS;
[XmlElement(ElementName = "Remark")]
public string Remark;
[XmlElement(ElementName = "SPECIFICATIONS")]
public string SPECIFICATIONS;
[XmlElement(ElementName = "pay_Amount")]
public string pay_Amount;
[XmlElement(ElementName = "tax_1")]
public string tax_1;
[XmlElement(ElementName = "tax_zz_1")]
public string tax_zz_1;
}
#endregion
#endregion
#region 参照部分
#endregion
}