DS7/DSWeb.Service.Output.DS7/DS7DataContext.cs

1274 lines
45 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSWeb.Service.Output.DS7
{
public class DS7DataContext : DbContext
{
public DS7DataContext() : base("DongShengDB") { }
public DS7DataContext(string conn) : base(conn) { }
public DbSet<OpSeae> OpSeae { get; set; }
//报关模块
public DbSet<OpApply> OpApply { get; set; }
public DbSet<CodeCustEdi> CodeCustEdi { get; set; }
public DbSet<InfoClient> InfoClient { get; set; }
public DbSet<CustFeeTemplateDetail> CustFeeTemplateDetail { get; set; }
public DbSet<ChFee> ChFee { get; set; }
public DbSet<SysBillNoSet> SysBillNoSet { get; set; }
public DbSet<User> User { get; set; }
public DbSet<op_other_md> op_other { get; set; }
public DbSet<op_seae_edi_md> op_seae_edi { get; set; }
public DbSet<op_seae_edi_ctn_md> op_seae_edi_ctn { get; set; }
}
[Table("op_seae")]
public class OpSeae
{
[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 short? 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 DateTime? YDWUpdate { get; set; }
public string TRUCKSTATUS { get; set; }
public string TRANSREMARK { get; set; }
public bool? IsBookingYDW { get; set; }
public int? PRERECORD { get; set; }
public string PREPARDATID { get; set; }
public DateTime? BILLFEESTATUSTIME { get; set; }
public string MDESCRIPTION { 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; }
}
[Table("info_client")]
public class InfoClient
{
[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 ICOURL { 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; }
public string TICHENGCANYU { get; set; }
public string CUSTTYPE { get; set; }
public string CUSTGUIMO { get; set; }
public string CUSTCLASS { get; set; }
public string QUALIFICATION { get; set; }
public string REGDATE { get; set; }
public string CARGOL { get; set; }
public string PRODUCT { get; set; }
public string EXPREGION { get; set; }
public string CARRIERLIST { get; set; }
public string CTNTYPE { get; set; }
public string CUSTNUM { get; set; }
public string NATURE { get; set; }
}
[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("ch_fee")]
public class ChFee
{
[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 SALECORPID { get; set; }
public string SALECORP { get; set; }
public bool? CUSTDUI { get; set; }
//public decimal? ACCTAX { 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("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("op_apply")]
public class OpApply
{
[Key]
[MaxLength(100)]
public string BSNO { get; set; }
[MaxLength(100)]
public string MASTERNO { get; set; }
[MaxLength(30)]
public string CUSTNO { get; set; }
[MaxLength(12)]
public string BSTYPE { get; set; }
public bool BSSTATUS { get; set; }
public bool FEESTATUS { get; set; }
public DateTime BSDATE { get; set; }
[MaxLength(7)]
public string ACCDATE { get; set; }
[MaxLength(36)]
public string BSSOURCE { get; set; }
[MaxLength(36)]
public string BSSOURCEDETAIL { get; set; }
[MaxLength(30)]
public string MBLNO { get; set; }
[MaxLength(20)]
public string CUSTOMERNAME { get; set; }
[MaxLength(20)]
public string CUSTOMNO { get; set; }
[MaxLength(60)]
public string VESSEL { get; set; }
[MaxLength(12)]
public string VOYNO { get; set; }
[MaxLength(10)]
public string ETD { get; set; }
[MaxLength(10)]
public string ETA { get; set; }
[MaxLength(60)]
public string PORTLOAD { get; set; }
[MaxLength(60)]
public string PORTDISCHARGE { get; set; }
public int? PKGS { get; set; }
[MaxLength(20)]
public string KINDPKGS { get; set; }
public decimal? KGS { get; set; }
public decimal? CBM { get; set; }
[MaxLength(20)]
public string OP { get; set; }
[MaxLength(20)]
public string SALE { get; set; }
[MaxLength(20)]
public string INVNO { get; set; }
[MaxLength(100)]
public string CONTRACTNO { get; set; }
[MaxLength(20)]
public string ENTERPID { get; set; }
[MaxLength(60)]
public string ENTERP { get; set; }
[MaxLength(20)]
public string ARCOUNTRY { get; set; }
[MaxLength(60)]
public string GOODSOURCE { get; set; }
[MaxLength(20)]
public string DOCNO { get; set; }
[MaxLength(200)]
public string REMARK { get; set; }
public decimal? TimeMark { get; set; }
[MaxLength(20)]
public string INPUTBY { get; set; }
[MaxLength(36)]
public string CORPID { get; set; }
[MaxLength(20)]
public string CUSTOMSER { get; set; }
public decimal? NETWEIGHT { get; set; }
[MaxLength(20)]
public string SALEDEPT { get; set; }
[MaxLength(20)]
public string INSPECTIONNO { get; set; }
[MaxLength(10)]
public string INSPECTIONDATE { get; set; }
[MaxLength(20)]
public string TRADETYPE { get; set; }
[MaxLength(30)]
public string BOOKNO { get; set; }
[MaxLength(1)]
public string IsService1 { get; set; }
[MaxLength(1)]
public string IsService2 { get; set; }
[MaxLength(1)]
public string IsService3 { get; set; }
[MaxLength(1)]
public string IsService4 { get; set; }
[MaxLength(1)]
public string IsService5 { get; set; }
[MaxLength(1)]
public string IsService6 { get; set; }
[MaxLength(10)]
public string CUSTOMDATE { get; set; }
[MaxLength(20)]
public string BYCUSTOM { get; set; }
[MaxLength(30)]
public string HBLNO { get; set; }
[MaxLength(1)]
public string IsServiceFee1 { get; set; }
[MaxLength(1)]
public string IsServiceFee2 { get; set; }
[MaxLength(1)]
public string IsServiceFee3 { get; set; }
[MaxLength(1)]
public string IsServiceFee4 { get; set; }
[MaxLength(1)]
public string IsServiceFee5 { get; set; }
[MaxLength(1)]
public string IsServiceFee6 { get; set; }
[MaxLength(10)]
public string OPDATE { get; set; }
[MaxLength(1)]
public string IsService7 { get; set; }
[MaxLength(1)]
public string IsService8 { get; set; }
[MaxLength(1)]
public string IsServiceFee7 { get; set; }
[MaxLength(1)]
public string IsServiceFee8 { get; set; }
[MaxLength(10)]
public string MANIFESTSTATUS { get; set; }
[MaxLength(1)]
public string IsService9 { get; set; }
[MaxLength(1)]
public string IsService10 { get; set; }
[MaxLength(1)]
public string IsService11 { get; set; }
[MaxLength(1)]
public string IsService12 { get; set; }
[MaxLength(1)]
public string IsService13 { get; set; }
[MaxLength(1)]
public string IsService14 { get; set; }
[MaxLength(1)]
public string IsService15 { get; set; }
[MaxLength(1)]
public string IsService16 { get; set; }
[MaxLength(1)]
public string IsServiceFee9 { get; set; }
[MaxLength(1)]
public string IsServiceFee10 { get; set; }
[MaxLength(1)]
public string IsServiceFee11 { get; set; }
[MaxLength(1)]
public string IsServiceFee12 { get; set; }
[MaxLength(1)]
public string IsServiceFee13 { get; set; }
[MaxLength(1)]
public string IsServiceFee14 { get; set; }
[MaxLength(1)]
public string IsServiceFee15 { get; set; }
[MaxLength(1)]
public string IsServiceFee16 { get; set; }
public DateTime? CLEARCUSTOMDATE { get; set; }
public bool? ISMOREGOOD { get; set; }
[MaxLength(20)]
public string INSPECTSERVICE { get; set; }
public short? CUSTOMSNUM { get; set; }
[MaxLength(20)]
public string TRADETERM { get; set; }
[MaxLength(50)]
public string BSCUSTOMNO { get; set; }
[MaxLength(1)]
public string ISPRINTPR { get; set; }
[MaxLength(20)]
public string CUSTOMTYPE { get; set; }
[MaxLength(1)]
public string ISCLEAR { get; set; }
[MaxLength(1)]
public string ISCUSTOMEND { get; set; }
[MaxLength(20)]
public string CUSTOMSLNO { get; set; }
[MaxLength(100)]
public string WMSNO { get; set; }
public int? ediYwlx { get; set; }
[MaxLength(12)]
public string recordSn { get; set; }
[MaxLength(4)]
public string payMent { get; set; }
[MaxLength(10)]
public string carriageType { get; set; }
public decimal? carriagePrice { get; set; }
[MaxLength(6)]
public string carriageCurrency { get; set; }
[MaxLength(10)]
public string premiumType { get; set; }
public decimal? premiumPrice { get; set; }
[MaxLength(6)]
public string premiumCurrency { 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 bool? ISVOU { get; set; }
[MaxLength(12)]
public string VOUNO { get; set; }
[MaxLength(36)]
public string SALECORPID { get; set; }
[MaxLength(10)]
public string CURRENCY { get; set; }
[MaxLength(30)]
public string CARGOVALUE { get; set; }
public int BillFeeStatus { get; set; }
public DateTime? BILLFEESTATUSTIME { get; set; }
[MaxLength(50)]
public string INQUNO { get; set; }
[MaxLength(1)]
public string ISDY { get; set; }
[MaxLength(10)]
public string DOCSTATUS { get; set; }
[MaxLength(30)]
public string CUSCIQNO { get; set; }
[MaxLength(30)]
public string TRANCUSTOMNO { get; set; }
[MaxLength(30)]
public string CUSTOMLOCKNO { get; set; }
[MaxLength(20)]
public string EXPCUSTOMTYPE { get; set; }
[MaxLength(30)]
public string DESPPORT { get; set; }
[MaxLength(600)]
public string CONSIGNEE { get; set; }
[MaxLength(10)]
public string ETPS_CATEGORY { get; set; }
public byte? CDNTYPE { get; set; }
[MaxLength(10)]
public string CUSTSERVICE { get; set; }
}
[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 CUSTOMERNAME2 { 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("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; }
}
}