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 = "M_INVOICE", DisableSyncStructure = true)] public partial class MINVOICE { [JsonProperty, Column(Name = "INVOICE_ID", DbType = "decimal(12,0)", IsPrimary = true)] public decimal INVOICEID { get; set; } [JsonProperty, Column(Name = "ADDR_PHONE", StringLength = 200)] public string ADDRPHONE { get; set; } [JsonProperty, Column(DbType = "decimal(16,2)")] public decimal? AMOUNT { get; set; } [JsonProperty, Column(Name = "B_CANCEL", DbType = "decimal(1,0)")] public decimal BCANCEL { get; set; } [JsonProperty, Column(Name = "B_OFFSET", DbType = "decimal(1,0)")] public decimal BOFFSET { get; set; } [JsonProperty, Column(Name = "B_URGENT", DbType = "decimal(1,0)")] public decimal BURGENT { get; set; } [JsonProperty, Column(StringLength = 100)] public string BANK { get; set; } [JsonProperty, Column(Name = "BANK_ACCOUNT", StringLength = 200)] public string BANKACCOUNT { get; set; } [JsonProperty, Column(Name = "BANK_ACCOUNT_NO", StringLength = 50)] public string BANKACCOUNTNO { get; set; } [JsonProperty, Column(Name = "BL_NO", StringLength = 20)] public string BLNO { get; set; } [JsonProperty, Column(Name = "BUSINESS_REG", StringLength = 20)] public string BUSINESSREG { get; set; } [JsonProperty, Column(Name = "BUSINESS_SEAL", StringLength = 20)] public string BUSINESSSEAL { get; set; } [JsonProperty, Column(Name = "CANCEL_BY", StringLength = 20)] public string CANCELBY { get; set; } [JsonProperty, Column(Name = "CANCEL_DATE", DbType = "datetime2")] public DateTime? CANCELDATE { get; set; } [JsonProperty, Column(Name = "CANCEL_INVOICE_NO", StringLength = 20)] public string CANCELINVOICENO { get; set; } [JsonProperty, Column(Name = "CHECKED_BY", StringLength = 20)] public string CHECKEDBY { get; set; } [JsonProperty, Column(Name = "COMPANY_CODE", StringLength = 20)] public string COMPANYCODE { get; set; } [JsonProperty, Column(Name = "CREATE_BY", StringLength = 20, IsNullable = false)] public string CREATEBY { get; set; } [JsonProperty, Column(Name = "CREATE_DATE", DbType = "datetime2")] public DateTime CREATEDATE { get; set; } [JsonProperty, Column(Name = "CURR_TYPE", StringLength = 10)] public string CURRTYPE { get; set; } [JsonProperty, Column(Name = "DEL_DESC", StringLength = 50)] public string DELDESC { get; set; } [JsonProperty, Column(DbType = "datetime2")] public DateTime? ETD { get; set; } [JsonProperty, Column(Name = "GOODS_CNAME")] public string GOODSCNAME { get; set; } [JsonProperty, Column(Name = "HBL_NO", StringLength = 50)] public string HBLNO { get; set; } [JsonProperty, Column(Name = "INVOICE_CODE", StringLength = 200)] public string INVOICECODE { get; set; } [JsonProperty, Column(Name = "INVOICE_NO", StringLength = 20)] public string INVOICENO { get; set; } [JsonProperty, Column(Name = "INVOICE_REQ", StringLength = 200)] public string INVOICEREQ { get; set; } [JsonProperty, Column(Name = "INVOICE_TO", StringLength = 250)] public string INVOICETO { get; set; } [JsonProperty, Column(Name = "IS_EXPORT")] public int? ISEXPORT { get; set; } [JsonProperty, Column(Name = "ISSUE_DATE", DbType = "datetime2")] public DateTime? ISSUEDATE { get; set; } [JsonProperty, Column(Name = "JOB_IDS", StringLength = 1000)] public string JOBIDS { get; set; } [JsonProperty, Column(Name = "JOB_NOS", StringLength = 1000)] public string JOBNOS { get; set; } [JsonProperty, Column(Name = "OFFSET_INTER_ID", DbType = "decimal(12,0)")] public decimal? OFFSETINTERID { get; set; } [JsonProperty, Column(Name = "OWNER_COMPANY", StringLength = 20)] public string OWNERCOMPANY { get; set; } [JsonProperty, Column(Name = "PART_AMOUNT", StringLength = 200)] public string PARTAMOUNT { get; set; } [JsonProperty, Column(Name = "PART_AMOUNT_EX", StringLength = 200)] public string PARTAMOUNTEX { get; set; } [JsonProperty, Column(Name = "PART_CHARGE_TYPE", StringLength = 200)] public string PARTCHARGETYPE { get; set; } [JsonProperty, Column(Name = "PART_CURR_TYPE", StringLength = 200)] public string PARTCURRTYPE { get; set; } [JsonProperty, Column(Name = "PART_CURR_TYPE_EX", StringLength = 200)] public string PARTCURRTYPEEX { get; set; } [JsonProperty, Column(Name = "PART_NUM", StringLength = 200)] public string PARTNUM { get; set; } [JsonProperty, Column(Name = "PART_PRICE", StringLength = 200)] public string PARTPRICE { get; set; } [JsonProperty, Column(Name = "PART_TAX_AMOUNT", StringLength = 400)] public string PARTTAXAMOUNT { get; set; } [JsonProperty, Column(Name = "PART_TAX_RATE", StringLength = 400)] public string PARTTAXRATE { get; set; } [JsonProperty, Column(Name = "POD_DESC", StringLength = 50)] public string PODDESC { get; set; } [JsonProperty, Column(Name = "POL_DESC", StringLength = 50)] public string POLDESC { get; set; } [JsonProperty, Column(Name = "REAL_AMOUNT", DbType = "decimal(16,2)")] public decimal? REALAMOUNT { get; set; } [JsonProperty] public string REMARK { get; set; } [JsonProperty, Column(Name = "SALES_BY", StringLength = 1000)] public string SALESBY { get; set; } [JsonProperty, Column(Name = "TAX_ID", StringLength = 200)] public string TAXID { get; set; } [JsonProperty, Column(Name = "TAX_REG", StringLength = 20)] public string TAXREG { get; set; } [JsonProperty, Column(StringLength = 30)] public string TAXINVOICEID { get; set; } [JsonProperty, Column(Name = "TITLE_TYPE")] public int? TITLETYPE { get; set; } [JsonProperty, Column(StringLength = 100)] public string TOTAL { get; set; } [JsonProperty, Column(Name = "UPDATE_BY", StringLength = 20)] public string UPDATEBY { get; set; } [JsonProperty, Column(Name = "UPDATE_DATE", DbType = "datetime2")] public DateTime? UPDATEDATE { get; set; } [JsonProperty, Column(Name = "USD_BANK_ACCOUNT", StringLength = 200)] public string USDBANKACCOUNT { get; set; } [JsonProperty, Column(StringLength = 50)] public string VESSEL { get; set; } [JsonProperty, Column(Name = "VOUCHER_ID", DbType = "decimal(12,0)")] public decimal? VOUCHERID { get; set; } [JsonProperty, Column(Name = "VOUCHER_NO", StringLength = 20)] public string VOUCHERNO { get; set; } [JsonProperty, Column(StringLength = 20)] public string VOYAGE { get; set; } } }