using FreeSql.DatabaseModel;using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace djy.Model { [JsonObject(MemberSerialization.OptIn), Table(Name = "op_aire", DisableSyncStructure = true)] public partial class OpAire { [JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)] public string BSNO { get; set; } [JsonProperty, Column(DbType = "varchar(7)", IsNullable = false)] public string ACCDATE { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string ACCOUNTINFO { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string AGENT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string AGENTID { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string AIRLINES { get; set; } [JsonProperty] public int BillFeeStatus { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(10)")] public string BLFRT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string BLISSUESTATUS { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(8)", IsNullable = false)] public string BLTYPE { get; set; } [JsonProperty, Column(DbType = "smalldatetime")] public DateTime BSDATE { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string BSSOURCE { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string BSSOURCEDETAIL { get; set; } [JsonProperty] public bool BSSTATUS { get; set; } [JsonProperty, Column(DbType = "char(1)")] public string CARGOID { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? CBM { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CCARRIEROT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CFREIGHT { get; set; } [JsonProperty, Column(DbType = "varchar(5)")] public string CLASS { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string CONSIGNEE { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CONSIGNEEID { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string CONTRACTNO { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string CORPID { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string COTFREIGHT { get; set; } [JsonProperty] public DateTime? CREATETIME { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CSTATEMENT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CTAX { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CTOTAL { get; set; } [JsonProperty, Column(DbType = "varchar(5)")] public string CURR { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string CUSTNO { get; set; } [JsonProperty] public DateTime? CUSTOMDATE { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CUSTOMERNAME { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CUSTOMNO { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CUSTOMSER { get; set; } [JsonProperty] public short? CUSTOMSNUM { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CUSTOMVALUE { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string CUSTSERVICE { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string CUSTVALUE { get; set; } [JsonProperty, Column(DbType = "varchar(2000)")] public string DESCRIPTION { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string DOC { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string ENTERP { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string ENTERPID { get; set; } [JsonProperty] public DateTime? ETA { get; set; } [JsonProperty] public DateTime? ETD { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? FEEKGS { get; set; } [JsonProperty] public bool FEESTATUS { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string FINANCIALSTAFF { get; set; } [JsonProperty, Column(DbType = "varchar(6)")] public string FINANCIALSTAFFCODE { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string FINANCIALSTAFFEMAIL { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string FINANCIALSTAFFFAX { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string FINANCIALSTAFFTEL { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string FORWARDER { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string FRCUSTSERVICE { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string GOODSNAME { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string HANDINGINFO { get; set; } [JsonProperty, Column(DbType = "varchar(2)")] public string HBLBLFRT { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string HBLNO { get; set; } [JsonProperty, Column(DbType = "varchar(2)")] public string HBLOTFRT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string INAMOUT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string INPUTBY { get; set; } [JsonProperty] public DateTime? INSPECTIONDATE { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string INSPECTIONNO { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string INSURANCEER { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string INSURANCENO { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string INVNO { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string ISPRINTPR { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService1 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService10 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService2 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService3 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService4 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService5 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService6 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService7 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService8 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsService9 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee1 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee10 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee2 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee3 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee4 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee5 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee6 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee7 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee8 { get; set; } [JsonProperty, Column(DbType = "varchar(1)")] public string IsServiceFee9 { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string ISSUEBY { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string ISSUEDATE { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string ISSUEPLACE { get; set; } [JsonProperty] public bool? ISVOU { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? KGS { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string KINDPKGS { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string MARKS { get; set; } [JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)] public string MASTERNO { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string MBLNO { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string NOTIFYPARTY { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string NOTIFYPARTYID { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OP { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string OPERATOR { get; set; } [JsonProperty, Column(DbType = "varchar(6)")] public string OPERATORCODE { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string OPERATOREMAIL { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string OPERATORFAX { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string OPERATORTEL { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string ORDERNO { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string ORDERTYPE { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string ORDTYPE { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string OTFEE { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE1 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE1AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE2 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE2AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE3 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE3AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE4 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE4AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE5 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE5AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE6 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE6AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE7 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE7AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string OTFEE8 { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? OTFEE8AMOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(2)")] public string OTFRT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string PCARRIEROT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string PFREIGHT { get; set; } [JsonProperty] public int? PKGS { get; set; } [JsonProperty, Column(DbType = "varchar(5)")] public string PLACERECEIPTID { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string PORTDISCHARGE { get; set; } [JsonProperty, Column(DbType = "varchar(3)")] public string PORTDISCHARGEID { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string PORTLOAD { get; set; } [JsonProperty, Column(DbType = "varchar(3)")] public string PORTLOADID { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string POTFREIGHT { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? PRICE { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string PSTATEMENT { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string PTAX { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string PTOTAL { get; set; } [JsonProperty, Column(DbType = "varchar(4000)")] public string REMARK { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string SALE { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string SALECORPID { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string SALEDEPT { get; set; } [JsonProperty, Column(DbType = "varchar(600)")] public string SHIPPER { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string SHIPPERID { get; set; } [JsonProperty] public DateTime? STLDATE { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string STLNAME { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string TRADETERM { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string TRADETYPE { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string TRANSNO { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string TRUCKER { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? TTLFREIGHT { get; set; } [JsonProperty, Column(DbType = "varchar(3)")] public string UNIT { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string VESSEL { get; set; } [JsonProperty, Column(DbType = "varchar(12)")] public string VOUNO { get; set; } } }