using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; 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; } } [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_contact")] public class info_client_contact_md { [Key] public string GID { get; set; } public string LINKID { get; set; } public string CODENAME { get; set; } public string SHOWNAME { get; set; } public string ADDR { get; set; } public string EMAIL { get; set; } public string TEL { get; set; } public string FAX { get; set; } public string MOBILE { get; set; } public bool? ISFINANCIALSTAFF { get; set; } public bool? ISOPERATOR { get; set; } public bool? ISSALEMAN { get; set; } public bool? ISOTHER { get; set; } public bool? CONTACTTYPE1 { get; set; } public bool? CONTACTTYPE2 { get; set; } public bool? CONTACTTYPE3 { get; set; } public bool? CONTACTTYPE4 { get; set; } public bool? CONTACTTYPE5 { get; set; } public bool? CONTACTTYPE6 { get; set; } public bool? CONTACTTYPE7 { get; set; } public string CREATEUSER { get; set; } public DateTime? CREATETIME { get; set; } public string MODIFIEDUSER { get; set; } public DateTime? MODIFIEDTIME { get; set; } public bool? ISSTOP { get; set; } public bool? ISDELETED { get; set; } public string REMARK { get; set; } public DateTime? ANNIVERSARY2 { get; set; } public string AREMARK2 { get; set; } public DateTime? BIRTHDAY { get; set; } public DateTime? ANNIVERSARY1 { get; set; } public string AREMARK1 { get; set; } public bool? ISBIRTHDAY { get; set; } public bool? ISANNIVERSARY1 { get; set; } public bool? ISANNIVERSARY2 { get; set; } public int? BIRTHDAYDAY { get; set; } public int? ANNIVERSARYDAY1 { get; set; } public int? ANNIVERSARYDAY2 { get; set; } public string JOB { get; set; } public string SEX { get; set; } public string AGE { get; set; } public string MARRY { get; set; } public string CHILDREN { get; set; } public string HOBBIES { get; set; } public string QQ { get; set; } public bool? ISINSURANCE { get; set; } public bool? ISDUI { 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("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("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 class ch_fee_md { [Key] public string GID { get; set; } public string BSNO { get; set; } public int? FEETYPE { get; set; } 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; } public string CURRENCY { get; set; } public decimal? EXCHANGERATE { get; set; } public string REASON { get; set; } public string REMARK { get; set; } public decimal? COMMISSIONRATE { get; set; } 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; } public bool? ISOPEN { get; set; } public bool? ISADVANCEDPAY { get; set; } public int? SORT { get; set; } public bool? ISINVOICE { get; set; } public int? FEESTATUS { get; set; } public string FEEFRT { get; set; } public bool? ISCRMORDERFEE { get; set; } public int? AUDITSTATUS { get; set; } public string INVOICENUM { get; set; } public string CHEQUENUM { get; set; } public string WMSOUTBSNO { get; set; } public int? LINENUM { get; set; } public decimal? TAXRATE { get; set; } public decimal? NOTAXAMOUNT { get; set; } public decimal? ACCTAXRATE { get; set; } public bool? ISVOU { get; set; } 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; } public decimal? TAXUNITPRICE { get; set; } public decimal? ORDERINVSETTLEMENT { get; set; } 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; } 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; } public string PaymentGID { get; set; } public string STATEMENTNO { get; set; } public string SALECORP { get; set; } public bool? CUSTDUI { get; set; } /// /// 用于向大简云发送开票请求后 记录费用与链接的关系 /// public string INVLINKGID { 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; } public decimal? AMOUNT { get; set; } public DateTime? AUDITDATE { get; set; } public string AUDITOPERATOR { get; set; } public int? AUDITSTATUS { get; set; } 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; } 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; } 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; } public int? FEETYPE { get; set; } public string INPUTMODE { get; set; } public decimal? INVOICE { get; set; } public string INVOICENUM { get; set; } public bool? ISACC { get; set; } public bool? ISADVANCEDPAY { get; set; } public bool? ISCRMORDERFEE { get; set; } public bool? ISDEBIT { get; set; } public bool? ISDJY { get; set; } public bool? ISINVOICE { get; set; } public bool? ISOPEN { get; set; } public bool? ISVOU { get; set; } public string JKGID { get; set; } public int? LINENUM { get; set; } 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; } public decimal? ORDERAMOUNT { get; set; } public decimal? ORDERINVOICE { get; set; } public decimal? ORDERINVSETTLEMENT { get; set; } public decimal? ORDERSETTLEMENT { get; set; } 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; } 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_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("ch_fee_settlement")] public partial class ch_fee_settlement_md { [Key] public string GID { get; set; } public string BILLNO { get; set; } public DateTime? BILLDATE { get; set; } public int? SETTLEMODE { get; set; } public string CUSTOMERNAME { get; set; } public int? SETTLETYPE { get; set; } public decimal? AMOUNTRMB { get; set; } public string ACCOUNTRMB { get; set; } public decimal? RATE { get; set; } public decimal? AMOUNTUSD { get; set; } public string ACCOUNTUSD { get; set; } public int? BILLTYPE { get; set; } public string VOUCHERNO { get; set; } public string SETTLEUSER { get; set; } public DateTime? SETTLETIME { get; set; } public string AUDITUSER { get; set; } public DateTime? AUDITTIME { get; set; } public bool? ISEXPORT { get; set; } public string FINANCIALVOUCHER { get; set; } public int? BILLSTATUS { 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 string VOUNO { get; set; } public string ACCOUNTS_CURRENCY { get; set; } public decimal? ACCOUNTS_RATE { get; set; } public decimal? ACCOUNTS_MONEY { get; set; } public string PREPAY_CURRENCY { get; set; } public decimal? PREPAY_RATE { get; set; } public decimal? PREPAY_MONEY { get; set; } public string AHSR_CURRENCY { get; set; } public decimal? AHSR_RATE { get; set; } public decimal? AHSR_MONEY { get; set; } public string FINANCIAL_CURRENCY { get; set; } public decimal? FINANCIAL_RATE { get; set; } public decimal? FINANCIAL_MONEY { get; set; } public string ADVANCE_CURRENCY { get; set; } public decimal? ADVANCE_RATE { get; set; } public decimal? ADVANCE_MONEY { get; set; } public string CURR { get; set; } public string CUSTACCOUNT { get; set; } public string CUSTBANK { get; set; } public string CREATEUSER { get; set; } public DateTime? CREATETIME { get; set; } public decimal? DOAMOUNT { get; set; } public string STLCATEGROY { get; set; } public string BS_CUSTOMERNAME { get; set; } public string FEEAMOUNT { get; set; } public string PAYBILLNO { get; set; } public string SETTLENO { get; set; } public string REMITTANCE { get; set; } public decimal? REMITTANCEAMOUNT { get; set; } public decimal? BUYRATE { get; set; } public decimal? SELLRATE { get; set; } public decimal? SETTLRATE { get; set; } public string HXBILLNO { get; set; } public decimal? STLAMOUNT { get; set; } public string SALECORPID { get; set; } public bool? ISNOTVOU { get; set; } #region 外键 => 导航属性,ManyToMany #endregion } [Table("ch_fee_recvapplication")] public partial class ch_fee_recvapplication_md { [Key] public string GID { get; set; } public string BILLNO { get; set; } public int? BILLSTATUS { get; set; } public string CUSTOMERNAME { get; set; } public string INVOICETITLE { get; set; } public int? SETTLETYPE { get; set; } public DateTime? RECVTIME { get; set; } public decimal? AMOUNTRMB { get; set; } public decimal? AMOUNTUSD { get; set; } public decimal? RATE { 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 INVOICENUMREMARK { get; set; } public string COMPANYID { get; set; } public string CURR { get; set; } public decimal? PREAMOUNTRMB { get; set; } public decimal? PREAMOUNTUSD { get; set; } public string ACCOUNT { get; set; } public string SALECORPID { get; set; } public int? PRINTCOUNT { get; set; } public string ORREASON { 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 bool? IsReplacePayment { get; set; } public string ReplacePaymentStatus { get; set; } public string ReplacePaymentCORPID { get; set; } public string ReplacePaymentOPNAME { get; set; } public DateTime? ReplacePaymentOPTIME { get; set; } } [Table("ch_fee_File")] public partial class ch_fee_File_md { [Key] public string GID { get; set; } public string BillNo { get; set; } public int? File_Type { get; set; } public string File_Name { get; set; } public string File_Path { get; set; } public DateTime? CreateTime { get; set; } public DateTime? UpdateTime { get; set; } public string Operator { get; set; } public int? DelFlag { get; set; } public string File_OriginalName { get; set; } public string File_DocNo { get; set; } public string File_DocType { 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("sys_bank")] public partial class sys_bank_md { [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 MODIFIEDUSER { get; set; } public DateTime? MODIFIEDTIME { get; set; } public string CWGLACCID { get; set; } public string ACCOUNTNAME { get; set; } public bool? ISSTOP { get; set; } public string BANKNAME2 { get; set; } public bool? ISDEF { 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 ISSALEMAN { get; set; } public string UserName { get; set; } public string CodeAndName { 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 } /// ///2E5E6066-1C5D-4B04-BF8C-56637C20FC8C 是否允许使用本系统 ///31AC11C1-D005-46EC-A0EE-05BC211AE1B7 是否操作 ///3C91140E-6FB6-4B5A-B5AB-30E59E3CBBED 是否销售 ///3CF26819-B519-4595-89E3-9F46A205218E 是否司机 ///4211AD22-FBF5-4A74-8A53-6AC05E598982 是否报关员 ///A879800D-1CDC-4248-8120-7854431F2BE3 是否单证 ///D22315B2-3612-491A-B9E5-937E5E2CF310 是否财务 ///D4BF2204-F0AC-4F12-B02C-6520D57BF800 是否停用 ///D4BF2204-F0AC-4F12-B02C-6520D57BF806 是否客服 ///DFF42726-A0BA-4264-BFDF-2500A35E89C7 是否派车调度人员 /// [Table("user_userattribute")] public partial class user_userattribute_md { [Key] public string GID { get; set; } public string USERID { get; set; } public string ATTRIBUTEID { get; set; } public string VALUE { get; set; } } [Table("code_lanes_port")] public partial class code_lanes_port_md { [Key] public string GID { get; set; } public string LANEID { get; set; } public string PORTID { get; set; } public int? ORDERNO { get; set; } public void SaveCopy( code_lanes_port_md newrec) { LANEID = newrec.LANEID; PORTID = newrec.PORTID; ORDERNO = newrec.ORDERNO; } } [Table("vw_code_lanes_port")] public partial class vw_code_lanes_port_md { [Key] public string GID { get; set; } public string LANEID { get; set; } public string PORTID { get; set; } public int? ORDERNO { get; set; } public string PORTNAME { get; set; } } [Table("crm_seaeorder_fen")] public partial class crm_seaeorder_fen_md { [Key] public string BSNO { get; set; } public string MASTERNO { get; set; } public string ORDNO { get; set; } public string CUSTOMERNAME { get; set; } public string SHIPPERID { get; set; } public string CONSIGNEEID { get; set; } public string NOTIFYPARTYID { get; set; } public int? PKGS { get; set; } public decimal? FEEKGS { get; set; } public decimal? KGS { get; set; } public decimal? CBM { get; set; } public string MARKS { get; set; } public string DESCRIPTION { get; set; } public string OPERATOR { get; set; } public string OPERATORTEL { get; set; } public string OPERATOREMAIL { get; set; } public void SaveCopy(crm_seaeorder_fen_md newrec) { //MASTERNO = newrec.MASTERNO; ORDNO = newrec.ORDNO; CUSTOMERNAME = newrec.CUSTOMERNAME; SHIPPERID = newrec.SHIPPERID; CONSIGNEEID = newrec.CONSIGNEEID; NOTIFYPARTYID = newrec.NOTIFYPARTYID; PKGS = newrec.PKGS; KGS = newrec.KGS; CBM = newrec.CBM; MARKS = newrec.MARKS; DESCRIPTION = newrec.DESCRIPTION; OPERATOR = newrec.OPERATOR; OPERATORTEL = newrec.OPERATORTEL; OPERATOREMAIL = newrec.OPERATOREMAIL; } } [Table("crm_seaeorderctn")] public partial class crm_seaeorderctn_md { [Key] public string CTN_ID { get; set; } public string ORDNO { get; set; } public string CTNALL { get; set; } public int? CTNNUM { get; set; } public string REMARK { get; set; } public decimal? KGS { get; set; } public void SaveCopy(crm_seaeorderctn_md newrec) { KGS = newrec.KGS; CTNALL = newrec.CTNALL; CTNNUM = newrec.CTNNUM; REMARK = newrec.REMARK; } } [Table("VW_crm_OrderCtnInfo")] public partial class VW_crm_OrderCtnInfo_md { [Key] public Int64 ROWNUM { get; set; } public string ORDNO { get; set; } public string CTNALL { get; set; } public int? CTNNUM { get; set; } public decimal? KGS { get; set; } } [Table("VW_CURRENCY_EXCHANGE")] public partial class VW_CURRENCY_EXCHANGE_md { [Key] public string GID { get; set; } public string CURRENCYID { get; set; } public decimal? VALUE { get; set; } public string TYPE { get; set; } public DateTime? STARTTIME { get; set; } public DateTime? ENDTIME { get; set; } public string CREATEUSER { get; set; } public DateTime? CREATETIME { get; set; } public string MODIFIEDUSER { get; set; } public DateTime? MODIFIEDTIME { get; set; } public string Expr1 { get; set; } public string Expr2 { get; set; } public DateTime? Expr3 { get; set; } public string Expr4 { get; set; } public DateTime? Expr5 { get; set; } public string CODENAME { get; set; } public string NAME { get; set; } public string DESCRIPTION { get; set; } public decimal? DEFAULTRATE { get; set; } } [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("op_status")] public partial class op_status_md { [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? ORDENO { 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("crm_aireorder")] public partial class crm_aireorder_md { [Key] public string BSNO { get; set; } public string MASTERNO { get; set; } //public string ORDNO { get; set; } public string CUSTNO { get; set; } public int? ORSTATUS { get; set; } public string BLTYPE { get; set; } public string SALECORPID { get; set; } public string SALEDEPT { get; set; } public string SALE { get; set; } public string OP { get; set; } public string CUSTSERVICE { get; set; } public string DOC { get; set; } public string INPUTBY { get; set; } public string AUDITOPERATOR { get; set; } public string AUDITOPERATOR2 { get; set; } public string SERVICECONTRACTNO { 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 OPERATOR { get; set; } public string OPERATOREMAIL { get; set; } public string OPERATORTEL { get; set; } public string TRANSNO { get; set; } public string CUSTOMERNAME { 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 VESSEL { get; set; } public DateTime? ETD { get; set; } public DateTime? ETA { get; set; } public string PORTLOADID { get; set; } public string PORTLOAD { get; set; } public string PORTDISCHARGEID { get; set; } public string PORTDISCHARGE { get; set; } public string BLFRT { get; set; } public string OTFRT { get; set; } public string HBLBLFRT { get; set; } public string HBLOTFRT { get; set; } public string MARKS { get; set; } public string DESCRIPTION { get; set; } public string GOODSNAME { get; set; } public int? PKGS { get; set; } public string KINDPKGS { get; set; } public decimal? KGS { get; set; } public decimal? CBM { get; set; } public string CURR { get; set; } public string CUSTVALUE { get; set; } public string CUSTOMVALUE { get; set; } public string CLASS { get; set; } public decimal? FEEKGS { get; set; } public decimal? PRICE { get; set; } public decimal? TTLFREIGHT { get; set; } public string OTFEE { get; set; } public string HANDINGINFO { get; set; } public string ACCOUNTINFO { get; set; } public string AIRLINES { 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 BSSOURCE { get; set; } public string BSSOURCEDETAIL { get; set; } public int? 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 string INAMOUT { get; set; } public bool? ISVOU { get; set; } public string VOUNO { get; set; } public string REMARK { get; set; } public string CORPID { 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 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 OTFEE1 { get; set; } public decimal? OTFEE1AMOUNT { get; set; } public string OTFEE2 { get; set; } public decimal? OTFEE2AMOUNT { get; set; } public string OTFEE3 { get; set; } public decimal? OTFEE3AMOUNT { get; set; } public string OTFEE4 { get; set; } public decimal? OTFEE4AMOUNT { get; set; } public string OTFEE5 { get; set; } public decimal? OTFEE5AMOUNT { get; set; } public string OTFEE6 { get; set; } public decimal? OTFEE6AMOUNT { get; set; } public string OTFEE7 { get; set; } public decimal? OTFEE7AMOUNT { get; set; } public string OTFEE8 { get; set; } public decimal? OTFEE8AMOUNT { get; set; } public string PFREIGHT { get; set; } public string CFREIGHT { get; set; } public string PSTATEMENT { get; set; } public string CSTATEMENT { get; set; } public string PTAX { get; set; } public string CTAX { get; set; } public string POTFREIGHT { get; set; } public string COTFREIGHT { get; set; } public string PCARRIEROT { get; set; } public string CCARRIEROT { get; set; } public string PTOTAL { get; set; } public string CTOTAL { get; set; } public string UNIT { 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 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 TRADETYPE { get; set; } public string TRADETERM { get; set; } public string ISSUEBY { get; set; } public string ISSUEDATE { get; set; } public string ISSUEPLACE { get; set; } public string ISPRINTPR { get; set; } public string BLISSUESTATUS { get; set; } public string FRCUSTSERVICE { get; set; } public string ISSUETYPE { get; set; } //public int? BillFeeStatus { get; set; } = 0; public string LANE { get; set; } public DateTime? DELIVERYDATE { get; set; } public string TRANSPORTID { get; set; } public string TRANSPORT { get; set; } public string TRANSPORT2ID { get; set; } public string TRANSPORT2 { get; set; } public string TRANSPORT3ID { get; set; } public string TRANSPORT3 { get; set; } public DateTime? BILLFEESTATUSTIME { get; set; } public string HSCODE { get; set; } public string ISCANCEL { get; set; } public string TRANSAIRLINES { get; set; } public DateTime? SUBMITDATE { get; set; } public DateTime? AUDITDATE { get; set; } public DateTime? CONFIRMDATE { get; set; } public string WAREHOUSINGNO { get; set; } public void CopyNew(crm_aireorder_md newrec) { MASTERNO = newrec.MASTERNO; CUSTNO = newrec.CUSTNO; ORSTATUS = newrec.ORSTATUS; BLTYPE = newrec.BLTYPE; SALECORPID = newrec.SALECORPID; SALEDEPT = newrec.SALEDEPT; SALE = newrec.SALE; OP = newrec.OP; CUSTSERVICE = newrec.CUSTSERVICE; DOC = newrec.DOC; INPUTBY = newrec.INPUTBY; AUDITOPERATOR = newrec.AUDITOPERATOR; AUDITOPERATOR2 = newrec.AUDITOPERATOR2; SERVICECONTRACTNO = newrec.SERVICECONTRACTNO; BSSTATUS = newrec.BSSTATUS; FEESTATUS = newrec.FEESTATUS; BSDATE = newrec.BSDATE; ACCDATE = newrec.ACCDATE; MBLNO = newrec.MBLNO; HBLNO = newrec.HBLNO; OPERATOR = newrec.OPERATOR; OPERATOREMAIL = newrec.OPERATOREMAIL; OPERATORTEL = newrec.OPERATORTEL; TRANSNO = newrec.TRANSNO; CUSTOMERNAME = newrec.CUSTOMERNAME; SHIPPERID = newrec.SHIPPERID; CONSIGNEEID = newrec.CONSIGNEEID; NOTIFYPARTYID = newrec.NOTIFYPARTYID; SHIPPER = newrec.SHIPPER; CONSIGNEE = newrec.CONSIGNEE; NOTIFYPARTY = newrec.NOTIFYPARTY; AGENTID = newrec.AGENTID; AGENT = newrec.AGENT; VESSEL = newrec.VESSEL; ETD = newrec.ETD; ETA = newrec.ETA; PORTLOADID = newrec.PORTLOADID; PORTLOAD = newrec.PORTLOAD; PORTDISCHARGEID = newrec.PORTDISCHARGEID; PORTDISCHARGE = newrec.PORTDISCHARGE; BLFRT = newrec.BLFRT; OTFRT = newrec.OTFRT; HBLBLFRT = newrec.HBLBLFRT; HBLOTFRT = newrec.HBLOTFRT; MARKS = newrec.MARKS; DESCRIPTION = newrec.DESCRIPTION; GOODSNAME = newrec.GOODSNAME; PKGS = newrec.PKGS; KINDPKGS = newrec.KINDPKGS; KGS = newrec.KGS; CBM = newrec.CBM; CURR = newrec.CURR; CUSTVALUE = newrec.CUSTVALUE; CUSTOMVALUE = newrec.CUSTOMVALUE; CLASS = newrec.CLASS; FEEKGS = newrec.FEEKGS; PRICE = newrec.PRICE; TTLFREIGHT = newrec.TTLFREIGHT; OTFEE = newrec.OTFEE; HANDINGINFO = newrec.HANDINGINFO; ACCOUNTINFO = newrec.ACCOUNTINFO; AIRLINES = newrec.AIRLINES; FORWARDER = newrec.FORWARDER; CUSTOMSER = newrec.CUSTOMSER; TRUCKER = newrec.TRUCKER; INVNO = newrec.INVNO; CARGOID = newrec.CARGOID; BSSOURCE = newrec.BSSOURCE; BSSOURCEDETAIL = newrec.BSSOURCEDETAIL; CUSTOMSNUM = newrec.CUSTOMSNUM; CONTRACTNO = newrec.CONTRACTNO; ORDTYPE = newrec.ORDTYPE; ORDERNO = newrec.ORDERNO; INSURANCEER = newrec.INSURANCEER; INSURANCENO = newrec.INSURANCENO; INAMOUT = newrec.INAMOUT; ISVOU = newrec.ISVOU; VOUNO = newrec.VOUNO; REMARK = newrec.REMARK; CORPID = newrec.CORPID; CREATETIME = newrec.CREATETIME; STLNAME = newrec.STLNAME; STLDATE = newrec.STLDATE; ORDERTYPE = newrec.ORDERTYPE; OPERATORCODE = newrec.OPERATORCODE; OPERATORFAX = newrec.OPERATORFAX; FINANCIALSTAFFCODE = newrec.FINANCIALSTAFFCODE; FINANCIALSTAFF = newrec.FINANCIALSTAFF; FINANCIALSTAFFEMAIL = newrec.FINANCIALSTAFFEMAIL; FINANCIALSTAFFTEL = newrec.FINANCIALSTAFFTEL; FINANCIALSTAFFFAX = newrec.FINANCIALSTAFFFAX; PLACERECEIPTID = newrec.PLACERECEIPTID; OTFEE1 = newrec.OTFEE1; OTFEE1AMOUNT = newrec.OTFEE1AMOUNT; OTFEE2 = newrec.OTFEE2; OTFEE2AMOUNT = newrec.OTFEE2AMOUNT; OTFEE3 = newrec.OTFEE3; OTFEE3AMOUNT = newrec.OTFEE3AMOUNT; OTFEE4 = newrec.OTFEE4; OTFEE4AMOUNT = newrec.OTFEE4AMOUNT; OTFEE5 = newrec.OTFEE5; OTFEE5AMOUNT = newrec.OTFEE5AMOUNT; OTFEE6 = newrec.OTFEE6; OTFEE6AMOUNT = newrec.OTFEE6AMOUNT; OTFEE7 = newrec.OTFEE7; OTFEE7AMOUNT = newrec.OTFEE7AMOUNT; OTFEE8 = newrec.OTFEE8; OTFEE8AMOUNT = newrec.OTFEE8AMOUNT; PFREIGHT = newrec.PFREIGHT; CFREIGHT = newrec.CFREIGHT; PSTATEMENT = newrec.PSTATEMENT; CSTATEMENT = newrec.CSTATEMENT; PTAX = newrec.PTAX; CTAX = newrec.CTAX; POTFREIGHT = newrec.POTFREIGHT; COTFREIGHT = newrec.COTFREIGHT; PCARRIEROT = newrec.PCARRIEROT; CCARRIEROT = newrec.CCARRIEROT; PTOTAL = newrec.PTOTAL; CTOTAL = newrec.CTOTAL; UNIT = newrec.UNIT; CUSTOMNO = newrec.CUSTOMNO; ENTERPID = newrec.ENTERPID; ENTERP = newrec.ENTERP; INSPECTIONNO = newrec.INSPECTIONNO; INSPECTIONDATE = newrec.INSPECTIONDATE; CUSTOMDATE = newrec.CUSTOMDATE; IsService1 = newrec.IsService1; IsService2 = newrec.IsService2; IsService3 = newrec.IsService3; IsService4 = newrec.IsService4; IsService5 = newrec.IsService5; IsService6 = newrec.IsService6; IsService7 = newrec.IsService7; IsService8 = newrec.IsService8; IsService9 = newrec.IsService9; IsService10 = newrec.IsService10; IsServiceFee1 = newrec.IsServiceFee1; IsServiceFee2 = newrec.IsServiceFee2; IsServiceFee3 = newrec.IsServiceFee3; IsServiceFee4 = newrec.IsServiceFee4; IsServiceFee5 = newrec.IsServiceFee5; IsServiceFee6 = newrec.IsServiceFee6; IsServiceFee7 = newrec.IsServiceFee7; IsServiceFee8 = newrec.IsServiceFee8; IsServiceFee9 = newrec.IsServiceFee9; IsServiceFee10 = newrec.IsServiceFee10; TRADETYPE = newrec.TRADETYPE; TRADETERM = newrec.TRADETERM; ISSUEBY = newrec.ISSUEBY; ISSUEDATE = newrec.ISSUEDATE; ISSUEPLACE = newrec.ISSUEPLACE; ISPRINTPR = newrec.ISPRINTPR; BLISSUESTATUS = newrec.BLISSUESTATUS; FRCUSTSERVICE = newrec.FRCUSTSERVICE; ISSUETYPE = newrec.ISSUETYPE; //BillFeeStatus = newrec.BillFeeStatus; LANE = newrec.LANE; DELIVERYDATE = newrec.DELIVERYDATE; TRANSPORTID = newrec.TRANSPORTID; TRANSPORT = newrec.TRANSPORT; TRANSPORT2ID = newrec.TRANSPORT2ID; TRANSPORT2 = newrec.TRANSPORT2; TRANSPORT3ID = newrec.TRANSPORT3ID; TRANSPORT3 = newrec.TRANSPORT3; BILLFEESTATUSTIME = newrec.BILLFEESTATUSTIME; HSCODE = newrec.HSCODE; ISCANCEL = newrec.ISCANCEL; TRANSAIRLINES = newrec.TRANSAIRLINES; SUBMITDATE = newrec.SUBMITDATE; AUDITDATE = newrec.AUDITDATE; CONFIRMDATE = newrec.CONFIRMDATE; WAREHOUSINGNO = newrec.WAREHOUSINGNO; } public void DealDate() { BSDATE = DealDatetime2(BSDATE); ETD = DealDatetime2(ETD); ETA = DealDatetime2(ETA); CREATETIME = DealDatetime2(CREATETIME); STLDATE = DealDatetime2(STLDATE); INSPECTIONDATE = DealDatetime2(INSPECTIONDATE); CUSTOMDATE = DealDatetime2(CUSTOMDATE); DELIVERYDATE = DealDatetime2(DELIVERYDATE); BILLFEESTATUSTIME = DealDatetime2(BILLFEESTATUSTIME); SUBMITDATE = DealDatetime2(SUBMITDATE); AUDITDATE = DealDatetime2(AUDITDATE); CONFIRMDATE = DealDatetime2(CONFIRMDATE); //BSDATE = null; //ETD = null; //ETA = null; //CREATETIME = null; //STLDATE = null; //INSPECTIONDATE = null; //CUSTOMDATE = null; //DELIVERYDATE = null; //BILLFEESTATUSTIME = null; //SUBMITDATE = null; //AUDITDATE = null; //CONFIRMDATE = null; } public DateTime? DealDatetime2(DateTime? _datetime) { if (_datetime == null) return null; if (_datetime == new DateTime(1, 1, 1)) return null; DateTime now = (DateTime)_datetime; return new DateTime(now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second, now.Millisecond); } } [Table("VW_OP_USERINFO")] public partial class VW_OP_USERINFO_md { // [BSNO] //,[MASTERNO] //,[USERTYPE] //,[USERNAME] //,[MOBILE] //,[EMAIL1] [Key] public int SORT { get; set; } public string BSNO { get; set; } public string MASTERNO { get; set; } public string USERTYPE { get; set; } public string USERNAME { get; set; } public string MOBILE { get; set; } public string EMAIL1 { get; set; } #region 外键 => 导航属性,ManyToMany #endregion } [Table("VW_OP_SeaeSaleOrder_USERINFO")] public partial class VW_OP_SeaeSaleOrder_USERINFO_md { [Key] public int SORT { get; set; } public string BSNO { get; set; } public string MASTERNO { get; set; } public string USERTYPE { get; set; } public string USERNAME { get; set; } public string MOBILE { get; set; } public string EMAIL1 { get; set; } #region 外键 => 导航属性,ManyToMany #endregion } [Table("OP_SEAE_BILLMANAGE")] public partial class OP_SEAE_BILLMANAGE_md { [Key] public string AS_ID { get; set; } public string BSNO { get; set; } public string MBLNO { get; set; } public string HBLNO { get; set; } public string TEMPLATE { get; set; } public string BILLTYPE { 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 string 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 string CNTRTOTAL { get; set; } public string INPUTBY { get; set; } public string PLACERECEIPTID { get; set; } public string ORDERCORP { get; set; } public string ORDERCONTENT { get; set; } public string CUSTNO { get; set; } public string REMARKS { get; set; } public string BLISSUESTATUS { get; set; } public string SHIPPERCODE { get; set; } public string SHIPPERCOUNTRY { get; set; } public string SHIPPERTEL { get; set; } public string SHIPPEREMAIL { get; set; } public string CONSIGNEECODE { get; set; } public string CONSIGNEEEMAIL { get; set; } public string CONSIGNEECOUNTRY { get; set; } public string CONSIGNEETEL { get; set; } public string NOTIFYPARTYCODE { get; set; } public string NOTIFYPARTYCOUNTRY { get; set; } public string NOTIFYPARTYEMAIL { get; set; } public string NOTIFYPARTYTEL { get; set; } public string NOTIFYPARTYIDSECOND { get; set; } public string NOTIFYPARTYSECOND { get; set; } public string NOTIFYPARTYCODESECOND { get; set; } public string NOTIFYPARTYCOUNTRYSECOND { get; set; } public string NOTIFYPARTYTELSECOND { get; set; } public string NOTIFYPARTYEMAILSECOND { get; set; } public string ISHP { get; set; } public string PRINTSTATUS { get; set; } public DateTime? INPUTDATE { get; set; } public string SHIPPERNAME { get; set; } public string SHIPPERADDR1 { get; set; } public string CONSIGNEENAME { get; set; } public string CONSIGNEEADDR1 { get; set; } public string NOTIFYPARTYNAME { get; set; } public string NOTIFYPARTYADDR1 { get; set; } public string SCACCODE { get; set; } public string DELIVERYTONAME { get; set; } public string DELIVERYTOADDR1 { get; set; } public string DELIVERYTOADDR2 { get; set; } public string DELIVERYTOCITY { get; set; } public string DELIVERYTOPOSTCODE { get; set; } public string DELIVERYTOCOUNTRY { get; set; } public string DELIVERYTOTEL { get; set; } public DateTime? MODIFYTIME { get; set; } public string MODIFYUSER { get; set; } public string CUSTOMERNAME { get; set; } public string OPERATOR { get; set; } public string OPERATORTEL { get; set; } public string OPERATOREMAIL { get; set; } public string ORDERNO { get; set; } public void GetFenValue(crm_seaeorder_fen_md fenitem) { AS_ID = Guid.NewGuid().ToString(); SHIPPERID = fenitem.SHIPPERID; var _shipper = v_info_shipper_md.GetShipper(SHIPPERID); if (_shipper != null) { SHIPPER = _shipper.shipperdetail; } CONSIGNEEID = fenitem.CONSIGNEEID; var _CONSIGNEE = v_info_shipper_md.GetShipper(CONSIGNEEID); if (_CONSIGNEE != null) { CONSIGNEE = _CONSIGNEE.shipperdetail; } NOTIFYPARTYID = fenitem.NOTIFYPARTYID; var _NOTIFYPARTY = v_info_shipper_md.GetShipper(NOTIFYPARTYID); if (_NOTIFYPARTY != null) { NOTIFYPARTY = _NOTIFYPARTY.shipperdetail; } } } //[Table("OP_CTN")] //public partial class OP_CTN_md { // [Key] // public string CTN_ID { get; set; } // public string BSNO { 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 string PKGS { get; set; } // public string KGS { get; set; } // public string CBM { get; set; } // public string REMARK { get; set; } // public string KINDPKGS { get; set; } // public decimal? TAREWEIGHT { get; set; } = 0; // public string GOODSNAME { get; set; } // public string CTNSTATUS { get; set; } // public string WEIGHTYPE { get; set; } // public decimal? WEIGHKGS { get; set; } = 0; // public string WEIGHATTN { get; set; } // public string WEIGHTEL { get; set; } // public string WEIGHSIGN { get; set; } // public string WEIGHDATE { get; set; } // public string MASTERNO { get; set; } // public string TRUCKER { get; set; } // public decimal? TRUCKFEE { get; set; } = 0; // public int? FREESTORAGEDAY { get; set; } = 0; // public int? STORAGEDAY { get; set; } = 0; // public decimal? STORAGEPRICE { get; set; } = 0; // public decimal? STORAGEFEE { get; set; } = 0; // public int? FREECTNDAY { get; set; } = 0; // public int? CTNDAY { get; set; } = 0; // public decimal? CTNPRICE { get; set; } = 0; // public decimal? CTNFEE { get; set; } = 0; // public string TRUCKNO { get; set; } // public string vgmconncom { get; set; } // public string VGMADDR { get; set; } // public string VGMEMAIL { get; set; } // public string MTMC { get; set; } // public DateTime? SJRGSJ { get; set; } = null; // public DateTime? SJCGSJ { get; set; } = null; // public bool? ISWMS { get; set; } = false; // public DateTime? WMSDATE { get; set; } = null; // public string TiXiangShiJian { get; set; } // public string FanChangShiJian { get; set; } // public string JiGangShiJian { get; set; } // public string AREANAME { get; set; } // public string DaoGangShiJian { get; set; } // public string TiHuoShiJian { get; set; } // public string FanKongShiJian { get; set; } // public string PCTN_ID { get; set; } // public string ISTEMP { get; set; } //} [Table("v_info_shipper")] public partial class v_info_shipper_md { [Key] public string shipperID { get; set; } public string codename { get; set; } public string SHORTNAME { get; set; } public string shipperdetail { get; set; } public int? shippertype { get; set; } public string LOADADDRESS { get; set; } public string DELIVERADDRESS { get; set; } public int? ISPUBLIC { get; set; } public string CodeAndName { get; set; } public string SERVICECONTRACTNO { get; set; } public string ATTN { get; set; } public string TEL { get; set; } public string EMAIL { get; set; } public string COUNTRY { get; set; } public string CORPID { get; set; } public int? SHIPPERMODE { get; set; } public static v_info_shipper_md GetShipper(string str) { var cdc = new CommonDataContext(); var result = cdc.v_info_shipper.FirstOrDefault(x => x.shipperID == str || x.codename == str || x.SHORTNAME == str || x.shipperdetail.IndexOf(str) == 0); return result; } } [Table("v_fee_do_payapplication")] public partial class v_fee_do_payapplication_md { [Key] public Int64 row_number { get; set; } public string BILLNO { get; set; } public string PAYBILLNO { get; set; } public string CURR { get; set; } public string GID { get; set; } public decimal? AMOUNT { get; set; } public decimal? PAYDOAMOUNT { get; set; } } [Table("code_fee_template")] public partial class code_fee_template_md { [Key] public string GID { get; set; } public int? OPTYPE { get; set; } public int? FEETYPE { get; set; } public string NAME { get; set; } public string DESCRIPTION { 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 string CORPID { get; set; } public string ISPUBLIC { 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 int id { get; set; } public string USERID { get; set; } public string workflowTypeNO { get; set; } public string workflowID { get; set; } } [Table("op_aire_bill")] public partial class op_aire_bill_md { [Key] public string AS_ID { get; set; } public string BSNO { get; set; } public string MBLNO { get; set; } public string HBLNO { get; set; } public string TEMPLATE { get; set; } public string BILLTYPE { 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 VESSEL { get; set; } public DateTime? ETD { get; set; } public DateTime? ETA { get; set; } public string PORTLOADID { get; set; } public string PORTLOAD { get; set; } public string PORTDISCHARGEID { get; set; } public string PORTDISCHARGE { get; set; } public string AIRLINES { get; set; } public string IATANO { get; set; } public string ACCOUNTCODE { get; set; } public string ACCOUNTINFO { get; set; } public string HANDINGINFO { get; set; } public string CURR { get; set; } public string BLFRT { get; set; } public string OTFRT { get; set; } public string TRANSTATEMENT { get; set; } public string CUSTOMSTATEMENT { get; set; } public string INAMOUNT { get; set; } public string CLASS { get; set; } public decimal? FEEKGS { get; set; } public decimal? PRICE { get; set; } public decimal? TTLFREIGHT { get; set; } public decimal? TOTALAMOUNT { get; set; } public string OTFEE { get; set; } public string MARKS { get; set; } public string DESCRIPTION { get; set; } public int? PKGS { get; set; } public string KINDPKGS { get; set; } public int? KGS { get; set; } public int? CBM { get; set; } public string PFREIGHT { get; set; } public string CFREIGHT { get; set; } public string PSTATEMENT { get; set; } public string CSTATEMENT { get; set; } public string PTAX { get; set; } public string CTAX { get; set; } public string POTFREIGHT { get; set; } public string COTFREIGHT { get; set; } public string PCARRIEROT { get; set; } public string CCARRIEROT { get; set; } public string PTOTAL { get; set; } public string CTOTAL { get; set; } public string GOODSNAME { get; set; } public string ISSUEBY { get; set; } public DateTime? ISSUEDATE { get; set; } public string ISSUEPLACE { get; set; } public string INPUTBY { get; set; } public string OTFEE1 { get; set; } public decimal? OTFEE1AMOUNT { get; set; } public string OTFEE2 { get; set; } public decimal? OTFEE2AMOUNT { get; set; } public string OTFEE3 { get; set; } public decimal? OTFEE3AMOUNT { get; set; } public string OTFEE4 { get; set; } public decimal? OTFEE4AMOUNT { get; set; } public string OTFEE5 { get; set; } public decimal? OTFEE5AMOUNT { get; set; } public string OTFEE6 { get; set; } public decimal? OTFEE6AMOUNT { get; set; } public string OTFEE7 { get; set; } public decimal? OTFEE7AMOUNT { get; set; } public string OTFEE8 { get; set; } public decimal? OTFEE8AMOUNT { get; set; } public string UNIT { get; set; } public string REMARK { get; set; } public string CUSTVALUE { get; set; } public string CUSTOMVALUE { get; set; } public DateTime? INPUTTIME { get; set; } public DateTime? MODIFYTIME { get; set; } public string MODIFYUSER { get; set; } } }