|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Common.DB
|
|
|
|
|
{
|
|
|
|
|
[Table("sys_param_set")]
|
|
|
|
|
public class sys_param_set_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string PARAMNAME { get; set; }
|
|
|
|
|
public string PARAMDESCRIPTION { get; set; }
|
|
|
|
|
public string PARAMVALUE { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string PARAMTYPE { get; set; }
|
|
|
|
|
public string FIELDTYPE { get; set; }
|
|
|
|
|
//public string COMPANYID { get; set; }
|
|
|
|
|
//public string PARAMVALUE2 { get; set; }
|
|
|
|
|
//public string PARAMVALUE3 { get; set; }
|
|
|
|
|
//public string PARAMVALUE4 { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("sys_parameter_value")]
|
|
|
|
|
|
|
|
|
|
public class sys_parameter_value_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string PARAMNAME { get; set; }
|
|
|
|
|
public string PARAMVALUE { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public int SORT { get; set; }
|
|
|
|
|
public string PARAMDESCRIPTION { get; set; }
|
|
|
|
|
public string PARAMTYPE { get; set; }
|
|
|
|
|
public string DISPVALUE { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("info_client")]
|
|
|
|
|
public class info_client_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string CODENAME { get; set; }
|
|
|
|
|
public string SHORTNAME { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
public string EnFullName { get; set; }
|
|
|
|
|
public int? STATUS { get; set; }
|
|
|
|
|
public string ADDR { get; set; }
|
|
|
|
|
public string EMAIL { get; set; }
|
|
|
|
|
public string WEB { get; set; }
|
|
|
|
|
public string TEL { get; set; }
|
|
|
|
|
public string FAX { get; set; }
|
|
|
|
|
public string CHIEF { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public string DOC { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? ISCARRIER { get; set; }
|
|
|
|
|
public bool? ISBOOKING { get; set; }
|
|
|
|
|
public bool? ISYARD { get; set; }
|
|
|
|
|
public bool? ISTRUCK { get; set; }
|
|
|
|
|
public bool? ISCONTROLLER { get; set; }
|
|
|
|
|
public bool? ISCUSTOM { get; set; }
|
|
|
|
|
public bool? ISAGENT { get; set; }
|
|
|
|
|
public bool? ISAGENTCN { get; set; }
|
|
|
|
|
public bool? ISEXPRESS { get; set; }
|
|
|
|
|
public bool? ISAIRLINES { get; set; }
|
|
|
|
|
public bool? ISSHIPPER { get; set; }
|
|
|
|
|
public bool? ISCONSIGNEE { get; set; }
|
|
|
|
|
public bool? ISNOTIFYPARTY { get; set; }
|
|
|
|
|
public bool? ISWAREHOUSE { get; set; }
|
|
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
public string PROVINCE { get; set; }
|
|
|
|
|
public string CITY { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string BLCONTENT { get; set; }
|
|
|
|
|
public bool? ISSTOP { get; set; }
|
|
|
|
|
public string BillRises1 { get; set; }
|
|
|
|
|
public string BillRises2 { get; set; }
|
|
|
|
|
public string USDBillRises { get; set; }
|
|
|
|
|
public string RMBBillRises { get; set; }
|
|
|
|
|
public string RMBBank { get; set; }
|
|
|
|
|
public string RMBAccount { get; set; }
|
|
|
|
|
public string RMBOnlineNO { get; set; }
|
|
|
|
|
public string USDBank { get; set; }
|
|
|
|
|
public string USDAccount { get; set; }
|
|
|
|
|
public string USDOnlineNO { get; set; }
|
|
|
|
|
public string CustomAttributes1 { get; set; }
|
|
|
|
|
public string CustomAttributes2 { get; set; }
|
|
|
|
|
public decimal? USDMaxAmountCredit { get; set; }
|
|
|
|
|
public decimal? RMBMaxAmountCredit { get; set; }
|
|
|
|
|
public decimal? MaxAmountCredit { get; set; }
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
public string OPNAME { get; set; }
|
|
|
|
|
public DateTime? OPTIME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public decimal? USDExchangeRate { get; set; }
|
|
|
|
|
public string STLDATE { get; set; }
|
|
|
|
|
public string STLFIRSTHALFDATE { get; set; }
|
|
|
|
|
public string STLMIDDLEDATE { get; set; }
|
|
|
|
|
public string STLDATEPJ { get; set; }
|
|
|
|
|
public string LEVEL { get; set; }
|
|
|
|
|
public string LOGINNAME { get; set; }
|
|
|
|
|
public string LOGINPASSWORD { get; set; }
|
|
|
|
|
public string QQ { get; set; }
|
|
|
|
|
public string MSN { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public bool? ISWHARF { get; set; }
|
|
|
|
|
public bool? ISSHIPPINGAGENT { get; set; }
|
|
|
|
|
public string FARCODE { get; set; }
|
|
|
|
|
public string FAPCODE { get; set; }
|
|
|
|
|
public bool? ISINSURE { get; set; }
|
|
|
|
|
public bool? ISLEASING { get; set; }
|
|
|
|
|
public bool? ISTRADINGAGENCY { get; set; }
|
|
|
|
|
public bool? ISOTHER { get; set; }
|
|
|
|
|
public string OTHERS { get; set; }
|
|
|
|
|
public string UNITPRICE { get; set; }
|
|
|
|
|
public string REGISTRATIONNO { get; set; }
|
|
|
|
|
public string ORDERNO { get; set; }
|
|
|
|
|
public bool? ISENTERP { get; set; }
|
|
|
|
|
public string TAXNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string EDICODE { get; set; }
|
|
|
|
|
public string EDICODE2 { get; set; }
|
|
|
|
|
public string EDICODE3 { get; set; }
|
|
|
|
|
public string ORGANIZATIONCODE { get; set; }
|
|
|
|
|
public string PCORPNAME { get; set; }
|
|
|
|
|
public string InspectionNo { get; set; }
|
|
|
|
|
public bool? ISSHIPAGENCY { get; set; }
|
|
|
|
|
public byte? blstatus { get; set; }
|
|
|
|
|
public bool? ISSP { get; set; }
|
|
|
|
|
public string FEEFRT { get; set; }
|
|
|
|
|
public int? RCVMode { get; set; }
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVBANK { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVADDRTEL { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
public decimal? TICHENG { get; set; }
|
|
|
|
|
public decimal? FENCHENG { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("Info_Client_ACCDATE")]
|
|
|
|
|
public partial class Info_Client_ACCDATE_mb
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
|
|
|
|
public byte? ACCDAYS { get; set; }
|
|
|
|
|
|
|
|
|
|
public byte? ACCMONTH { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ACCSTARTDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ACCTYPE { get; set; }
|
|
|
|
|
public decimal? ALLOWAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? BGNDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
|
|
|
|
|
public decimal? COMMISSIONRATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CONTRACTGID { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? ENDDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string LINKGID { get; set; }
|
|
|
|
|
|
|
|
|
|
public string MODIFIEDTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
|
|
|
|
|
public string OPLBNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("info_client_bank")]
|
|
|
|
|
public partial class info_client_bank_mb
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string LINKID { get; set; }
|
|
|
|
|
public string CODENAME { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public string BANKNAME { get; set; }
|
|
|
|
|
public string ACCOUNT { get; set; }
|
|
|
|
|
public string SUBJECTCODE { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string FINANCESOFTCODE { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string ACCOUNTNAME { get; set; }
|
|
|
|
|
public string SWIFT { get; set; }
|
|
|
|
|
public string BANKAGENTNAME { get; set; }
|
|
|
|
|
public string BANKACNO { get; set; }
|
|
|
|
|
public string COUNTRYID { get; set; }
|
|
|
|
|
public string BANKADDR { get; set; }
|
|
|
|
|
public string ISINVDEF { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("v_op_bs")]
|
|
|
|
|
public partial class v_op_bs_mb
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string AGENTID { get; set; }
|
|
|
|
|
public string APPLYNO { get; set; }
|
|
|
|
|
public DateTime? ATD { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public string BLFRT { get; set; }
|
|
|
|
|
public string BLISSUESTATUS { get; set; }
|
|
|
|
|
public string BLTYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BOOKNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string BSCUSTOMNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? BSSTATUS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string BSTYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CARGOID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CLOSINGDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR1 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR10 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR2 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR3 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR4 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR5 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR6 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR7 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR8 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CNTR9 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CNTRSEALNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CUSTOMDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CUSTOMSER { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CUSTOMSNUM { get; set; }
|
|
|
|
|
public string CUSTSERVICE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string DCLASS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? DELIVERYDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DESTINATION { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DESTINATIONID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DOC { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ENTERP { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
public decimal? FEEKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? FEESTATUS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string FORWARDER { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FRCUSTSERVICE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? INSPECTIONDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string INSPECTIONNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? ISCANCEL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ISPRINTPR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ISSUETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? ISVOU { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string LANE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string MASTERNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string NUMBERPLATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? OPDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string OPERATOR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string OPLB { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string OPLBNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ORDERNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? OTCNTR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PLACERECEIPT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string REMARK2 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SALEDEPT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SERVICE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SERVICECONTRACTNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? STLDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? TEU { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TRADETERM { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TRUCKER { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string YARD { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("v_op_bill")]
|
|
|
|
|
public partial class v_op_bill_mb
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string MASTERNO { get; set; }
|
|
|
|
|
public string PARENTID { get; set; }
|
|
|
|
|
public string OPTYPE { get; set; }
|
|
|
|
|
public string OPLB { get; set; }
|
|
|
|
|
public string OPLBNAME { get; set; }
|
|
|
|
|
public string BSTYPE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string ORDERNO { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
public string ETD { get; set; }
|
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
public DateTime? STLDATE { get; set; }
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public int? BSSTATUS { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public string DOC { get; set; }
|
|
|
|
|
public string CUSTSERVICE { get; set; }
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
public string LANE { get; set; }
|
|
|
|
|
public string FORWARDER { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public int? TEU { get; set; }
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public int? CNTR1 { get; set; }
|
|
|
|
|
public int? CNTR2 { get; set; }
|
|
|
|
|
public int? CNTR3 { get; set; }
|
|
|
|
|
public int? CNTR4 { get; set; }
|
|
|
|
|
public int? CNTR5 { get; set; }
|
|
|
|
|
public int? CNTR6 { get; set; }
|
|
|
|
|
public int? CNTR7 { get; set; }
|
|
|
|
|
public int? CNTR8 { get; set; }
|
|
|
|
|
public int? CNTR9 { get; set; }
|
|
|
|
|
public int? CNTR10 { get; set; }
|
|
|
|
|
public int? OTCNTR { get; set; }
|
|
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public int? FEESTATUS { get; set; }
|
|
|
|
|
public DateTime? OPDATE { get; set; }
|
|
|
|
|
public DateTime? CUSTOMDATE { get; set; }
|
|
|
|
|
public string ENTERP { get; set; }
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public string BLFRT { get; set; }
|
|
|
|
|
public string SALEDEPT { get; set; }
|
|
|
|
|
public int? CUSTOMSNUM { get; set; }
|
|
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
public string BSCUSTOMNO { get; set; }
|
|
|
|
|
public DateTime? INSPECTIONDATE { get; set; }
|
|
|
|
|
public string INSPECTIONNO { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string BOOKNO { get; set; }
|
|
|
|
|
public string AGENTID { get; set; }
|
|
|
|
|
public string ISPRINTPR { get; set; }
|
|
|
|
|
public string NUMBERPLATE { get; set; }
|
|
|
|
|
public decimal? FEEKGS { get; set; }
|
|
|
|
|
public string OPERATOR { get; set; }
|
|
|
|
|
public string SERVICECONTRACTNO { get; set; }
|
|
|
|
|
public string BLTYPE { get; set; }
|
|
|
|
|
public int? ISCANCEL { get; set; }
|
|
|
|
|
public string APPLYNO { get; set; }
|
|
|
|
|
public string ISSUETYPE { get; set; }
|
|
|
|
|
public string BLISSUESTATUS { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string TRADETERM { get; set; }
|
|
|
|
|
public string REASON { get; set; }
|
|
|
|
|
public string PLACERECEIPT { get; set; }
|
|
|
|
|
public string DESTINATION { get; set; }
|
|
|
|
|
public string CNTRSEALNO { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public int? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public string YARD { get; set; }
|
|
|
|
|
public DateTime? DELIVERYDATE { get; set; }
|
|
|
|
|
public string FRCUSTSERVICE { get; set; }
|
|
|
|
|
public string SERVICE { get; set; }
|
|
|
|
|
public string REMARK2 { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public string TRUCKER { get; set; }
|
|
|
|
|
public string CUSTOMSER { get; set; }
|
|
|
|
|
public DateTime? CLOSINGDATE { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public string CARGOID { get; set; }
|
|
|
|
|
public string DCLASS { get; set; }
|
|
|
|
|
public DateTime? ATD { get; set; }
|
|
|
|
|
public string ALLBILLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("code_fee")]
|
|
|
|
|
|
|
|
|
|
public class code_fee_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FEECODE { get; set; }
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public string DEFAULTCURR { get; set; }
|
|
|
|
|
public bool? ISSEA { get; set; }
|
|
|
|
|
public bool? ISAIR { get; set; }
|
|
|
|
|
public int? DEFAULTUNIT { get; set; }
|
|
|
|
|
public int? DEFAULTDEBIT { get; set; }
|
|
|
|
|
public int? DEFAULTCREDIT { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string FEETYPE { get; set; }
|
|
|
|
|
public bool? ISTRUCKING { get; set; }
|
|
|
|
|
public bool? ISTRUCKINGFIXED { get; set; }
|
|
|
|
|
public bool? ISWMS { get; set; }
|
|
|
|
|
public string FEEGROUP { get; set; }
|
|
|
|
|
public string FEEFRT { get; set; }
|
|
|
|
|
public bool? ISADVANCEDPAY { get; set; }
|
|
|
|
|
public decimal? TAXRATE { get; set; }
|
|
|
|
|
public string DUITYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("CODE_CTN")]
|
|
|
|
|
public partial class CODE_CTN_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string CTNID { get; set; } = "";
|
|
|
|
|
public string CTNSIZE { get; set; } = "";
|
|
|
|
|
public string CTNTYPE { get; set; } = "";
|
|
|
|
|
public string CTN { get; set; } = "";
|
|
|
|
|
public string EDICODE { get; set; }
|
|
|
|
|
public decimal? CTNWEIGHT { get; set; }
|
|
|
|
|
public string EEXPLAIN { get; set; }
|
|
|
|
|
public string CEXPLAIN { get; set; }
|
|
|
|
|
public string AFRCODE { get; set; }
|
|
|
|
|
public decimal? TEU { get; set; }
|
|
|
|
|
public decimal? DLIKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("op_other")]
|
|
|
|
|
|
|
|
|
|
public class op_other_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string OPLB { get; set; }
|
|
|
|
|
public string OPLBNAME { get; set; }
|
|
|
|
|
public bool? BSSTATUS { get; set; }
|
|
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public DateTime? BSDATE { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public string CUSTSERVICE { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string TRANSTYPE { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
public int? PKGS { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string orderno { get; set; }
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
public DateTime? STLDATE { get; set; }
|
|
|
|
|
public string CTNALL { get; set; }
|
|
|
|
|
public int? CTNNUM { get; set; }
|
|
|
|
|
public string IsService1 { get; set; }
|
|
|
|
|
public string IsService2 { get; set; }
|
|
|
|
|
public string IsService3 { get; set; }
|
|
|
|
|
public string IsService4 { get; set; }
|
|
|
|
|
public string IsService5 { get; set; }
|
|
|
|
|
public string IsService6 { get; set; }
|
|
|
|
|
public string IsService7 { get; set; }
|
|
|
|
|
public string IsService8 { get; set; }
|
|
|
|
|
public string IsService9 { get; set; }
|
|
|
|
|
public string IsService10 { get; set; }
|
|
|
|
|
public string IsServiceFee1 { get; set; }
|
|
|
|
|
public string IsServiceFee2 { get; set; }
|
|
|
|
|
public string IsServiceFee3 { get; set; }
|
|
|
|
|
public string IsServiceFee4 { get; set; }
|
|
|
|
|
public string IsServiceFee5 { get; set; }
|
|
|
|
|
public string IsServiceFee6 { get; set; }
|
|
|
|
|
public string IsServiceFee7 { get; set; }
|
|
|
|
|
public string IsServiceFee8 { get; set; }
|
|
|
|
|
public string IsServiceFee9 { get; set; }
|
|
|
|
|
public string IsServiceFee10 { get; set; }
|
|
|
|
|
public string IsService11 { get; set; }
|
|
|
|
|
public string IsService12 { get; set; }
|
|
|
|
|
public string IsServiceFee11 { get; set; }
|
|
|
|
|
public string IsServiceFee12 { get; set; }
|
|
|
|
|
public string ENTERP { get; set; }
|
|
|
|
|
public string IsService13 { get; set; }
|
|
|
|
|
public string IsService14 { get; set; }
|
|
|
|
|
public string IsService15 { get; set; }
|
|
|
|
|
public string IsService16 { get; set; }
|
|
|
|
|
public string IsServiceFee13 { get; set; }
|
|
|
|
|
public string IsServiceFee14 { get; set; }
|
|
|
|
|
public string IsServiceFee15 { get; set; }
|
|
|
|
|
public string IsServiceFee16 { get; set; }
|
|
|
|
|
public string BOOKNO { get; set; }
|
|
|
|
|
public string ISPRINTPR { get; set; }
|
|
|
|
|
public int BillFeeStatus { get; set; }
|
|
|
|
|
public string OPERATOR { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public string FRCUSTSERVICE { get; set; }
|
|
|
|
|
public DateTime? CLOSINGDATE { get; set; }
|
|
|
|
|
public DateTime? CLOSEDOCDATE { get; set; }
|
|
|
|
|
public string SALEDEPT { get; set; }
|
|
|
|
|
public string CUSTOMSER { get; set; }
|
|
|
|
|
public string WAREHOUSE { get; set; }
|
|
|
|
|
public string COUNTRYOFORIGIN { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public byte? STLMODE { get; set; }
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("ch_fee")]
|
|
|
|
|
public partial class ch_fee_md
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public int? FEETYPE { get; set; } = 0;
|
|
|
|
|
public string FEENAME { get; set; }
|
|
|
|
|
public string FEEDESCRIPTION { get; set; } = "";
|
|
|
|
|
public string CUSTOMERTYPE { get; set; } = "";
|
|
|
|
|
public string CUSTOMERNAME { get; set; } = "";
|
|
|
|
|
public string UNIT { get; set; } = "";
|
|
|
|
|
public decimal? UNITPRICE { get; set; } = 0;
|
|
|
|
|
public decimal? QUANTITY { get; set; } = 0;
|
|
|
|
|
public decimal? AMOUNT { get; set; } = 0;
|
|
|
|
|
public string CURRENCY { get; set; } = "";
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; } = 0;
|
|
|
|
|
public string REASON { get; set; } = "";
|
|
|
|
|
public string REMARK { get; set; } = "";
|
|
|
|
|
public decimal? COMMISSIONRATE { get; set; } = 0;
|
|
|
|
|
public decimal? SETTLEMENT { get; set; } = 0;
|
|
|
|
|
public decimal? INVOICE { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERAMOUNT { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERINVOICE { get; set; } = 0;
|
|
|
|
|
public DateTime? SUBMITDATE { get; set; }
|
|
|
|
|
public string AUDITOPERATOR { get; set; } = "";
|
|
|
|
|
public DateTime? AUDITDATE { get; set; }
|
|
|
|
|
public string ENTEROPERATOR { get; set; } = "";
|
|
|
|
|
public DateTime? ENTERDATE { get; set; }
|
|
|
|
|
public string DEBITNO { get; set; } = "";
|
|
|
|
|
public bool? ISDEBIT { get; set; } = false;
|
|
|
|
|
public bool? ISOPEN { get; set; } = false;
|
|
|
|
|
public bool? ISADVANCEDPAY { get; set; } = false;
|
|
|
|
|
public int? SORT { get; set; } = 0;
|
|
|
|
|
public bool? ISINVOICE { get; set; } = false;
|
|
|
|
|
public int? FEESTATUS { get; set; } = 1;
|
|
|
|
|
public string FEEFRT { get; set; } = "";
|
|
|
|
|
public bool? ISCRMORDERFEE { get; set; } = false;
|
|
|
|
|
public int? AUDITSTATUS { get; set; } = 0;
|
|
|
|
|
public string INVOICENUM { get; set; } = "";
|
|
|
|
|
public string CHEQUENUM { get; set; } = "";
|
|
|
|
|
public string WMSOUTBSNO { get; set; } = "";
|
|
|
|
|
public int? LINENUM { get; set; } = 0;
|
|
|
|
|
public decimal? TAXRATE { get; set; } = 0;
|
|
|
|
|
public decimal? NOTAXAMOUNT { get; set; } = 0;
|
|
|
|
|
public decimal? ACCTAXRATE { get; set; } = 0;
|
|
|
|
|
public bool? ISVOU { get; set; } = false;
|
|
|
|
|
public string VOUCHERNO { get; set; } = "";
|
|
|
|
|
public string ACCDATE { get; set; } = "";
|
|
|
|
|
public string BXGID { get; set; } = "";
|
|
|
|
|
public decimal? TAX { get; set; } = 0;
|
|
|
|
|
public string F_NO { get; set; } = "";
|
|
|
|
|
public decimal? ORDERSETTLEMENT { get; set; } = 0;
|
|
|
|
|
public decimal? TAXUNITPRICE { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERINVSETTLEMENT { get; set; } = 0;
|
|
|
|
|
public string MODIFIEDUSER { get; set; } = "";
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string VOUALLNO { get; set; } = "";
|
|
|
|
|
public string SALESNO { get; set; } = "";
|
|
|
|
|
public string CARGO_GID { get; set; } = "";
|
|
|
|
|
public string JKGID { get; set; } = "";
|
|
|
|
|
public decimal? PREAMOUNT { get; set; } = 0;
|
|
|
|
|
public string INPUTMODE { get; set; } = "";
|
|
|
|
|
public string DELIVERYNO { get; set; } = "";
|
|
|
|
|
public string LOCALCURR { get; set; } = "";
|
|
|
|
|
public string MANAGER { get; set; } = "";
|
|
|
|
|
public bool? ISACC { get; set; } = false;
|
|
|
|
|
public string PaymentGID { get; set; } = "";
|
|
|
|
|
public string STATEMENTNO { get; set; } = "";
|
|
|
|
|
public string SALECORP { get; set; } = "";
|
|
|
|
|
public bool? CUSTDUI { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用于向大简云发送开票请求后 记录费用与链接的关系
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string INVLINKGID { get; set; } = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public partial class ch_fee_md
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private static List<code_fee_md> _codefeelist { get; set; }
|
|
|
|
|
|
|
|
|
|
public void setTax(List<code_fee_md> codefeelist)
|
|
|
|
|
{
|
|
|
|
|
if (TAXRATE != null)
|
|
|
|
|
{
|
|
|
|
|
//那就还使用原有的税率
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
if (string.IsNullOrWhiteSpace(FEENAME))
|
|
|
|
|
{
|
|
|
|
|
TAXRATE = 0;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
//var codefee = codefeelist.First(x => x.NAME == FEENAME);
|
|
|
|
|
//if (codefee == null) TAXRATE = 0;
|
|
|
|
|
//else
|
|
|
|
|
//{
|
|
|
|
|
// if (TAXRATE == null) TAXRATE = (decimal)codefeelist.First(x => x.NAME == FEENAME).TAXRATE;
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
if (codefeelist.Exists(x => x.NAME == FEENAME))
|
|
|
|
|
{
|
|
|
|
|
decimal? taxrate = codefeelist.First(x => x.NAME == FEENAME).TAXRATE;
|
|
|
|
|
|
|
|
|
|
if (TAXRATE == null)
|
|
|
|
|
{
|
|
|
|
|
if (taxrate == null) TAXRATE = 0;
|
|
|
|
|
else
|
|
|
|
|
TAXRATE = taxrate;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
TAXRATE = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var taxrateb = 1 + TAXRATE / 100;
|
|
|
|
|
NOTAXAMOUNT = AMOUNT / taxrateb;
|
|
|
|
|
TAX = AMOUNT - NOTAXAMOUNT;
|
|
|
|
|
if (QUANTITY > 0)
|
|
|
|
|
{
|
|
|
|
|
UNITPRICE = NOTAXAMOUNT / QUANTITY;
|
|
|
|
|
TAXUNITPRICE = AMOUNT / QUANTITY;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
UNITPRICE = NOTAXAMOUNT;
|
|
|
|
|
TAXUNITPRICE = AMOUNT;
|
|
|
|
|
}
|
|
|
|
|
//20210416 将acctaxrate用taxrate填充
|
|
|
|
|
ACCTAXRATE = TAXRATE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ch_fee_md() { }
|
|
|
|
|
|
|
|
|
|
public ch_fee_md(string bsno)
|
|
|
|
|
{
|
|
|
|
|
GID = Guid.NewGuid().ToString();
|
|
|
|
|
BSNO = bsno;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ch_fee_md(code_fee_md codefee)
|
|
|
|
|
{
|
|
|
|
|
GID = Guid.NewGuid().ToString();
|
|
|
|
|
FEENAME = codefee.NAME;
|
|
|
|
|
|
|
|
|
|
clear();
|
|
|
|
|
|
|
|
|
|
TAXRATE = codefee.TAXRATE;
|
|
|
|
|
if (codefee.TAXRATE == null)
|
|
|
|
|
{
|
|
|
|
|
TAXRATE = 0.0m;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void clear()
|
|
|
|
|
{
|
|
|
|
|
TAXRATE = 0.0m;
|
|
|
|
|
QUANTITY = 0.0m;
|
|
|
|
|
TAXUNITPRICE = 0.0m;
|
|
|
|
|
UNITPRICE = 0.0m;
|
|
|
|
|
|
|
|
|
|
AMOUNT = 0.0m;
|
|
|
|
|
NOTAXAMOUNT = 0.0m;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SETTLEMENT = 0;
|
|
|
|
|
ORDERAMOUNT = 0;
|
|
|
|
|
ORDERINVOICE = 0;
|
|
|
|
|
ORDERINVSETTLEMENT = 0;
|
|
|
|
|
ORDERSETTLEMENT = 0;
|
|
|
|
|
INVOICE = 0;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static ch_fee_md getChfeeHelper(string userid)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//var today = DateTime.Now.AddDays(0).ToString("yyyy-MM-dd ");
|
|
|
|
|
|
|
|
|
|
var result = new ch_fee_md();
|
|
|
|
|
result.GID = Guid.NewGuid().ToString();
|
|
|
|
|
result.SETTLEMENT = 0;
|
|
|
|
|
result.ORDERAMOUNT = 0;
|
|
|
|
|
result.ORDERINVOICE = 0;
|
|
|
|
|
result.ORDERINVSETTLEMENT = 0;
|
|
|
|
|
result.ORDERSETTLEMENT = 0;
|
|
|
|
|
result.INVOICE = 0;
|
|
|
|
|
result.CURRENCY = "RMB";
|
|
|
|
|
result.EXCHANGERATE = 1;
|
|
|
|
|
result.ENTERDATE = DateTime.Now;
|
|
|
|
|
result.ENTEROPERATOR = userid;
|
|
|
|
|
result.FEESTATUS = 1;
|
|
|
|
|
result.TAXRATE = 0;
|
|
|
|
|
|
|
|
|
|
result.ISADVANCEDPAY = false;
|
|
|
|
|
result.ISINVOICE = false;
|
|
|
|
|
result.ISCRMORDERFEE = false;
|
|
|
|
|
|
|
|
|
|
result.INPUTMODE = "月结";
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool CanChange()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
SETTLEMENT == 0 &&
|
|
|
|
|
ORDERAMOUNT == 0 &&
|
|
|
|
|
ORDERINVOICE == 0 &&
|
|
|
|
|
ORDERINVSETTLEMENT == 0 &&
|
|
|
|
|
ORDERSETTLEMENT == 0 &&
|
|
|
|
|
INVOICE == 0 &&
|
|
|
|
|
!(ISDEBIT == null ? false : (bool)ISDEBIT)
|
|
|
|
|
) return true;
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("cust_fee_templatedetail")]
|
|
|
|
|
public class CustFeeTemplateDetail
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string FEENAME { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string UNIT { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public decimal? UNITPRICE { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public int? SORT { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; }
|
|
|
|
|
public bool? ISCTN { get; set; }
|
|
|
|
|
public bool? ISINVOICE { get; set; }
|
|
|
|
|
public bool? ISADVANCEDPAY { get; set; }
|
|
|
|
|
public string FEEFRT { get; set; }
|
|
|
|
|
public decimal? TAXRATE { get; set; }
|
|
|
|
|
public decimal? TAX { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("v_fee_do_settlement")]
|
|
|
|
|
public partial class v_fee_do_settlement_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string FEEID { get; set; }
|
|
|
|
|
public decimal? AMOUNT { get; set; }
|
|
|
|
|
public string BILLNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public int? CATEGORY { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public decimal? DOAMOUNT { get; set; }
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; }
|
|
|
|
|
public string FEENAME { get; set; }
|
|
|
|
|
public int? FEETYPE { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public decimal? ORIGAMOUNT { get; set; }
|
|
|
|
|
public string ORIGCURRENCY { get; set; }
|
|
|
|
|
public decimal? ORIGEXCHANGERATE { get; set; }
|
|
|
|
|
public decimal? ORIGSTLAMOUNT { get; set; }
|
|
|
|
|
public DateTime? SETTLETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("v_ch_fee_settlementinfo")]
|
|
|
|
|
public partial class v_ch_fee_settlementinfo_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; } = "";
|
|
|
|
|
//public byte[] _MASK_FROM_V2 { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; } = "";
|
|
|
|
|
public decimal? ACCTAXRATE { get; set; } = 0;
|
|
|
|
|
public decimal? AMOUNT { get; set; } = 0;
|
|
|
|
|
public DateTime? AUDITDATE { get; set; }
|
|
|
|
|
public string AUDITOPERATOR { get; set; } = "";
|
|
|
|
|
public int? AUDITSTATUS { get; set; } = 0;
|
|
|
|
|
public string BSNO { get; set; } = "";
|
|
|
|
|
public string BXGID { get; set; } = "";
|
|
|
|
|
public string CARGO_GID { get; set; } = "";
|
|
|
|
|
public string CHEQUENUM { get; set; } = "";
|
|
|
|
|
public decimal? COMMISSIONRATE { get; set; } = 0;
|
|
|
|
|
public string CURRENCY { get; set; } = "";
|
|
|
|
|
public bool? CUSTDUI { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; } = "";
|
|
|
|
|
public string CUSTOMERTYPE { get; set; } = "";
|
|
|
|
|
public string DEBITNO { get; set; } = "";
|
|
|
|
|
public string DELIVERYNO { get; set; } = "";
|
|
|
|
|
public DateTime? ENTERDATE { get; set; }
|
|
|
|
|
public string ENTEROPERATOR { get; set; } = "";
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; } = 0;
|
|
|
|
|
public string F_NO { get; set; } = "";
|
|
|
|
|
public string FEEDESCRIPTION { get; set; } = "";
|
|
|
|
|
public string FEEFRT { get; set; } = "";
|
|
|
|
|
public string FEENAME { get; set; } = "";
|
|
|
|
|
public int? FEESTATUS { get; set; } = 1;
|
|
|
|
|
public int? FEETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INPUTMODE { get; set; } = "";
|
|
|
|
|
public decimal? INVOICE { get; set; } = 0;
|
|
|
|
|
public string INVOICENUM { get; set; } = "";
|
|
|
|
|
public bool? ISACC { get; set; } = false;
|
|
|
|
|
public bool? ISADVANCEDPAY { get; set; } = false;
|
|
|
|
|
public bool? ISCRMORDERFEE { get; set; } = false;
|
|
|
|
|
public bool? ISDEBIT { get; set; } = false;
|
|
|
|
|
public bool? ISDJY { get; set; } = false;
|
|
|
|
|
public bool? ISINVOICE { get; set; } = false;
|
|
|
|
|
public bool? ISOPEN { get; set; } = false;
|
|
|
|
|
public bool? ISVOU { get; set; } = false;
|
|
|
|
|
public string JKGID { get; set; } = "";
|
|
|
|
|
public int? LINENUM { get; set; } = 0;
|
|
|
|
|
public string LOCALCURR { get; set; } = "";
|
|
|
|
|
public string MANAGER { get; set; } = "";
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; } = "";
|
|
|
|
|
public decimal? NOTAXAMOUNT { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERAMOUNT { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERINVOICE { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERINVSETTLEMENT { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERSETTLEMENT { get; set; } = 0;
|
|
|
|
|
public string PaymentGID { get; set; } = "";
|
|
|
|
|
public decimal? PREAMOUNT { get; set; }
|
|
|
|
|
public decimal? QUANTITY { get; set; }
|
|
|
|
|
public string REASON { get; set; } = "";
|
|
|
|
|
public string REMARK { get; set; } = "";
|
|
|
|
|
public string SALECORP { get; set; } = "";
|
|
|
|
|
public string SALESNO { get; set; } = "";
|
|
|
|
|
public decimal? SETTLEAMOUNT { get; set; }
|
|
|
|
|
public decimal? SETTLEMENT { get; set; }
|
|
|
|
|
public DateTime? SETTLETIME { get; set; }
|
|
|
|
|
public int? SORT { get; set; } = 0;
|
|
|
|
|
public string STATEMENTNO { get; set; } = "";
|
|
|
|
|
public DateTime? SUBMITDATE { get; set; }
|
|
|
|
|
public decimal? TAX { get; set; }
|
|
|
|
|
public decimal? TAXRATE { get; set; }
|
|
|
|
|
public decimal? TAXUNITPRICE { get; set; }
|
|
|
|
|
public string UNIT { get; set; } = "";
|
|
|
|
|
public decimal? UNITPRICE { get; set; }
|
|
|
|
|
public string VOUALLNO { get; set; } = "";
|
|
|
|
|
public string VOUCHERNO { get; set; } = "";
|
|
|
|
|
public string WMSOUTBSNO { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("ch_fee_payapplication")]
|
|
|
|
|
|
|
|
|
|
public partial class ch_fee_payapplication_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string BILLNO { get; set; }
|
|
|
|
|
public int? BILLSTATUS { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string CHEQUEPAYABLE { get; set; }
|
|
|
|
|
public int? SETTLETYPE { get; set; }
|
|
|
|
|
public DateTime? PAYABLETIME { get; set; }
|
|
|
|
|
public decimal? AMOUNTRMB { get; set; }
|
|
|
|
|
public decimal? RATE { get; set; }
|
|
|
|
|
public decimal? AMOUNTUSD { get; set; }
|
|
|
|
|
public decimal? SETTLERMB { get; set; }
|
|
|
|
|
public decimal? SETTLEUSD { get; set; }
|
|
|
|
|
public decimal? SETTLERATE { get; set; }
|
|
|
|
|
public string APPLICANT { get; set; }
|
|
|
|
|
public DateTime? APPLYTIME { get; set; }
|
|
|
|
|
public DateTime? ENTERTIME { get; set; }
|
|
|
|
|
public string SETTLEUSER { get; set; }
|
|
|
|
|
public DateTime? SETTLETIME { get; set; }
|
|
|
|
|
public string AUDITUSER { get; set; }
|
|
|
|
|
public DateTime? AUDITTIME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public string COMPANYID { get; set; }
|
|
|
|
|
public bool? ISAPP { get; set; }
|
|
|
|
|
public string PAYAPPID { get; set; }
|
|
|
|
|
public string CHEQUENUMREMARK { get; set; }
|
|
|
|
|
public string CURR { get; set; }
|
|
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
public DateTime? INVDATE { get; set; }
|
|
|
|
|
public string CUSTACCOUNTGID { get; set; }
|
|
|
|
|
public string PAYACCOUNTGID { get; set; }
|
|
|
|
|
public string BS_CUSTOMERNAME { get; set; }
|
|
|
|
|
public string PAYBANK { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
public decimal? PREAMOUNTRMB { get; set; }
|
|
|
|
|
public decimal? PREAMOUNTUSD { get; set; }
|
|
|
|
|
public string PAYTYPE { get; set; }
|
|
|
|
|
public string ISPRINT { get; set; }
|
|
|
|
|
public decimal? AMOUNTOT { get; set; }
|
|
|
|
|
public decimal? SETTLEOT { get; set; }
|
|
|
|
|
public decimal? PREAMOUNTOT { get; set; }
|
|
|
|
|
public int? WXPUSH { get; set; }
|
|
|
|
|
public string AUDITREMARK { get; set; }
|
|
|
|
|
public string REASON { get; set; }
|
|
|
|
|
public decimal? STLRATE { get; set; }
|
|
|
|
|
public decimal? STLAMOUNT { get; set; }
|
|
|
|
|
public string STLCURR { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public string WORKBILLNO { get; set; }
|
|
|
|
|
public int? PRINTCOUNT { get; set; }
|
|
|
|
|
public bool? ISREVINV { get; set; }
|
|
|
|
|
public DateTime? PRINTTIME { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("company")]
|
|
|
|
|
public class company_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string CODENAME { get; set; }
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
public string FULLNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ENNAME { get; set; }
|
|
|
|
|
public string ADDRESS { get; set; }
|
|
|
|
|
public string ENADDRESS { get; set; }
|
|
|
|
|
public string POSTCODE { get; set; }
|
|
|
|
|
public string OFFICEPHONE { get; set; }
|
|
|
|
|
public string FAX { get; set; }
|
|
|
|
|
public string EMAIL { get; set; }
|
|
|
|
|
public string WEBSITEURL { get; set; }
|
|
|
|
|
public string LICENSECODE { get; set; }
|
|
|
|
|
public string TAXCODE { get; set; }
|
|
|
|
|
public byte[] LOGO { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public bool? ISDELETED { get; set; }
|
|
|
|
|
public bool? ISDISABLE { get; set; }
|
|
|
|
|
public string PARENTID { get; set; }
|
|
|
|
|
public string BILLRISES { get; set; }
|
|
|
|
|
public string CHEQUEPAYABLE { get; set; }
|
|
|
|
|
public string PRTHEADXML1 { get; set; }
|
|
|
|
|
public string PRTHEADXML2 { get; set; }
|
|
|
|
|
public string PRTHEADXML3 { get; set; }
|
|
|
|
|
public string PRTHEADXML4 { get; set; }
|
|
|
|
|
public string PRTHEADXML5 { get; set; }
|
|
|
|
|
public string BANKSHEAD { get; set; }
|
|
|
|
|
public string GPSUser { get; set; }
|
|
|
|
|
public string GPSPassWord { get; set; }
|
|
|
|
|
public string ORGANIZATIONCODE { get; set; }
|
|
|
|
|
public string DBNAME { get; set; }
|
|
|
|
|
public string FTPURL { get; set; }
|
|
|
|
|
public string LOCALCURR { get; set; }
|
|
|
|
|
public string WORKFLOWMSG { get; set; }
|
|
|
|
|
public int? openCustom { get; set; }
|
|
|
|
|
public int? isDelegate { get; set; }
|
|
|
|
|
public int? allowOpenMark2 { get; set; }
|
|
|
|
|
public string TRADE_CODE { get; set; }
|
|
|
|
|
public string UNIT { get; set; }
|
|
|
|
|
public string VGMCODE { get; set; }
|
|
|
|
|
public string bxid { get; set; }
|
|
|
|
|
public DateTime? CLOSEETDDAY { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("ch_fee_invoice")]
|
|
|
|
|
public partial class ch_fee_invoice_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string ACCOUNT { get; set; }
|
|
|
|
|
public string ACTUALCUSTOMERNAME { get; set; }
|
|
|
|
|
public decimal? AMOUNT { get; set; }
|
|
|
|
|
public string AMOUNTCAPITAL { get; set; }
|
|
|
|
|
public string AMOUNTLIST { get; set; }
|
|
|
|
|
|
|
|
|
|
public string APPLICANT { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? APPLYTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BANK { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BILLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? BILLSTATUS { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CHECKER { get; set; }
|
|
|
|
|
|
|
|
|
|
public string COMPANYID { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CUSTADDR { get; set; }
|
|
|
|
|
public string CUSTADDRTEL { get; set; }
|
|
|
|
|
public string CUSTBANK { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CUSTRATENO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CUSTTEL { get; set; }
|
|
|
|
|
|
|
|
|
|
public string DELETEOPERATOR { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string DZSTATUS { get; set; }
|
|
|
|
|
|
|
|
|
|
public string EINVOICESTATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FEEAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FEEITEM { get; set; }
|
|
|
|
|
|
|
|
|
|
public decimal? INVAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
public long INVID { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVITERFACE { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? INVOICECATEGORY { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICECODE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICECUSTNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICEINFOURL { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICELINE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? INVOICEMAKETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICENO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICEPDFURL { get; set; }
|
|
|
|
|
|
|
|
|
|
public string INVOICESERIALNUM { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? INVOICETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? ISNEEDFEE { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool? ISNEEDPRINT { get; set; }
|
|
|
|
|
|
|
|
|
|
public string LICENSECODE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime? OPERATETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string OPERATOR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? OTCURRAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
public string PAYEE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string POD { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string POL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? PRINTAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PRINTCAPITAL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PRINTTITLE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string PTORRED { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PUSHEMAIL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PUSHMOBILE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PUSHMODE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string RECVCURR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string REDCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string REDNUM { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? SETRED { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TAXCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string VESSELVOYAGE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string VOUCHERNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("ch_fee_invoicedetail")]
|
|
|
|
|
public partial class ch_fee_invoicedetail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? AMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//public string DZGID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GOODCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string PID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? PRICE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal SerialNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SPEC { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? TAX { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? TAXPRICE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? TAXRATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string UNIT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("ch_fee_do")]
|
|
|
|
|
public partial class ch_fee_do_md
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? AMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string BILLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? BILLSTATUS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? BSTYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? CATEGORY { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string COMPANYID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? DOAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string FEEID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string FEENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int? FEETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string INVOICESETTLENO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? ISDELETED { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? ORIGAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ORIGCURRENCY { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? ORIGSTLAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("VW_user")]
|
|
|
|
|
public partial class VW_user_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
|
|
|
|
|
public string CODENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string COMPANYID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string companyname { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string deptgid { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DEPTNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DEPTNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string EMAIL1 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string mailsign { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//public string Role_Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SHOWNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string USERID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//public string WeChatAccount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("code_goods_inv")]
|
|
|
|
|
public partial class code_goods_inv_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DEFCURR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DEFREMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string DESCRIP { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GOODCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GOODNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string GoodsTypeGID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ISDEF { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool? ISSTOP { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ISTAXPRICE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ISUSEPREF { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string SPEC { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TAXCLASS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TAXCLASSNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string TAXNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? TAXRATE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string UNIT { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ZTAXTYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("code_goods")]
|
|
|
|
|
public partial class code_goods_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string GOODCODE { get; set; }
|
|
|
|
|
public string GOODNAME { get; set; }
|
|
|
|
|
public string DESCRIP { get; set; }
|
|
|
|
|
public decimal? ARRATE { get; set; }
|
|
|
|
|
public decimal? APRATE { get; set; }
|
|
|
|
|
public decimal? AROUTRATE { get; set; }
|
|
|
|
|
public decimal? APOUTRATE { get; set; }
|
|
|
|
|
public bool? ISSTOP { get; set; }
|
|
|
|
|
public string GoodsTypeGID { get; set; }
|
|
|
|
|
public string GOODNO { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string GOODSFEETYPE { get; set; }
|
|
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
public string RULEUNIT2 { get; set; }
|
|
|
|
|
public string RULEUNIT1 { get; set; }
|
|
|
|
|
public string ENAME { get; set; }
|
|
|
|
|
public string HSCODE { get; set; }
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("Receipt_Doc")]
|
|
|
|
|
public partial class Receipt_Doc_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string R_GID { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string URL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string Driect_URL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string RECEIPTTYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string documentAttachedCode { get; set; }
|
|
|
|
|
|
|
|
|
|
public string documentAttachedNo { get; set; }
|
|
|
|
|
public bool? ISPUBLIC { get; set; }
|
|
|
|
|
|
|
|
|
|
public Receipt_Doc_md()
|
|
|
|
|
{
|
|
|
|
|
GID = Guid.NewGuid().ToString();
|
|
|
|
|
ISPUBLIC = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Receipt_Doc_md(string _BSNO)
|
|
|
|
|
{
|
|
|
|
|
GID = Guid.NewGuid().ToString();
|
|
|
|
|
ISPUBLIC = true;
|
|
|
|
|
BSNO = _BSNO;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetFile(string url, string driect_url)
|
|
|
|
|
{
|
|
|
|
|
URL = url;
|
|
|
|
|
Driect_URL = driect_url;
|
|
|
|
|
}
|
|
|
|
|
public void SetFile(string userid, string docname, string url, string driect_url)
|
|
|
|
|
{
|
|
|
|
|
URL = url;
|
|
|
|
|
Driect_URL = driect_url;
|
|
|
|
|
RECEIPTTYPE = docname;
|
|
|
|
|
SetModify(userid);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetModify(string userid)
|
|
|
|
|
{
|
|
|
|
|
MODIFIEDUSER = userid;
|
|
|
|
|
MODIFIEDTIME = DateTime.Now;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 外键 => 导航属性,ManyToMany
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("wms_settlement_list")]
|
|
|
|
|
public partial class wms_settlement_list_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string DUINO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATE { get; set; }
|
|
|
|
|
public DateTime? ENDBILLINGDATE { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public bool? ISMAKEOUT { get; set; }
|
|
|
|
|
public string MAKEOUTUSER { get; set; }
|
|
|
|
|
public DateTime? MAKEOUTTIME { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public bool? ISLOCK { get; set; }
|
|
|
|
|
public string LOCKUSER { get; set; }
|
|
|
|
|
public DateTime? LOCKTIME { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("wms_settlement_detail")]
|
|
|
|
|
public partial class wms_settlement_detail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string DUIGID { get; set; }
|
|
|
|
|
public string DUINO { get; set; }
|
|
|
|
|
public string BLNO { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string WMSNO { get; set; }
|
|
|
|
|
public string OUTBSNO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string STORAGENAME { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string GOODSSTANDARD { get; set; }
|
|
|
|
|
public string GOODSGRADE { get; set; }
|
|
|
|
|
public DateTime? WMSDATE { get; set; }
|
|
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
public int? WMSDAYS { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATE_OUT { get; set; }
|
|
|
|
|
public DateTime? ENDBILLINGDATE_OUT { get; set; }
|
|
|
|
|
public decimal? GOODSOUTFEE { get; set; }
|
|
|
|
|
public decimal? GOODSPACK { get; set; }
|
|
|
|
|
public decimal? GOODSPACKACTUAL { get; set; }
|
|
|
|
|
public decimal? GOODSPACKPFSL { get; set; }
|
|
|
|
|
public decimal? GOODSPACKSTOCK { get; set; }
|
|
|
|
|
public decimal? GOODSRKSL { get; set; }
|
|
|
|
|
public decimal? GOODSRKSLACTUAL { get; set; }
|
|
|
|
|
public decimal? GOODSPFSL { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库存量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSSTOCK { get; set; }
|
|
|
|
|
public string CHARGEUNIT { get; set; }
|
|
|
|
|
public string REMARK_OUT { get; set; }
|
|
|
|
|
public int? FEETYPE { get; set; }
|
|
|
|
|
public int? FEEGRADE { get; set; }
|
|
|
|
|
public int? FEESCALE { get; set; }
|
|
|
|
|
public decimal? FEEPRICE { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATE { get; set; }
|
|
|
|
|
public DateTime? ENDBILLINGDATE { get; set; }
|
|
|
|
|
public int? FEEDAYS { get; set; }
|
|
|
|
|
public decimal? OUTFEE { get; set; }
|
|
|
|
|
public decimal? ARFEE { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public bool? ISMAKEOUT { get; set; }
|
|
|
|
|
public string MAKEOUTUSER { get; set; }
|
|
|
|
|
public DateTime? MAKEOUTTIME { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public int? LINENUM { get; set; }
|
|
|
|
|
public string GID_LINK { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public bool? ISLOCK { get; set; }
|
|
|
|
|
public string LOCKUSER { get; set; }
|
|
|
|
|
public DateTime? LOCKTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("OP_STATUS")]
|
|
|
|
|
public partial class op_status_md
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/* private string _ST_ID;//惟一编号
|
|
|
|
|
private string _BSNO;//业务编号
|
|
|
|
|
private string _STATUS;//业务状态
|
|
|
|
|
private string _ISCOMP;//是否完成
|
|
|
|
|
private DateTime _COMPTIME;//完成时间
|
|
|
|
|
private string _COMPOP;//完成人
|
|
|
|
|
private string _REMARK;//备注
|
|
|
|
|
private string _INPUTBY;//录入人
|
|
|
|
|
private string _ORDNO;//顺序号
|
|
|
|
|
private string _STATUS_OPSEAE;//对应op_seae状态字段*/
|
|
|
|
|
[Key]
|
|
|
|
|
public string ST_ID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string STATUS { get; set; }
|
|
|
|
|
public bool? ISCOMP { get; set; }
|
|
|
|
|
public DateTime? COMPTIME { get; set; }
|
|
|
|
|
public string COMPOP { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public DateTime? INPUTTIME { get; set; }
|
|
|
|
|
public int? ORDNO { get; set; }
|
|
|
|
|
public string STATUS_OPSEAE { get; set; }
|
|
|
|
|
public string STTYPE { get; set; }
|
|
|
|
|
public string ISOPEN { get; set; }
|
|
|
|
|
public DateTime? OPTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
public op_status_md()
|
|
|
|
|
{
|
|
|
|
|
ST_ID = Guid.NewGuid().ToString();
|
|
|
|
|
INPUTTIME = DateTime.Now;
|
|
|
|
|
STTYPE = "1";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public op_status_md(string BSNO)
|
|
|
|
|
{
|
|
|
|
|
ST_ID = Guid.NewGuid().ToString();
|
|
|
|
|
INPUTTIME = DateTime.Now;
|
|
|
|
|
this.BSNO = BSNO;
|
|
|
|
|
STTYPE = "1";
|
|
|
|
|
ISCOMP = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetStatus(string username, string status)
|
|
|
|
|
{
|
|
|
|
|
STATUS = status;
|
|
|
|
|
INPUTBY = username;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetComp(string username)
|
|
|
|
|
{
|
|
|
|
|
ISCOMP = true;
|
|
|
|
|
COMPTIME = DateTime.Now;
|
|
|
|
|
COMPOP = username;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetCompStatus(string username, string status)
|
|
|
|
|
{
|
|
|
|
|
SetStatus(username, status);
|
|
|
|
|
SetComp(username);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("code_issutype_edi")]
|
|
|
|
|
public partial class code_issutype_edi_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string BLTYPE { get; set; }
|
|
|
|
|
public string EDICODE { get; set; }
|
|
|
|
|
public string EDINAME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
}
|
|
|
|
|
[Table("code_country")]
|
|
|
|
|
public partial class code_country_md
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string COUNTRYID { get; set; }
|
|
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
public string CAPITAL { get; set; }
|
|
|
|
|
public string CHAU { get; set; }
|
|
|
|
|
public string EXPLAIN { get; set; }
|
|
|
|
|
public string COUNTRYID_3 { get; set; }
|
|
|
|
|
|
|
|
|
|
public byte? Tariff { get; set; }
|
|
|
|
|
public byte? Tonnagetax { get; set; }
|
|
|
|
|
public string COUNTRYENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
public string getCnName()
|
|
|
|
|
{
|
|
|
|
|
return COUNTRY.Replace(getEnName(), "").Replace("()", "");
|
|
|
|
|
}
|
|
|
|
|
public string getEnName()
|
|
|
|
|
{
|
|
|
|
|
var firstNumberBetweenBrackets = COUNTRY.Split('(', ')')[1];
|
|
|
|
|
return firstNumberBetweenBrackets;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("wms")]
|
|
|
|
|
public partial class wms_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string WMSNO { get; set; }
|
|
|
|
|
public DateTime? WMSDATE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string WMSOP { get; set; }
|
|
|
|
|
public string STOREMAN { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public string TRUCKNAME { get; set; }
|
|
|
|
|
public bool? ISLOCK { get; set; }
|
|
|
|
|
public string LOCKUSER { get; set; }
|
|
|
|
|
public DateTime? LOCKTIME { get; set; }
|
|
|
|
|
public decimal? GOODSPACK { get; set; }
|
|
|
|
|
public decimal? GOODSPACKSTOCK { get; set; }
|
|
|
|
|
public decimal? GOODSRKSL { get; set; }
|
|
|
|
|
public decimal? GOODSSTOCK { get; set; }
|
|
|
|
|
public decimal? ARFEE { get; set; }
|
|
|
|
|
public decimal? APFEE { get; set; }
|
|
|
|
|
public string ASSOCIATEDNO { get; set; }
|
|
|
|
|
public string BLNO { get; set; }
|
|
|
|
|
public int? FREESTORAGEPERIOD { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string CLIENTCODEOLD { get; set; }
|
|
|
|
|
public string CLIENTNAMEOLD { get; set; }
|
|
|
|
|
public string STORAGENAME { get; set; }
|
|
|
|
|
public string CHARGEUNIT { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATE { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string GOODSSTANDARD { get; set; }
|
|
|
|
|
public decimal? GOODSPACKACTUAL { get; set; }
|
|
|
|
|
public decimal? GOODSRKSLACTUAL { get; set; }
|
|
|
|
|
public string ARCLIENT { get; set; }
|
|
|
|
|
public int? FREESTORAGEPERIODAP { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATEAP { get; set; }
|
|
|
|
|
public bool? ISCHANGE { get; set; }
|
|
|
|
|
public string AREANAME { get; set; }
|
|
|
|
|
public decimal? MARKETVALUE { get; set; }
|
|
|
|
|
public decimal? BANKVALUE { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string CLIENTBSNO { get; set; }
|
|
|
|
|
public string CARGOGID { get; set; }
|
|
|
|
|
public string CARGO_GID { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string BZTCHNO { get; set; }
|
|
|
|
|
public string putintype { get; set; }
|
|
|
|
|
public string WHS_CODE { get; set; }
|
|
|
|
|
public string GOODSNAMEID { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
public bool ISLOCK2 { get; set; } = false;
|
|
|
|
|
public string PICIHAO { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public decimal? TiDanJianShu { get; set; }
|
|
|
|
|
public decimal? TiDanZhongLiang { get; set; }
|
|
|
|
|
public decimal? GOODSKGS { get; set; }
|
|
|
|
|
public string FilePath { get; set; }
|
|
|
|
|
public string REMARKS { get; set; }
|
|
|
|
|
public string COMPANY { get; set; }
|
|
|
|
|
public string Factory { get; set; }
|
|
|
|
|
public string Driver { get; set; }
|
|
|
|
|
public string TruckNo { get; set; }
|
|
|
|
|
public bool? EIP { get; set; }
|
|
|
|
|
public string WET { get; set; }
|
|
|
|
|
public decimal? RENTAREA { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("wms_in")]
|
|
|
|
|
public partial class wms_in_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string ASSOCIATEDNO { get; set; }
|
|
|
|
|
public string BLNO { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
public string SEALNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string CLIENTCODE { get; set; }
|
|
|
|
|
public string CLIENTNAME { get; set; }
|
|
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
public string STORAGECODE { get; set; }
|
|
|
|
|
public string STORAGENAME { get; set; }
|
|
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
public string AREANAME { get; set; }
|
|
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSTYPE { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string GOODSSTANDARD { get; set; }
|
|
|
|
|
public decimal? GOODSPACK { get; set; }
|
|
|
|
|
public string CHARGEUNIT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSRKSL { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库存量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSSTOCK { get; set; }
|
|
|
|
|
public int? FREESTORAGEPERIOD { get; set; }
|
|
|
|
|
public bool? ISLOCK { get; set; }
|
|
|
|
|
public DateTime? LOCKTIME { get; set; }
|
|
|
|
|
public string LOCKUSER { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public decimal? GOODSPACKSTOCK { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSKGS { get; set; }
|
|
|
|
|
public string CLIENTCODEOLD { get; set; }
|
|
|
|
|
public string CLIENTNAMEOLD { get; set; }
|
|
|
|
|
public decimal? ARFEE { get; set; }
|
|
|
|
|
public decimal? APFEE { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string CTNALL { get; set; }
|
|
|
|
|
public decimal? GOODSTHICKNESS { get; set; }
|
|
|
|
|
public decimal? GOODSWIDTH { get; set; }
|
|
|
|
|
public decimal? GOODSLENGTH { get; set; }
|
|
|
|
|
public decimal? GOODSSLICE { get; set; }
|
|
|
|
|
public string GOODSGRADE { get; set; }
|
|
|
|
|
public string STACKLOCATION { get; set; }
|
|
|
|
|
public decimal? GOODSPACKACTUAL { get; set; }
|
|
|
|
|
public decimal? GOODSRKSLACTUAL { get; set; }
|
|
|
|
|
public bool? ISCHANGE { get; set; }
|
|
|
|
|
public decimal? MARKETVALUE { get; set; }
|
|
|
|
|
public decimal? BANKVALUE { get; set; }
|
|
|
|
|
public int? LINENUM { get; set; }
|
|
|
|
|
public string GOODSNAMEID { get; set; }
|
|
|
|
|
public string PICIHAO { get; set; }
|
|
|
|
|
public bool ISLOCK2 { get; set; } = false;
|
|
|
|
|
public string XIANGHAO2 { get; set; }
|
|
|
|
|
public decimal? JIANSHU2 { get; set; }
|
|
|
|
|
public string ZHUANGXIEGONGID { get; set; }
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
public double LUYUNFEI { get; set; }
|
|
|
|
|
public double DIAOTOUFEI { get; set; }
|
|
|
|
|
public double XIUXIXIANGFEI { get; set; }
|
|
|
|
|
public double DIAOZHUANGFEI { get; set; }
|
|
|
|
|
public string CHEDUIID { get; set; }
|
|
|
|
|
public double CHIMA1 { get; set; }
|
|
|
|
|
public double CHIMA2 { get; set; }
|
|
|
|
|
public decimal? ZHONGLIANG2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实际重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double SHIJIZHONGLIANG { get; set; }
|
|
|
|
|
public double SHIJICHIMA { get; set; }
|
|
|
|
|
public decimal? JIANSHU1 { get; set; }
|
|
|
|
|
public decimal? ZhuangXieFei { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public string ZhuangXieFeeType { get; set; }
|
|
|
|
|
public string COUNTRYID { get; set; }
|
|
|
|
|
public string dock { get; set; }
|
|
|
|
|
public decimal? LinShiZhuangXieFeiDanJiaDun { get; set; }
|
|
|
|
|
public decimal? LinShiZhuangXieFeiDanJiaJian { get; set; }
|
|
|
|
|
public string Productiondate { get; set; }
|
|
|
|
|
public string FactoryNo { get; set; }
|
|
|
|
|
public string TrayNo { get; set; }
|
|
|
|
|
public decimal? LOADERFEE { get; set; }
|
|
|
|
|
public string INVOICENO { get; set; }
|
|
|
|
|
public string BZTCHNO { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("wms_out")]
|
|
|
|
|
public partial class wms_out_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string ASSOCIATEDNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string CLIENTGID { get; set; }
|
|
|
|
|
public string CLIENTCODE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
public string STORAGECODE { get; set; }
|
|
|
|
|
public string STORAGENAME { get; set; }
|
|
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
public string AREANAME { get; set; }
|
|
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSTYPE { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string GOODSSTANDARD { get; set; }
|
|
|
|
|
public string GOODSPACK { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSPFSL { get; set; }
|
|
|
|
|
public decimal? GOODSOUTFEE { get; set; }
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public bool? ISDELETE { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSPACKPFSL { get; set; }
|
|
|
|
|
public string TRUCKNAME { get; set; }
|
|
|
|
|
public string WMSOP { get; set; }
|
|
|
|
|
public string STOREMAN { get; set; }
|
|
|
|
|
public bool? ISLOCK { get; set; }
|
|
|
|
|
public string LOCKUSER { get; set; }
|
|
|
|
|
public DateTime? LOCKTIME { get; set; }
|
|
|
|
|
public decimal? GOODSOUTFEEAP { get; set; }
|
|
|
|
|
public decimal? ARFEE { get; set; }
|
|
|
|
|
public decimal? APFEE { get; set; }
|
|
|
|
|
public string INSPECTIONNO { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string CLIENTNAMEOLD { get; set; }
|
|
|
|
|
public DateTime? OLDCUSTFEEDATE { get; set; }
|
|
|
|
|
public string CLIENTBSNO { get; set; }
|
|
|
|
|
public string ARCLIENT { get; set; }
|
|
|
|
|
public string INGIDNEW { get; set; }
|
|
|
|
|
public string TOTALNO { get; set; }
|
|
|
|
|
public string REMARK2 { get; set; }
|
|
|
|
|
public DateTime? VALIDDATE { get; set; }
|
|
|
|
|
public string CHARGEUNIT { get; set; }
|
|
|
|
|
public string MBLNONEW { get; set; }
|
|
|
|
|
public bool? ISCHANGE { get; set; }
|
|
|
|
|
public decimal? MARKETVALUE { get; set; }
|
|
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
public string BZTCHNO { get; set; }
|
|
|
|
|
public byte? WMSOUTSTATUS { get; set; }
|
|
|
|
|
public string WHS_CODE { get; set; }
|
|
|
|
|
public string GOODSNAMEID { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
public decimal? ARFEE_2 { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public bool? ISCOLLECTING { get; set; }
|
|
|
|
|
public string FilePath { get; set; }
|
|
|
|
|
public string EXPRESSEXNO { get; set; }
|
|
|
|
|
public string EXPRESSCORP { get; set; }
|
|
|
|
|
public string IsDetail { get; set; }
|
|
|
|
|
public string SaleContract { get; set; }
|
|
|
|
|
public bool? EIP { get; set; }
|
|
|
|
|
public decimal? zhuangxiefei { get; set; }
|
|
|
|
|
public string QUOTANO { get; set; }
|
|
|
|
|
public decimal? RENTAREA { get; set; }
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
public decimal? KGS_OUT { get; set; }
|
|
|
|
|
public decimal? PKGS_OUT { get; set; }
|
|
|
|
|
public decimal? CBM_OUT { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public string COUNTRYOFORIGIN { get; set; }
|
|
|
|
|
|
|
|
|
|
public void SetSum(List<wms_out_detail_md> outdetaillist)
|
|
|
|
|
{
|
|
|
|
|
GOODSPFSL = outdetaillist.Sum(s => s.GOODSPFSL);
|
|
|
|
|
GOODSPACKPFSL = outdetaillist.Sum(s => s.GOODSPACKPFSL);
|
|
|
|
|
PKGS_OUT = GOODSPACKPFSL;
|
|
|
|
|
KGS_OUT = outdetaillist.Sum(s => s.GOODSKGS);
|
|
|
|
|
if (CHARGEUNIT == "CBM")
|
|
|
|
|
{
|
|
|
|
|
CBM_OUT = GOODSPFSL;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
CBM_OUT = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("wms_out_detail")]
|
|
|
|
|
public partial class wms_out_detail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string INBSNO { get; set; }
|
|
|
|
|
public string OUTBSNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string CLIENTGID { get; set; }
|
|
|
|
|
public string CLIENTCODE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
public string STORAGECODE { get; set; }
|
|
|
|
|
public string STORAGENAME { get; set; }
|
|
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
public string AREANAME { get; set; }
|
|
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSTYPE { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string GOODSSTANDARD { get; set; }
|
|
|
|
|
public string GOODSPACK { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费单位 吨/千克/CBM/箱/件
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CHARGEUNIT { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSPFSL { get; set; }
|
|
|
|
|
public decimal? GOODSOUTFEE { get; set; }
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string ASSOCIATEDNO { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal? GOODSPACKPFSL { get; set; }
|
|
|
|
|
public decimal? ARFEE { get; set; }
|
|
|
|
|
public decimal? APFEE { get; set; }
|
|
|
|
|
public bool? ISLOCK { get; set; }
|
|
|
|
|
public string LOCKUSER { get; set; }
|
|
|
|
|
public DateTime? LOCKTIME { get; set; }
|
|
|
|
|
public decimal? GOODSOUTFEEAP { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string CLIENTNAMEOLD { get; set; }
|
|
|
|
|
public DateTime? OLDCUSTFEEDATE { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATE { get; set; }
|
|
|
|
|
public DateTime? ENDBILLINGDATE { get; set; }
|
|
|
|
|
public int? FEEDAYS { get; set; }
|
|
|
|
|
public decimal? GOODSSLICE { get; set; }
|
|
|
|
|
public string GOODSGRADE { get; set; }
|
|
|
|
|
public DateTime? STARTBILLINGDATEAP { get; set; }
|
|
|
|
|
public DateTime? ENDBILLINGDATEAP { get; set; }
|
|
|
|
|
public int? FEEDAYSAP { get; set; }
|
|
|
|
|
public bool? ISCHANGE { get; set; }
|
|
|
|
|
public decimal? MARKETVALUE { get; set; }
|
|
|
|
|
public string BZTCHNO { get; set; }
|
|
|
|
|
public string WHS_CODE { get; set; }
|
|
|
|
|
public string GOODSNAMEID { get; set; }
|
|
|
|
|
public string TRUCKTYPE { get; set; }
|
|
|
|
|
public string ZHUANGXIEGONGID { get; set; }
|
|
|
|
|
public decimal? TRUCKKGS { get; set; }
|
|
|
|
|
public decimal? ARFEE_2 { get; set; }
|
|
|
|
|
public string QianFengNO { get; set; }
|
|
|
|
|
public decimal? GOODSKGS { get; set; }
|
|
|
|
|
public decimal? ZHONGLIANG2 { get; set; }
|
|
|
|
|
public string TRGID { get; set; }
|
|
|
|
|
public string TrayNo { get; set; }
|
|
|
|
|
public string CntrNo { get; set; }
|
|
|
|
|
public string SealNo { get; set; }
|
|
|
|
|
public decimal? zhuangxiefei { get; set; }
|
|
|
|
|
public string DRIVERIDCARD { get; set; }
|
|
|
|
|
public decimal? LOADERFEE { get; set; }
|
|
|
|
|
public string GOODSCKQSTOCK { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 暂时只用于查询出库相关库存在入库单和入库单明细中的提单号箱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Table("VW_WMS_OUT_DETAIL")]
|
|
|
|
|
public partial class VW_WMS_OUT_DETAIL_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID_OUT { get; set; }
|
|
|
|
|
public string BLNO { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string GOODSNAME_OUT { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("workflow_type")]
|
|
|
|
|
public class workflow_type_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 英文名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型序列号 数字
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? TYPENO { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("workflow")]
|
|
|
|
|
public partial class workflow_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public string MODULEID { get; set; }
|
|
|
|
|
public int? TYPE { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public int? STATE { get; set; }
|
|
|
|
|
public int? SORT { get; set; }
|
|
|
|
|
public int? ISDELETE { get; set; }
|
|
|
|
|
public string COMPANYID { get; set; }
|
|
|
|
|
public string DEPTGID { get; set; }
|
|
|
|
|
public string TASKURL { get; set; }
|
|
|
|
|
public Byte ISDEFAULT { get; set; }
|
|
|
|
|
public bool ISCONDITION { get; set; }
|
|
|
|
|
public string CONDITIONSQL { get; set; }
|
|
|
|
|
public Byte? SORTNO { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("workflow_step")]
|
|
|
|
|
public partial class workflow_step_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public string WORKFLOWID { get; set; }
|
|
|
|
|
public int? STEPNO { get; set; }
|
|
|
|
|
public string DEFAULTAUDITOR { get; set; }
|
|
|
|
|
public string AUDITOR { get; set; }
|
|
|
|
|
public string CONDITIONID { get; set; }
|
|
|
|
|
public bool? NEEDALLPASS { get; set; }
|
|
|
|
|
public bool? ISMUST { get; set; }
|
|
|
|
|
public bool? ISLAST { get; set; }
|
|
|
|
|
public string GROUPID { get; set; }
|
|
|
|
|
public string NextGROUP { get; set; }
|
|
|
|
|
public string NextSTEPNO { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public bool? ISPARALLEL { get; set; }
|
|
|
|
|
public bool? ISDEPARTMENT { get; set; }
|
|
|
|
|
public string DEPARTMENTID { get; set; }
|
|
|
|
|
public string TASKURL { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("workflow_UserPath")]
|
|
|
|
|
public partial class workflow_UserPath_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public Int32 id { get; set; }
|
|
|
|
|
public string USERID { get; set; }
|
|
|
|
|
public string workflowTypeNO { get; set; }
|
|
|
|
|
public string workflowID { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("BillCheckOut")]
|
|
|
|
|
public partial class BillCheckOut_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string CHECKOUTNO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; } = DateTime.Now;
|
|
|
|
|
public string MODIFIER { get; set; }
|
|
|
|
|
public DateTime? MODIFYTIME { get; set; } = DateTime.Now;
|
|
|
|
|
public bool? SENDED { get; set; } = false;
|
|
|
|
|
public string SENDER { get; set; }
|
|
|
|
|
public DateTime? SENDTIME { get; set; }
|
|
|
|
|
public string RECEIVER { get; set; }
|
|
|
|
|
public string RECEIVEEMAIL { get; set; }
|
|
|
|
|
public bool? ISCHECKOUT { get; set; } = false;
|
|
|
|
|
public DateTime? CHECKOUTTIME { get; set; }
|
|
|
|
|
public string CHECKOUTUSER { get; set; }
|
|
|
|
|
public string MAILPDFURL { get; set; }
|
|
|
|
|
public string SIGNPDFURL { get; set; }
|
|
|
|
|
public string SENDEREMAIL { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("BillCheckOut_Detail")]
|
|
|
|
|
public partial class BillCheckOut_Detail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string LINKGID { get; set; }
|
|
|
|
|
public string CHECKOUTNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("VW_BillCheckOut_Detail")]
|
|
|
|
|
public partial class VW_BillCheckOut_Detail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string LINKGID { get; set; }
|
|
|
|
|
public string CHECKOUTNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("VW_CustNoQC")]
|
|
|
|
|
public partial class VW_CustNoQC_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string ETD { get; set; }
|
|
|
|
|
public string ISSUETYPE { get; set; }
|
|
|
|
|
public string op_status { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("VW_BILL_BLISSUE_WORKLOG")]
|
|
|
|
|
public partial class VW_BILL_BLISSUE_WORKLOG_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string DOBSNO { get; set; }
|
|
|
|
|
public DateTime? OPDATE { get; set; }
|
|
|
|
|
public string ACTNAME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("WorkLog")]
|
|
|
|
|
public partial class WorkLog_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public DateTime? OPDATE { get; set; }
|
|
|
|
|
public string ACTNAME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string ACTRESULT { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("user")]
|
|
|
|
|
public class User
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string USERNAME { get; set; }
|
|
|
|
|
public string CODENAME { get; set; }
|
|
|
|
|
public string PASSWORD { get; set; }
|
|
|
|
|
public string SHOWNAME { get; set; }
|
|
|
|
|
public DateTime? ENROLLTIME { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public bool? ISDELETED { get; set; }
|
|
|
|
|
public bool? ISDISABLE { get; set; }
|
|
|
|
|
public string DELETEUSER { get; set; }
|
|
|
|
|
public DateTime? DELETETIME { get; set; }
|
|
|
|
|
public string NOCODE { get; set; }
|
|
|
|
|
public string OPENID { get; set; }
|
|
|
|
|
public string WeChatAccount { get; set; }
|
|
|
|
|
public string DingTalkAccount { get; set; }
|
|
|
|
|
public string CWUSERNAME { get; set; }
|
|
|
|
|
public string CWPASSWORD { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("sys_billno_set")]
|
|
|
|
|
public class SysBillNoSet
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string OPLBNAME { get; set; }
|
|
|
|
|
public string RULEBLNO { get; set; }
|
|
|
|
|
public string RULEDATETYPE { get; set; }
|
|
|
|
|
public string BILLTYPE { get; set; }
|
|
|
|
|
public string COMPANYID { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string ISEDIT { get; set; }
|
|
|
|
|
public string ISAUTO { get; set; }
|
|
|
|
|
public string CUSTOMHEAD { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("code_cust_edi")]
|
|
|
|
|
public class CodeCustEdi
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string CUST { get; set; }
|
|
|
|
|
public string EDICODE { get; set; }
|
|
|
|
|
public string EDINAME { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目前仅用来,通过DJYID判断业务是否存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
//[Table("op_seae")]
|
|
|
|
|
//public class op_seae_md
|
|
|
|
|
//{
|
|
|
|
|
// [Key]
|
|
|
|
|
// public string BSNO { get; set; }
|
|
|
|
|
// public string MASTERNO { get; set; }
|
|
|
|
|
// public long? DJYID { get; set; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
[Table("op_seae")]
|
|
|
|
|
public class opseae_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string MASTERNO { get; set; }
|
|
|
|
|
public bool? BSSTATUS { get; set; }
|
|
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
public DateTime? BSDATE { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string TRANSNO { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string BLTYPE { get; set; }
|
|
|
|
|
public string SHIPPERID { get; set; }
|
|
|
|
|
public string CONSIGNEEID { get; set; }
|
|
|
|
|
public string NOTIFYPARTYID { get; set; }
|
|
|
|
|
public string SHIPPER { get; set; }
|
|
|
|
|
public string CONSIGNEE { get; set; }
|
|
|
|
|
public string NOTIFYPARTY { get; set; }
|
|
|
|
|
public string AGENTID { get; set; }
|
|
|
|
|
public string AGENT { get; set; }
|
|
|
|
|
public string YARD { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
public DateTime? CLOSINGDATE { get; set; }
|
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
public string PlACERECEIPT { get; set; }
|
|
|
|
|
public string PORTLOADID { get; set; }
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
public string PORTDISCHARGEID { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
public string PLACEDELIVERYID { get; set; }
|
|
|
|
|
public string PLACEDELIVERY { get; set; }
|
|
|
|
|
public string DESTINATIONID { get; set; }
|
|
|
|
|
public string DESTINATION { get; set; }
|
|
|
|
|
public string NOBILL { get; set; }
|
|
|
|
|
public string ISSUETYPE { get; set; }
|
|
|
|
|
public DateTime? ISSUEDATE { get; set; }
|
|
|
|
|
public string ISSUEPLACE { get; set; }
|
|
|
|
|
public string BLFRT { get; set; }
|
|
|
|
|
public string PREPARDAT { get; set; }
|
|
|
|
|
public string PAYABLEAT { get; set; }
|
|
|
|
|
public string SERVICE { get; set; }
|
|
|
|
|
public string MARKS { get; set; }
|
|
|
|
|
public string CNTRSEALNO { get; set; }
|
|
|
|
|
public string NOPKGS { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GROSSWEIGHT { get; set; }
|
|
|
|
|
public string MEASUREMENT { get; set; }
|
|
|
|
|
public int? PKGS { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public string TOTALNO { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
public int? CNTR1 { get; set; }
|
|
|
|
|
public int? CNTR2 { get; set; }
|
|
|
|
|
public int? CNTR3 { get; set; }
|
|
|
|
|
public int? CNTR4 { get; set; }
|
|
|
|
|
public int? CNTR5 { get; set; }
|
|
|
|
|
public int? CNTR6 { get; set; }
|
|
|
|
|
public int? CNTR7 { get; set; }
|
|
|
|
|
public int? CNTR8 { get; set; }
|
|
|
|
|
public int? CNTR9 { get; set; }
|
|
|
|
|
public int? CNTR10 { get; set; }
|
|
|
|
|
public int? OTCNTR { get; set; }
|
|
|
|
|
public int? TEU { get; set; }
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public string CUSTSERVICE { get; set; }
|
|
|
|
|
public string LANE { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
public string FORWARDER { get; set; }
|
|
|
|
|
public string CUSTOMSER { get; set; }
|
|
|
|
|
public string TRUCKER { get; set; }
|
|
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
public string CARGOID { get; set; }
|
|
|
|
|
public string DCLASS { get; set; }
|
|
|
|
|
public string DUNNO { get; set; }
|
|
|
|
|
public string REEFERF { get; set; }
|
|
|
|
|
public string TEMPID { get; set; }
|
|
|
|
|
public string TEMPSET { get; set; }
|
|
|
|
|
public string TEMPMAX { get; set; }
|
|
|
|
|
public string TEMPMIN { get; set; }
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
public Int16? CUSTOMSNUM { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string ORDTYPE { get; set; }
|
|
|
|
|
public string ORDERNO { get; set; }
|
|
|
|
|
public string INSURANCEER { get; set; }
|
|
|
|
|
public string INSURANCENO { get; set; }
|
|
|
|
|
public decimal? INAMOUT { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public bool? STATUS1 { get; set; }
|
|
|
|
|
public bool? STATUS2 { get; set; }
|
|
|
|
|
public bool? STATUS3 { get; set; }
|
|
|
|
|
public bool? STATUS4 { get; set; }
|
|
|
|
|
public bool? STATUS5 { get; set; }
|
|
|
|
|
public bool? ISFUMIGATION { get; set; }
|
|
|
|
|
public bool? ISSTORAGE { get; set; }
|
|
|
|
|
public bool? ISLAND { get; set; }
|
|
|
|
|
public bool? ISCUSTOMS { get; set; }
|
|
|
|
|
public bool? ISINSPECTION { get; set; }
|
|
|
|
|
public bool? ISBOOKING { get; set; }
|
|
|
|
|
public bool? ISAGENT { get; set; }
|
|
|
|
|
public bool? ISHBLNO { get; set; }
|
|
|
|
|
public bool? SERVICE9 { get; set; }
|
|
|
|
|
public bool? SERVICE10 { get; set; }
|
|
|
|
|
public string DOC { get; set; }
|
|
|
|
|
public string PACKINGTYPE { get; set; }
|
|
|
|
|
public string WAREHOUSE { get; set; }
|
|
|
|
|
public DateTime? CLOSEDOCDATE { get; set; }
|
|
|
|
|
public DateTime? INTOPORTDATE { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string SALEDEPT { get; set; }
|
|
|
|
|
public string MBLFRT { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
public DateTime? STLDATE { get; set; }
|
|
|
|
|
public string ORDERTYPE { get; set; }
|
|
|
|
|
public string OPERATORCODE { get; set; }
|
|
|
|
|
public string OPERATOR { get; set; }
|
|
|
|
|
public string OPERATOREMAIL { get; set; }
|
|
|
|
|
public string OPERATORTEL { get; set; }
|
|
|
|
|
public string OPERATORFAX { get; set; }
|
|
|
|
|
public string FINANCIALSTAFFCODE { get; set; }
|
|
|
|
|
public string FINANCIALSTAFF { get; set; }
|
|
|
|
|
public string FINANCIALSTAFFEMAIL { get; set; }
|
|
|
|
|
public string FINANCIALSTAFFTEL { get; set; }
|
|
|
|
|
public string FINANCIALSTAFFFAX { get; set; }
|
|
|
|
|
public string PLACERECEIPTID { get; set; }
|
|
|
|
|
public string SOURCECODE { get; set; }
|
|
|
|
|
public bool? ISCONTAINERSOC { get; set; }
|
|
|
|
|
public string DPAGE { get; set; }
|
|
|
|
|
public string DLABEL { get; set; }
|
|
|
|
|
public string LINKMAN { get; set; }
|
|
|
|
|
public string VESSELID { get; set; }
|
|
|
|
|
public string ISSUEPLACEID { get; set; }
|
|
|
|
|
public string HSCODE { get; set; }
|
|
|
|
|
public string TRANSTATUS { get; set; }
|
|
|
|
|
public string EDIREMARK { get; set; }
|
|
|
|
|
public string MANIFESTSTATUS { get; set; }
|
|
|
|
|
public string SERVICECONTRACTNO { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string ENTERPID { get; set; }
|
|
|
|
|
public string ENTERP { get; set; }
|
|
|
|
|
public string INSPECTIONNO { get; set; }
|
|
|
|
|
public DateTime? INSPECTIONDATE { get; set; }
|
|
|
|
|
public DateTime? CUSTOMDATE { get; set; }
|
|
|
|
|
public string TRADETERM { get; set; }
|
|
|
|
|
public DateTime? CLEARCUSTOMDATE { get; set; }
|
|
|
|
|
public bool? ISMOREGOOD { get; set; }
|
|
|
|
|
public string TERMSDELIVERY { get; set; }
|
|
|
|
|
public string INSPECTSERVICE { get; set; }
|
|
|
|
|
public string SHIPAGENCY { get; set; }
|
|
|
|
|
public string ISPRINTPR { get; set; }
|
|
|
|
|
public string COPYNOBILL { get; set; }
|
|
|
|
|
public string BLISSUESTATUS { get; set; }
|
|
|
|
|
public string APPLYNO { get; set; }
|
|
|
|
|
public string HUMIDITY { get; set; }
|
|
|
|
|
public string ISCANCEL { get; set; }
|
|
|
|
|
public string MSHIPPERID { get; set; }
|
|
|
|
|
public string MCONSIGNEEID { get; set; }
|
|
|
|
|
public string MNOTIFYPARTYID { get; set; }
|
|
|
|
|
public string MSHIPPER { get; set; }
|
|
|
|
|
public string MCONSIGNEE { get; set; }
|
|
|
|
|
public string MNOTIFYPARTY { get; set; }
|
|
|
|
|
public DateTime? ATD { get; set; }
|
|
|
|
|
public string VESSEL2N { get; set; }
|
|
|
|
|
public string VOYNO2N { get; set; }
|
|
|
|
|
public string VESSELID2N { get; set; }
|
|
|
|
|
public string ISTUI { get; set; }
|
|
|
|
|
public DateTime? DELIVERYDATE { get; set; }
|
|
|
|
|
public string FRCUSTSERVICE { get; set; }
|
|
|
|
|
public string YARDATTN { get; set; }
|
|
|
|
|
public string YARDTEL { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public string TRANSPORT { get; set; }
|
|
|
|
|
public string MAILPROJECT { get; set; }
|
|
|
|
|
public bool? ISGAIQIAN { get; set; }
|
|
|
|
|
public int? WARNCOUNT { get; set; }
|
|
|
|
|
public bool? IsBookingYDW { get; set; }
|
|
|
|
|
public DateTime? YDWUpdate { get; set; }
|
|
|
|
|
public string TRUCKSTATUS { get; set; }
|
|
|
|
|
public string TRANSREMARK { get; set; }
|
|
|
|
|
public int? PRERECORD { get; set; }
|
|
|
|
|
public string PREPARDATID { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public string MDESCRIPTION { get; set; }
|
|
|
|
|
public string IRCODE { get; set; }
|
|
|
|
|
public long? DJYID { get; set; }
|
|
|
|
|
public DateTime? PRINTTIME { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("op_seae_edi")]
|
|
|
|
|
public partial class op_seae_edi_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string MFNO { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string MASTERNO { get; set; }
|
|
|
|
|
public string EDITYPE { get; set; }
|
|
|
|
|
public string EDISTATUS { get; set; }
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public string INPUTDATE { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
public string SHIPPERNAME { get; set; }
|
|
|
|
|
public string SHIPPERADDR1 { get; set; }
|
|
|
|
|
public string SHIPPERADDR2 { get; set; }
|
|
|
|
|
public string SHIPPERADDR3 { get; set; }
|
|
|
|
|
public string SHIPPERCITY { get; set; }
|
|
|
|
|
public string SHIPPERPROVINCE { get; set; }
|
|
|
|
|
public string SHIPPERPOSTCODE { get; set; }
|
|
|
|
|
public string SHIPPERCOUNTRY { get; set; }
|
|
|
|
|
public string SHIPPERATTN { get; set; }
|
|
|
|
|
public string SHIPPERTEL { get; set; }
|
|
|
|
|
public string CONSIGNEENAME { get; set; }
|
|
|
|
|
public string CONSIGNEEADDR1 { get; set; }
|
|
|
|
|
public string CONSIGNEEADDR2 { get; set; }
|
|
|
|
|
public string CONSIGNEEADDR3 { get; set; }
|
|
|
|
|
public string CONSIGNEECITY { get; set; }
|
|
|
|
|
public string CONSIGNEEPROVINCE { get; set; }
|
|
|
|
|
public string CONSIGNEEPOSTCODE { get; set; }
|
|
|
|
|
public string CONSIGNEECOUNTRY { get; set; }
|
|
|
|
|
public string CONSIGNEEATTN { get; set; }
|
|
|
|
|
public string CONSIGNEETEL { get; set; }
|
|
|
|
|
public string NOTIFYPARTYNAME { get; set; }
|
|
|
|
|
public string NOTIFYPARTYADDR1 { get; set; }
|
|
|
|
|
public string NOTIFYPARTYADDR2 { get; set; }
|
|
|
|
|
public string NOTIFYPARTYADDR3 { get; set; }
|
|
|
|
|
public string NOTIFYPARTYCITY { get; set; }
|
|
|
|
|
public string NOTIFYPARTYPROVINCE { get; set; }
|
|
|
|
|
public string NOTIFYPARTYPOSTCODE { get; set; }
|
|
|
|
|
public string NOTIFYPARTYCOUNTRY { get; set; }
|
|
|
|
|
public string NOTIFYPARTYATTN { get; set; }
|
|
|
|
|
public string NOTIFYPARTYTEL { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2NAME { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2ADDR1 { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2ADDR2 { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2ADDR3 { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2CITY { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2PROVINCE { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2POSTCODE { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2COUNTRY { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2ATTN { get; set; }
|
|
|
|
|
public string NOTIFYPARTY2TEL { get; set; }
|
|
|
|
|
public string SHIPPER { get; set; }
|
|
|
|
|
public string CONSIGNEE { get; set; }
|
|
|
|
|
public string NOTIFYPARTY { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
public string PORTLOADID { get; set; }
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
public string PORTDISCHARGEID { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
public string PLACEDELIVERYID { get; set; }
|
|
|
|
|
public string PLACEDELIVERY { get; set; }
|
|
|
|
|
public string DESTINATIONID { get; set; }
|
|
|
|
|
public string DESTINATION { get; set; }
|
|
|
|
|
public string SERVICE { get; set; }
|
|
|
|
|
public string MARKS { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public int? PKGS { get; set; } = 0;
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; } = 0M;
|
|
|
|
|
public decimal? CBM { get; set; } = 0M;
|
|
|
|
|
public string CARGOID { get; set; }
|
|
|
|
|
public string DCLASS { get; set; }
|
|
|
|
|
public string DUNNO { get; set; }
|
|
|
|
|
public string REEFERF { get; set; }
|
|
|
|
|
public string TEMPID { get; set; }
|
|
|
|
|
public string TEMPSET { get; set; }
|
|
|
|
|
public string TEMPMAX { get; set; }
|
|
|
|
|
public string TEMPMIN { get; set; }
|
|
|
|
|
public string FREIGHTAGMNO { get; set; }
|
|
|
|
|
public string HUMIDITY { get; set; }
|
|
|
|
|
public string SHIPIMO { get; set; }
|
|
|
|
|
public string CARRIERID { get; set; }
|
|
|
|
|
public string ORDERNO { get; set; }
|
|
|
|
|
public string FILEROLE { get; set; }
|
|
|
|
|
public string PACKINGTYPE { get; set; }
|
|
|
|
|
public string SHIPSERVICENO { get; set; }
|
|
|
|
|
public string TRANSTYPE { get; set; }
|
|
|
|
|
public string FILETYPE { get; set; }
|
|
|
|
|
public bool? ISLASTHBL { get; set; } = false;
|
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
public string BLFRT { get; set; }
|
|
|
|
|
public string ISSUEPLACE { get; set; }
|
|
|
|
|
public string ETDTIME { get; set; }
|
|
|
|
|
public string AGENTID { get; set; }
|
|
|
|
|
public string CNTRSEALNO { get; set; }
|
|
|
|
|
public DateTime? SENDTIME { get; set; }
|
|
|
|
|
public string STATUS { get; set; }
|
|
|
|
|
public string YARD { get; set; }
|
|
|
|
|
public string CHANGERESON { get; set; }
|
|
|
|
|
public string FORWARD { get; set; }
|
|
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
public string REMARKS { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public int? CTNNUM { get; set; } = 0;
|
|
|
|
|
public string DPAGE { get; set; }
|
|
|
|
|
public string DLABEL { get; set; }
|
|
|
|
|
public string LINKMAN { get; set; }
|
|
|
|
|
public bool? ISSAMECONSIGNEE { get; set; } = false;
|
|
|
|
|
public string FORWARDER { get; set; }
|
|
|
|
|
public string DCARRIER { get; set; }
|
|
|
|
|
public string ARVESSEL { get; set; }
|
|
|
|
|
public string ARVOYNO { get; set; }
|
|
|
|
|
public string ARSHIPIMO { get; set; }
|
|
|
|
|
public string ARSHIPSERVICENO { get; set; }
|
|
|
|
|
public string FIRSTPORTOFCALLID { get; set; }
|
|
|
|
|
public string FIRSTPORTOFCALLDATE { get; set; }
|
|
|
|
|
public string LASTPORTOFCALLID { get; set; }
|
|
|
|
|
public string LASTPORTOFCALLDATE { get; set; }
|
|
|
|
|
public string MANIFESTSTATUS { get; set; }
|
|
|
|
|
public string PLACERECEIPTID { get; set; }
|
|
|
|
|
public string PLACERECEIPT { get; set; }
|
|
|
|
|
public string SHIPPERCODE { get; set; }
|
|
|
|
|
public string SHIPPEREMAIL { get; set; }
|
|
|
|
|
public string CONSIGNEECODE { get; set; }
|
|
|
|
|
public string CONSIGNEEEMAIL { get; set; }
|
|
|
|
|
public string NOTIFYPARTYCODE { get; set; }
|
|
|
|
|
public string NOTIFYPARTYEMAIL { get; set; }
|
|
|
|
|
public string ISFIMPORTER_CODE_TYPE { get; set; }
|
|
|
|
|
public string ISFIMPORTER_CODE { get; set; }
|
|
|
|
|
public string IMPORTER_CODE_TYPE { get; set; }
|
|
|
|
|
public string IMPORTER_CODE { get; set; }
|
|
|
|
|
public string CONSIGNEE_CODE_TYPE { get; set; }
|
|
|
|
|
public string CONSIGNEE_CODE { get; set; }
|
|
|
|
|
public string CARGOTYPE { get; set; }
|
|
|
|
|
public string BONDTYPE { get; set; }
|
|
|
|
|
public string BONDHOLDER_CODE_TYPE { get; set; }
|
|
|
|
|
public string BONDHOLDER_CODE { get; set; }
|
|
|
|
|
public string SELLREFCODE { get; set; }
|
|
|
|
|
public string MANUFACTURERREFCODE { get; set; }
|
|
|
|
|
public string SELLERNAME { get; set; }
|
|
|
|
|
public string SELLERADDR1 { get; set; }
|
|
|
|
|
public string SELLERCOUNTRY { get; set; }
|
|
|
|
|
public string BUYERNAME { get; set; }
|
|
|
|
|
public string BUYERADDR1 { get; set; }
|
|
|
|
|
public string BUYERCOUNTRY { get; set; }
|
|
|
|
|
public string MANUFACTURERNAME { get; set; }
|
|
|
|
|
public string MANUFACTURERADDR1 { get; set; }
|
|
|
|
|
public string MANUFACTURERCOUNTRY { get; set; }
|
|
|
|
|
public string SHIPTOPARTYNAME { get; set; }
|
|
|
|
|
public string SHIPTOPARTYADDR1 { get; set; }
|
|
|
|
|
public string SHIPTOPARTYCOUNTRY { get; set; }
|
|
|
|
|
//public string CONTAINERLOCATIONYNAME { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONADDR1 { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONCOUNTRY { get; set; }
|
|
|
|
|
public string CONSOLIDATORNAME { get; set; }
|
|
|
|
|
public string CONSOLIDATORADDR1 { get; set; }
|
|
|
|
|
public string CONSOLIDATORCOUNTRY { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONNAME { get; set; }
|
|
|
|
|
public string IMPORTERNAME { get; set; }
|
|
|
|
|
public string IMPORTERADDR1 { get; set; }
|
|
|
|
|
public string IMPORTERCOUNTRY { get; set; }
|
|
|
|
|
public string BOOKINGPARTYNAME { get; set; }
|
|
|
|
|
public string BOOKINGPARTYADDR1 { get; set; }
|
|
|
|
|
public string BOOKINGPARTYCOUNTRY { get; set; }
|
|
|
|
|
public string SELLERCITY { get; set; }
|
|
|
|
|
public string SELLERPROVINCE { get; set; }
|
|
|
|
|
public string BUYERCITY { get; set; }
|
|
|
|
|
public string BUYERPROVINCE { get; set; }
|
|
|
|
|
public string MANUFACTURERCITY { get; set; }
|
|
|
|
|
public string MANUFACTURERPROVINCE { get; set; }
|
|
|
|
|
public string SHIPTOPARTYCITY { get; set; }
|
|
|
|
|
public string SHIPTOPARTYPROVINCE { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONCITY { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONPROVINCE { get; set; }
|
|
|
|
|
public string CONSOLIDATORCITY { get; set; }
|
|
|
|
|
public string CONSOLIDATORPROVINCE { get; set; }
|
|
|
|
|
public string IMPORTERCITY { get; set; }
|
|
|
|
|
public string IMPORTERPROVINCE { get; set; }
|
|
|
|
|
public string BOOKINGPARTYCITY { get; set; }
|
|
|
|
|
public string BOOKINGPARTYPROVINCE { get; set; }
|
|
|
|
|
public string SELLERADDR2 { get; set; }
|
|
|
|
|
public string SELLEREMAIL { get; set; }
|
|
|
|
|
public string BUYERADDR2 { get; set; }
|
|
|
|
|
public string BUYEREMAIL { get; set; }
|
|
|
|
|
public string MANUFACTURERADDR2 { get; set; }
|
|
|
|
|
public string MANUFACTUREREMAIL { get; set; }
|
|
|
|
|
public string SHIPTOPARTYADDR2 { get; set; }
|
|
|
|
|
public string SHIPTOPARTYEMAIL { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONADDR2 { get; set; }
|
|
|
|
|
public string CONTAINERLOCATIONEMAIL { get; set; }
|
|
|
|
|
public string CONSOLIDATORADDR2 { get; set; }
|
|
|
|
|
public string CONSOLIDATOREMAIL { get; set; }
|
|
|
|
|
public string IMPORTERADDR2 { get; set; }
|
|
|
|
|
public string IMPORTEREMAIL { get; set; }
|
|
|
|
|
public string BOOKINGPARTYADDR2 { get; set; }
|
|
|
|
|
public string BOOKINGPARTYEMAIL { get; set; }
|
|
|
|
|
public string AMSSCACCODE { get; set; }
|
|
|
|
|
public string BONDACTIVECODE { get; set; }
|
|
|
|
|
public string HBLTYPE { get; set; }
|
|
|
|
|
public string MASTERHBLNUMBER { get; set; }
|
|
|
|
|
public string PORTTERMINALCODETYPE { get; set; }
|
|
|
|
|
public string PORTTERMINALCODE { get; set; }
|
|
|
|
|
public string MASTERHBLPREFIX { get; set; }
|
|
|
|
|
public string CONTACTNAME { get; set; }
|
|
|
|
|
public string CONTACTPHONE { get; set; }
|
|
|
|
|
public string COMMENTS { get; set; }
|
|
|
|
|
public string DELIVERYPORTTERMINALCODETYPE { get; set; }
|
|
|
|
|
public string DELIVERYPORTTERMINALCODE { get; set; }
|
|
|
|
|
//public string status_detai { get; set; }
|
|
|
|
|
}
|
|
|
|
|
[Table("op_seae_edi_ctn")]
|
|
|
|
|
|
|
|
|
|
public partial class op_seae_edi_ctn_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string ctn_id { get; set; }
|
|
|
|
|
public string MFNO { get; set; }
|
|
|
|
|
public string CTNCODE { get; set; }
|
|
|
|
|
public string SIZE { get; set; }
|
|
|
|
|
public string CTN { get; set; }
|
|
|
|
|
public int? CTNNUM { get; set; } = 0;
|
|
|
|
|
public int? TEU { get; set; } = 0;
|
|
|
|
|
public string CTNALL { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
public string SEALNO { get; set; }
|
|
|
|
|
public int? PKGS { get; set; } = 0;
|
|
|
|
|
public decimal? KGS { get; set; } = 0M;
|
|
|
|
|
public decimal? CBM { get; set; } = 0M;
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
public string MARKS { get; set; }
|
|
|
|
|
public string PO { get; set; }
|
|
|
|
|
public string SKU { get; set; }
|
|
|
|
|
public string SKUDESCRIP { get; set; }
|
|
|
|
|
public string DUNNO { get; set; }
|
|
|
|
|
public string HTS { get; set; }
|
|
|
|
|
public string CTOFORIGIN { get; set; }
|
|
|
|
|
public decimal? GOODVALUE { get; set; } = 0M;
|
|
|
|
|
public string CTNOWNER { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static class StrHelper
|
|
|
|
|
{
|
|
|
|
|
#region 将一个dictionary转化为用;;和::隔开的文本
|
|
|
|
|
public static string DicToStr(Dictionary<string, string> dic)
|
|
|
|
|
{
|
|
|
|
|
var result = "";
|
|
|
|
|
|
|
|
|
|
foreach (var item in dic)
|
|
|
|
|
{
|
|
|
|
|
result += item.Key + "::" + item.Value + ";;";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 将一个用;;和::隔开的文本转化为dictionary
|
|
|
|
|
public static Dictionary<string, string> StrToDic(string dicstr)
|
|
|
|
|
{
|
|
|
|
|
var result = new Dictionary<string, string>();
|
|
|
|
|
|
|
|
|
|
var list = Regex.Split(dicstr, ";;").ToList();
|
|
|
|
|
|
|
|
|
|
foreach (var item in list)
|
|
|
|
|
{
|
|
|
|
|
var itemarray = Regex.Split(item, "::");
|
|
|
|
|
if (itemarray.Length < 2) continue;
|
|
|
|
|
result.Add(itemarray[0], itemarray[1] == null ? "" : itemarray[1]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("V_CUSTOMER_NODR")]
|
|
|
|
|
public partial class V_CUSTOMER_NODR_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string ACCTYPE { get; set; }
|
|
|
|
|
public decimal? RMBNODR { get; set; }
|
|
|
|
|
public decimal? USDNODR { get; set; }
|
|
|
|
|
public decimal? OTNODR { get; set; }
|
|
|
|
|
public decimal? TTLNODR { get; set; }
|
|
|
|
|
public decimal? ZLRMBNODR { get; set; }
|
|
|
|
|
public decimal? ZLUSDNODR { get; set; }
|
|
|
|
|
public decimal? ZLOTNODR { get; set; }
|
|
|
|
|
public decimal? ZLTTLNODR { get; set; }
|
|
|
|
|
public decimal? CQRMBNODR { get; set; }
|
|
|
|
|
public decimal? CQUSDNODR { get; set; }
|
|
|
|
|
public decimal? CQOTNODR { get; set; }
|
|
|
|
|
public decimal? CQTTLNODR { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("v_op_bill_gain")]
|
|
|
|
|
public partial class v_op_bill_gain_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string PARENTID { get; set; }
|
|
|
|
|
public string OPLB { get; set; }
|
|
|
|
|
public string OPTYPE { get; set; }
|
|
|
|
|
public string OPLBNAME { get; set; }
|
|
|
|
|
public string BSTYPE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public int? BSSTATUS { get; set; }
|
|
|
|
|
public string SALE { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public string DOC { get; set; }
|
|
|
|
|
public string ETD { get; set; }
|
|
|
|
|
public string OPDATE { get; set; }
|
|
|
|
|
public string ENTERP { get; set; }
|
|
|
|
|
public string CUSTOMDATE { get; set; }
|
|
|
|
|
public string FEESTATUSREF { get; set; }
|
|
|
|
|
public string BLFRT { get; set; }
|
|
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
public string CUSTSERVICE { get; set; }
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
public string LANE { get; set; }
|
|
|
|
|
public string FORWARDER { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public int? TEU { get; set; }
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public int? CNTR1 { get; set; }
|
|
|
|
|
public int? CNTR2 { get; set; }
|
|
|
|
|
public int? CNTR3 { get; set; }
|
|
|
|
|
public int? CNTR4 { get; set; }
|
|
|
|
|
public int? CNTR5 { get; set; }
|
|
|
|
|
public int? CNTR6 { get; set; }
|
|
|
|
|
public int? CNTR7 { get; set; }
|
|
|
|
|
public int? CNTR8 { get; set; }
|
|
|
|
|
public int? CNTR9 { get; set; }
|
|
|
|
|
public int? CNTR10 { get; set; }
|
|
|
|
|
public int? OTCNTR { get; set; }
|
|
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public int? FEESTATUS { get; set; }
|
|
|
|
|
public decimal? RMBDR { get; set; }
|
|
|
|
|
public decimal? RMBCR { get; set; }
|
|
|
|
|
public decimal? STLRMBDR { get; set; }
|
|
|
|
|
public decimal? STLRMBCR { get; set; }
|
|
|
|
|
public decimal? USDDR { get; set; }
|
|
|
|
|
public decimal? USDCR { get; set; }
|
|
|
|
|
public decimal? STLUSDDR { get; set; }
|
|
|
|
|
public decimal? STLUSDCR { get; set; }
|
|
|
|
|
public decimal? OTDR { get; set; }
|
|
|
|
|
public decimal? OTCR { get; set; }
|
|
|
|
|
public decimal? STLOTDR { get; set; }
|
|
|
|
|
public decimal? STLOTCR { get; set; }
|
|
|
|
|
public decimal? TTLDR { get; set; }
|
|
|
|
|
public decimal? TTLCR { get; set; }
|
|
|
|
|
public decimal? STLTTLDR { get; set; }
|
|
|
|
|
public decimal? STLTTLCR { get; set; }
|
|
|
|
|
public decimal? USDPROFIT { get; set; }
|
|
|
|
|
public decimal? RMBPROFIT { get; set; }
|
|
|
|
|
public decimal? OTPROFIT { get; set; }
|
|
|
|
|
public decimal? TTLPROFIT { get; set; }
|
|
|
|
|
public decimal? NOTAXTTLPROFIT { get; set; }
|
|
|
|
|
public string PROFITRATE { get; set; }
|
|
|
|
|
public decimal? RMBNODR { get; set; }
|
|
|
|
|
public decimal? USDNODR { get; set; }
|
|
|
|
|
public decimal? OTNODR { get; set; }
|
|
|
|
|
public decimal? TTLNODR { get; set; }
|
|
|
|
|
public decimal? RMBNOCR { get; set; }
|
|
|
|
|
public decimal? USDNOCR { get; set; }
|
|
|
|
|
public decimal? OTNOCR { get; set; }
|
|
|
|
|
public decimal? TTLNOCR { get; set; }
|
|
|
|
|
public decimal? NOACCTAXTTLPROFIT { get; set; }
|
|
|
|
|
public DateTime? stldate { get; set; }
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
public DateTime? DELIVERYDATE { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("v_op_blissuelist_Detail")]
|
|
|
|
|
public partial class v_op_blissuelist_Detail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string bsno { get; set; }
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string LINKGID { get; set; }
|
|
|
|
|
public string BLSTATUS { get; set; }
|
|
|
|
|
public string OPNAME { get; set; }
|
|
|
|
|
public DateTime? OPTIME { get; set; }
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public bool? DElFLAG { get; set; }
|
|
|
|
|
//public long TimeMark { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public decimal? RMBNODR { get; set; }
|
|
|
|
|
public decimal? USDNODR { get; set; }
|
|
|
|
|
public decimal? TTLNODR { get; set; }
|
|
|
|
|
public string SPREMARK { get; set; }
|
|
|
|
|
public string CUSTCARGOAFTER { get; set; }
|
|
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
public string SALEDEPT { get; set; }
|
|
|
|
|
public string ISDEPTARREARS { get; set; }
|
|
|
|
|
public string MNGBLSTATUS { get; set; }
|
|
|
|
|
public string ISCHAOQI { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("op_apply_detail")]
|
|
|
|
|
public partial class op_apply_detail_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public decimal SerialNo { get; set; }
|
|
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
public decimal? PRICE { get; set; }
|
|
|
|
|
public decimal? TOTAL { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
public string WMSNO { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string GOODSSTANDARD { get; set; }
|
|
|
|
|
public decimal? GOODSNUM { get; set; }
|
|
|
|
|
public string WMSIN_GID { get; set; }
|
|
|
|
|
public string PICINO { get; set; }
|
|
|
|
|
public string PONO { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("OP_WMS")]
|
|
|
|
|
public partial class OP_WMS_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public Guid WMSID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string BILLTYPE { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
public string ModifyDate { get; set; }
|
|
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
public string Creator { get; set; }
|
|
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string MATERIALNO { get; set; }
|
|
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSHSCODE { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public string STORAGEUNIT { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT { get; set; }
|
|
|
|
|
public bool? ISCLEAR { get; set; }
|
|
|
|
|
public bool? BSSTATUS { get; set; }
|
|
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
//public string TIMEMARK { get; set; }
|
|
|
|
|
public DateTime? FEEENDDATE { get; set; }
|
|
|
|
|
public DateTime? FEESTARTDATE { get; set; }
|
|
|
|
|
public DateTime? INDATE { get; set; }
|
|
|
|
|
public decimal? KGS_SINGLE { get; set; }
|
|
|
|
|
public decimal? CBM_SINGLE { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT_SINGLE { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT_SINGLE { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string ACCBOOKNO { get; set; }
|
|
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
public DateTime? FEERATESTARTDATE { get; set; }
|
|
|
|
|
public DateTime? WMSINDATE { get; set; }
|
|
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
public Guid? WMSBASEID { get; set; }
|
|
|
|
|
public string APCLIENTWMSOUT { get; set; }
|
|
|
|
|
public Guid? WMSPROJECTID { get; set; }
|
|
|
|
|
public string OLD_CNTRNO { get; set; }
|
|
|
|
|
public decimal? SMALLPKGS { get; set; }
|
|
|
|
|
public decimal? MINPKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("OP_WMS_BASE")]
|
|
|
|
|
public partial class OP_WMS_BASE_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public Guid WMSID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string BILLTYPE { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
public string Creator { get; set; }
|
|
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string MATERIALNO { get; set; }
|
|
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
public string GOODSHSCODE { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public string STORAGEUNIT { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT { get; set; }
|
|
|
|
|
//public string TIMEMARK { get; set; }
|
|
|
|
|
public DateTime? FEEENDDATE { get; set; }
|
|
|
|
|
public DateTime? FEESTARTDATE { get; set; }
|
|
|
|
|
public DateTime? INDATE { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT_SINGLE { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT_SINGLE { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string ACCBOOKNO { get; set; }
|
|
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
public DateTime? FEERATESTARTDATE { get; set; }
|
|
|
|
|
public DateTime? WMSINDATE { get; set; }
|
|
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
public string SEALNO { get; set; }
|
|
|
|
|
public string REMARK_GOODS { get; set; }
|
|
|
|
|
public string REMARK_BOX { get; set; }
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
public string XH { get; set; }
|
|
|
|
|
public string DIZHANGID { get; set; }
|
|
|
|
|
public string GOODSMODEL2 { get; set; }
|
|
|
|
|
public string GOODSMODEL3 { get; set; }
|
|
|
|
|
public string GOODSMODEL4 { get; set; }
|
|
|
|
|
public decimal? RULEAMOUNT { get; set; }
|
|
|
|
|
public string PALLET { get; set; }
|
|
|
|
|
public string GOODSMODEL5 { get; set; }
|
|
|
|
|
public string GOODSMODEL6 { get; set; }
|
|
|
|
|
public string GOODSMODEL7 { get; set; }
|
|
|
|
|
public string GOODSMODEL8 { get; set; }
|
|
|
|
|
public string GOODSMODEL9 { get; set; }
|
|
|
|
|
public string GOODSMODEL10 { get; set; }
|
|
|
|
|
public string GOODSMODEL11 { get; set; }
|
|
|
|
|
public string GOODSMODEL12 { get; set; }
|
|
|
|
|
public string GOODSMODEL13 { get; set; }
|
|
|
|
|
public string GOODSMODEL14 { get; set; }
|
|
|
|
|
public string GOODSMODEL15 { get; set; }
|
|
|
|
|
public string GOODSMODEL16 { get; set; }
|
|
|
|
|
public string GOODSMODEL17 { get; set; }
|
|
|
|
|
public string GOODSMODEL18 { get; set; }
|
|
|
|
|
public string GOODSMODEL19 { get; set; }
|
|
|
|
|
public string GOODSMODEL20 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_1 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_2 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_3 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_4 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_5 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_6 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_7 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_8 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_9 { get; set; }
|
|
|
|
|
public bool? GOODSMODEL_BOOL_10 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_1 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_2 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_3 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_4 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_5 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_6 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_7 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_8 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_9 { get; set; }
|
|
|
|
|
public decimal? GOODSMODEL_NUMERIC_10 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_1 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_2 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_3 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_4 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_5 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_6 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_7 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_8 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_9 { get; set; }
|
|
|
|
|
public DateTime? GOODSMODEL_DATE_10 { get; set; }
|
|
|
|
|
public decimal? SMALLPKGS { get; set; }
|
|
|
|
|
public decimal? MINPKGS { get; set; }
|
|
|
|
|
public string OLD_CNTRNO { get; set; }
|
|
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
public Guid? SALE { get; set; }
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public decimal? RULEPRICE { get; set; }
|
|
|
|
|
public DateTime? INSPECTIONTIME { get; set; }
|
|
|
|
|
public bool? CUSTOMSINSPECTION { get; set; }
|
|
|
|
|
public bool? STOREHOUSEINSPECTION { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("VW_OP_WMS_CHANGE_BILL")]
|
|
|
|
|
public partial class VW_OP_WMS_CHANGE_BILL_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public Int64 init { get; set; }
|
|
|
|
|
public string mblno { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string CHANGETYPE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT { get; set; }
|
|
|
|
|
public decimal? PKGS2 { get; set; }
|
|
|
|
|
public decimal? KGS2 { get; set; }
|
|
|
|
|
public decimal? CBM2 { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT2 { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT2 { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT2 { get; set; }
|
|
|
|
|
public decimal? PKGS3 { get; set; }
|
|
|
|
|
public decimal? KGS3 { get; set; }
|
|
|
|
|
public decimal? CBM3 { get; set; }
|
|
|
|
|
public decimal? NETWEIGHT3 { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT3 { get; set; }
|
|
|
|
|
public decimal? RULEUNITCOUNT3 { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("VW_WMSIOSUM_BYCUSTOMNO")]
|
|
|
|
|
public partial class VW_WMSIOSUM_BYCUSTOMNO_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public Int64 init { get; set; }
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
public string CHANGETYPE { get; set; }
|
|
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("tMsWlPcHead")]
|
|
|
|
|
public partial class tMsWlPcHead_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string BillNo { get; set; }
|
|
|
|
|
public DateTime? LrDate { get; set; }
|
|
|
|
|
public DateTime? JzDate { get; set; }
|
|
|
|
|
public string UserCode { get; set; }
|
|
|
|
|
public string UserName { get; set; }
|
|
|
|
|
public string OrgCode { get; set; }
|
|
|
|
|
public string OrgName { get; set; }
|
|
|
|
|
public string TruckNo { get; set; }
|
|
|
|
|
public string DrvName { get; set; }
|
|
|
|
|
public string Mobile { get; set; }
|
|
|
|
|
public DateTime? ExpDate { get; set; }
|
|
|
|
|
public string ContainerType { get; set; }
|
|
|
|
|
public decimal? ContainerQty { get; set; }
|
|
|
|
|
public string VoyVeg { get; set; }
|
|
|
|
|
public string EtDate { get; set; }
|
|
|
|
|
public string EndPortDate { get; set; }
|
|
|
|
|
public string MblNo { get; set; }
|
|
|
|
|
public string YardCode { get; set; }
|
|
|
|
|
public string YardName { get; set; }
|
|
|
|
|
public string RtnYardCode { get; set; }
|
|
|
|
|
public string RtnYardName { get; set; }
|
|
|
|
|
public string DstArea { get; set; }
|
|
|
|
|
public string DetiNation { get; set; }
|
|
|
|
|
public string FactoryAddr { get; set; }
|
|
|
|
|
public string LinkTel { get; set; }
|
|
|
|
|
public string LinkMan { get; set; }
|
|
|
|
|
public decimal? RatedMil { get; set; }
|
|
|
|
|
public decimal? RatedFuel { get; set; }
|
|
|
|
|
public decimal? FuelQty { get; set; }
|
|
|
|
|
public decimal? RealMil { get; set; }
|
|
|
|
|
public decimal? RealFuel { get; set; }
|
|
|
|
|
public decimal? NoLoadMil { get; set; }
|
|
|
|
|
public decimal? OverLoadMil { get; set; }
|
|
|
|
|
public decimal? Ton { get; set; }
|
|
|
|
|
public decimal? AroundTon { get; set; }
|
|
|
|
|
public decimal? LoadCount { get; set; }
|
|
|
|
|
public string ArriveDate { get; set; }
|
|
|
|
|
public string DdCode { get; set; }
|
|
|
|
|
public string DdName { get; set; }
|
|
|
|
|
public string ReturnDate { get; set; }
|
|
|
|
|
public string RefBillNo { get; set; }
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
public string IsDouble { get; set; }
|
|
|
|
|
public string RefBillNoSe { get; set; }
|
|
|
|
|
public string ContainerTypeSe { get; set; }
|
|
|
|
|
public decimal? ContainerQtySe { get; set; }
|
|
|
|
|
public string MblNoSe { get; set; }
|
|
|
|
|
public string VoyVegSe { get; set; }
|
|
|
|
|
public string EtDateSe { get; set; }
|
|
|
|
|
public string EndPortDateSe { get; set; }
|
|
|
|
|
public string YardCodeSe { get; set; }
|
|
|
|
|
public string YardNameSe { get; set; }
|
|
|
|
|
public string DstAreaSe { get; set; }
|
|
|
|
|
public string FactoryAddrSe { get; set; }
|
|
|
|
|
public string DetiNationSe { get; set; }
|
|
|
|
|
public string LinkManSe { get; set; }
|
|
|
|
|
public string LinkTelSe { get; set; }
|
|
|
|
|
public string RtnYardCodeSe { get; set; }
|
|
|
|
|
public string RtnYardNameSe { get; set; }
|
|
|
|
|
public string BillStatus { get; set; }
|
|
|
|
|
public string FeeStatus { get; set; }
|
|
|
|
|
public string GId { get; set; }
|
|
|
|
|
public decimal? TotalMil { get; set; }
|
|
|
|
|
//public string TimeMark { get; set; }
|
|
|
|
|
public string PcBillType { get; set; }
|
|
|
|
|
public string LoadPlace { get; set; }
|
|
|
|
|
public decimal? LoadFuel { get; set; }
|
|
|
|
|
public decimal? NoLoadFuel { get; set; }
|
|
|
|
|
public string RptDate { get; set; }
|
|
|
|
|
public string BsType { get; set; }
|
|
|
|
|
public string ArriveTime { get; set; }
|
|
|
|
|
public string ReturnTime { get; set; }
|
|
|
|
|
public string CustLikeManCode { get; set; }
|
|
|
|
|
public string CustLikeManName { get; set; }
|
|
|
|
|
public string CustTel { get; set; }
|
|
|
|
|
public string CustCode { get; set; }
|
|
|
|
|
public string CustName { get; set; }
|
|
|
|
|
public string SalesCode { get; set; }
|
|
|
|
|
public string SalesName { get; set; }
|
|
|
|
|
public string DispatchCode { get; set; }
|
|
|
|
|
public string DispatchName { get; set; }
|
|
|
|
|
public string SendYardCode { get; set; }
|
|
|
|
|
public string SendYardName { get; set; }
|
|
|
|
|
public string DrvCode { get; set; }
|
|
|
|
|
public string BillRises1 { get; set; }
|
|
|
|
|
public decimal? ChangedMil { get; set; }
|
|
|
|
|
public decimal? ChangedFuel { get; set; }
|
|
|
|
|
public string ChangedReson { get; set; }
|
|
|
|
|
public string FeeOpStatus { get; set; }
|
|
|
|
|
public decimal? RunTimes { get; set; }
|
|
|
|
|
public string ContainerNo { get; set; }
|
|
|
|
|
public string SealNo { get; set; }
|
|
|
|
|
public string ContainerNoSe { get; set; }
|
|
|
|
|
public string SealNoSe { get; set; }
|
|
|
|
|
public string OilLrDate { get; set; }
|
|
|
|
|
public string OilUser { get; set; }
|
|
|
|
|
public decimal? ActualWeight { get; set; }
|
|
|
|
|
public string CustomerName { get; set; }
|
|
|
|
|
public string F_CustomerName { get; set; }
|
|
|
|
|
public DateTime? CutoffTime { get; set; }
|
|
|
|
|
public bool? isEnd { get; set; }
|
|
|
|
|
public decimal? FuelPrice { get; set; }
|
|
|
|
|
public decimal? RoadFee { get; set; }
|
|
|
|
|
public string PGId { get; set; }
|
|
|
|
|
public string BLTYPE { get; set; }
|
|
|
|
|
public string INVOICENO { get; set; }
|
|
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
public string ISPRINTPR { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string TruckSpec { get; set; }
|
|
|
|
|
public string Property { get; set; }
|
|
|
|
|
public string DGTYPECODE { get; set; }
|
|
|
|
|
public decimal? GOODSCOUNT { get; set; }
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
public Byte? ISHW { get; set; }
|
|
|
|
|
public string PINMING { get; set; }
|
|
|
|
|
public decimal? UnitPrice { get; set; }
|
|
|
|
|
public decimal? Amount { get; set; }
|
|
|
|
|
public string DGTYPE { get; set; }
|
|
|
|
|
public string GoodsName { get; set; }
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
public DateTime? BillDate { get; set; }
|
|
|
|
|
public string TRANSSTATUS { get; set; }
|
|
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
public string DESTINATION { get; set; }
|
|
|
|
|
public string LoadFactory { get; set; }
|
|
|
|
|
public string Cargoid { get; set; }
|
|
|
|
|
public string SECOND_DRV { get; set; }
|
|
|
|
|
public int? BillFeeStatus { get; set; }
|
|
|
|
|
public DateTime? BILLFEESTATUSTIME { get; set; }
|
|
|
|
|
public string RtnDocStatus { get; set; }
|
|
|
|
|
public string RtnDocTime { get; set; }
|
|
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
public string DCLASS { get; set; }
|
|
|
|
|
public string DUNNO { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("tMsWlDriver")]
|
|
|
|
|
public partial class tMsWlDriver_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string DrvCode { get; set; }
|
|
|
|
|
public string OrgCode { get; set; }
|
|
|
|
|
|
|
|
|
|
public string DrvName { get; set; }
|
|
|
|
|
public string DrvClass { get; set; }
|
|
|
|
|
public string JzNo { get; set; }
|
|
|
|
|
public string LzDate { get; set; }
|
|
|
|
|
public decimal? LimitDays { get; set; }
|
|
|
|
|
public decimal? DriverYears { get; set; }
|
|
|
|
|
public string TruckType { get; set; }
|
|
|
|
|
public string Licence { get; set; }
|
|
|
|
|
public string YearCheckDate { get; set; }
|
|
|
|
|
public string NextCheckDate { get; set; }
|
|
|
|
|
public decimal? NoticeDays { get; set; }
|
|
|
|
|
public string Mobile { get; set; }
|
|
|
|
|
public string OffTel { get; set; }
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
public string CertificateNo { get; set; }
|
|
|
|
|
public string Addr { get; set; }
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public decimal? BASESALARY { get; set; }
|
|
|
|
|
public string PassWord { get; set; }
|
|
|
|
|
public string OPENID { get; set; }
|
|
|
|
|
public bool? ISSTOP { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("ch_fee_order")]
|
|
|
|
|
public partial class ch_fee_order_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public Int32? FEETYPE { get; set; } = 2;
|
|
|
|
|
public string FEENAME { get; set; }
|
|
|
|
|
public string FEEDESCRIPTION { get; set; }
|
|
|
|
|
public string CUSTOMERTYPE { get; set; }
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
public string UNIT { get; set; }
|
|
|
|
|
public decimal? UNITPRICE { get; set; }
|
|
|
|
|
public decimal? QUANTITY { get; set; }
|
|
|
|
|
public decimal AMOUNT { get; set; } = 0;
|
|
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
public decimal? EXCHANGERATE { get; set; } = 1;
|
|
|
|
|
public string REASON { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
public decimal? COMMISSIONRATE { get; set; } = 0;
|
|
|
|
|
public decimal? SETTLEMENT { get; set; }
|
|
|
|
|
public decimal? INVOICE { get; set; }
|
|
|
|
|
public decimal? ORDERAMOUNT { get; set; }
|
|
|
|
|
public decimal? ORDERINVOICE { get; set; }
|
|
|
|
|
public DateTime? SUBMITDATE { get; set; }
|
|
|
|
|
public string AUDITOPERATOR { get; set; }
|
|
|
|
|
public DateTime? AUDITDATE { get; set; }
|
|
|
|
|
public string ENTEROPERATOR { get; set; }
|
|
|
|
|
public DateTime? ENTERDATE { get; set; }
|
|
|
|
|
public string DEBITNO { get; set; }
|
|
|
|
|
public bool? ISDEBIT { get; set; } = false;
|
|
|
|
|
public bool? ISOPEN { get; set; } = true;
|
|
|
|
|
public bool? ISADVANCEDPAY { get; set; } = false;
|
|
|
|
|
public Int32? SORT { get; set; }
|
|
|
|
|
public bool? ISINVOICE { get; set; } = false;
|
|
|
|
|
public Int32? FEESTATUS { get; set; } = 1;
|
|
|
|
|
public string FEEFRT { get; set; }
|
|
|
|
|
public bool? ISCRMORDERFEE { get; set; } = false;
|
|
|
|
|
public Int32? AUDITSTATUS { get; set; } = 0;
|
|
|
|
|
public string INVOICENUM { get; set; }
|
|
|
|
|
public string CHEQUENUM { get; set; }
|
|
|
|
|
public string WMSOUTBSNO { get; set; }
|
|
|
|
|
public Int32? LINENUM { get; set; } = 0;
|
|
|
|
|
public decimal? TAXRATE { get; set; }
|
|
|
|
|
public decimal? NOTAXAMOUNT { get; set; }
|
|
|
|
|
public decimal? ACCTAXRATE { get; set; }
|
|
|
|
|
public bool? ISVOU { get; set; } = false;
|
|
|
|
|
public string VOUCHERNO { get; set; }
|
|
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
public string BXGID { get; set; }
|
|
|
|
|
public decimal? TAX { get; set; }
|
|
|
|
|
public string F_NO { get; set; }
|
|
|
|
|
public decimal? ORDERSETTLEMENT { get; set; } = 0;
|
|
|
|
|
public decimal? TAXUNITPRICE { get; set; } = 0;
|
|
|
|
|
public decimal? ORDERINVSETTLEMENT { get; set; } = 0;
|
|
|
|
|
public string MODIFIEDUSER { get; set; }
|
|
|
|
|
public DateTime? MODIFIEDTIME { get; set; }
|
|
|
|
|
public string VOUALLNO { get; set; }
|
|
|
|
|
public decimal? PREAMOUNT { get; set; }
|
|
|
|
|
public string INPUTMODE { get; set; }
|
|
|
|
|
|
|
|
|
|
public ch_fee_order_md()
|
|
|
|
|
{
|
|
|
|
|
ENTERDATE = DateTime.Now;
|
|
|
|
|
QUANTITY = 1;
|
|
|
|
|
UNITPRICE = AMOUNT;
|
|
|
|
|
EXCHANGERATE = 1;
|
|
|
|
|
CURRENCY = "RMB";
|
|
|
|
|
SETTLEMENT = 0;
|
|
|
|
|
INVOICE = 0;
|
|
|
|
|
ORDERAMOUNT = 0;
|
|
|
|
|
ORDERINVOICE = 0;
|
|
|
|
|
NOTAXAMOUNT = AMOUNT;
|
|
|
|
|
ACCTAXRATE = 0;
|
|
|
|
|
TAX = 0;
|
|
|
|
|
ORDERSETTLEMENT = 0;
|
|
|
|
|
TAXUNITPRICE = AMOUNT;
|
|
|
|
|
ORDERINVSETTLEMENT = 0;
|
|
|
|
|
PREAMOUNT = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetAmount(decimal amount = 0) {
|
|
|
|
|
AMOUNT = amount;
|
|
|
|
|
//QUANTITY = 1;
|
|
|
|
|
UNITPRICE = AMOUNT;
|
|
|
|
|
//EXCHANGERATE = 1;
|
|
|
|
|
//CURRENCY = "RMB";
|
|
|
|
|
//SETTLEMENT = 0;
|
|
|
|
|
//INVOICE = 0;
|
|
|
|
|
//ORDERAMOUNT = 0;
|
|
|
|
|
//ORDERINVOICE = 0;
|
|
|
|
|
NOTAXAMOUNT = AMOUNT;
|
|
|
|
|
//ACCTAXRATE = 0;
|
|
|
|
|
//TAX = 0;
|
|
|
|
|
//ORDERSETTLEMENT = 0;
|
|
|
|
|
TAXUNITPRICE = AMOUNT;
|
|
|
|
|
//ORDERINVSETTLEMENT = 0;
|
|
|
|
|
//PREAMOUNT = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("op_task")]
|
|
|
|
|
public class op_task_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string TASKNO { get; set; }
|
|
|
|
|
public string PTASKNO { get; set; }
|
|
|
|
|
public string TASKTYPE { get; set; }
|
|
|
|
|
public string TASKSOURCE { get; set; }
|
|
|
|
|
public string TASKSTATUS { get; set; }
|
|
|
|
|
public string TASKTITLE { get; set; }
|
|
|
|
|
public string TASKDESCRIP { get; set; }
|
|
|
|
|
public string CREATEUSER { get; set; } = "";
|
|
|
|
|
public string CREATER { get; set; } = "";
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
public DateTime? CREATETIME { get; set; }
|
|
|
|
|
public DateTime? TASKBEGINDATE { get; set; }
|
|
|
|
|
public string COMPLETETYPE { get; set; }
|
|
|
|
|
public DateTime? COMPLETETIME { get; set; }
|
|
|
|
|
//public float? KPI { get; set; }
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
public string FILENO { get; set; }
|
|
|
|
|
public string MAILNO { get; set; }
|
|
|
|
|
public string FILEPATH { get; set; }
|
|
|
|
|
public bool? ISPUBLIC { get; set; }
|
|
|
|
|
public string OP { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public int? ISCOMPLETE { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
public op_task_md() {
|
|
|
|
|
CREATETIME = DateTime.Now;
|
|
|
|
|
TASKBEGINDATE = DateTime.Now;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GSelect
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string GVALUE { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GSelect2: GSelect
|
|
|
|
|
{
|
|
|
|
|
public string GVALUE2 { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Table("VW_JGWL_APPLYNEEDREAD")]
|
|
|
|
|
public class VW_JGWL_APPLYNEEDREAD_md: GSelect
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("t_Truck_FHApp_Fuel")]
|
|
|
|
|
public class t_Truck_FHApp_Fuel_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string JYTYPE { get; set; }
|
|
|
|
|
public decimal? JYCOUNT { get; set; }
|
|
|
|
|
public decimal? JYAMOUNT { get; set; }
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
|
|
|
public Int64 ORDERID { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("t_PublicInterface_Log")]
|
|
|
|
|
public partial class t_PublicInterface_Log_md
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
public string GID { get; set; }
|
|
|
|
|
public string PORTNAME { get; set; }
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
public string Param { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|