using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HH.YiDaSyncNC.Dtos.NC
{
    [SugarTable("so_saleorder_b")]
    public class so_saleorder_b
    {
        public so_saleorder_b()
        {

        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string csaleorderbid { get; set; }

        public string barrangedflag { get; set; } = "~";
        public string bbarsettleflag { get; set; } = "~";
        public string bbcostsettleflag { get; set; } = "~";
        public string bbindflag { get; set; } = "~";
        public string bbinvoicendflag { get; set; } = "~";
        public string bboutendflag { get; set; } = "~";
        public string bbsendendflag { get; set; } = "~";
        public string bdiscountflag { get; set; } = "~";
        public string bjczxsflag { get; set; } = "~";
        public string blaborflag { get; set; } = "~";
        public string blargessflag { get; set; } = "~";
        public string blrgcashflag { get; set; } = "~";
        public string btriatradeflag { get; set; } = "~";
        public string carorgid { get; set; } = "~";
        public string carorgvid { get; set; } = "~";
        public string carrangepersonid { get; set; } = "~";
        public string castunitid { get; set; } = "~";
        public string cbindsrcid { get; set; } = "~";
        public string cbuylargessactid { get; set; } = "~";
        public string cbuylargessid { get; set; } = "~";
        public string cbuypromottypeid { get; set; } = "~";
        public string cctmanagebid { get; set; } = "~";
        public string cctmanageid { get; set; } = "~";
        public string ccurrencyid { get; set; } = "~";
        public string ccustmaterialid { get; set; } = "~";
        public string cexchangesrcretid { get; set; } = "~";
        public string cfactoryid { get; set; } = "~";
        public string cfirstbid { get; set; } = "~";
        public string cfirstid { get; set; } = "~";
        public string clargesssrcid { get; set; } = "~";
        public string cmaterialid { get; set; } = "~";
        public string cmaterialvid { get; set; } = "~";
        public string cmffileid { get; set; } = "~";
        public string corigareaid { get; set; } = "~";
        public string corigcountryid { get; set; } = "~";
        public string cprcpromottypeid { get; set; } = "~";
        public string cpriceformid { get; set; } = "~";
        public string cpriceitemid { get; set; } = "~";
        public string cpriceitemtableid { get; set; } = "~";
        public string cpricepolicyid { get; set; } = "~";
        public string cpricepromtactid { get; set; } = "~";
        public string cprodlineid { get; set; } = "~";
        public string cproductorid { get; set; } = "~";
        public string cprofitcenterid { get; set; } = "~";
        public string cprofitcentervid { get; set; } = "~";
        public string cprojectid { get; set; } = "~";
        public string cpromotpriceid { get; set; } = "~";
        public string cqtunitid { get; set; } = "~";
        public string cqualitylevelid { get; set; } = "~";
        public string crececountryid { get; set; } = "~";
        public string creceiveadddocid { get; set; } = "~";
        public string creceiveaddrid { get; set; } = "~";
        public string creceiveareaid { get; set; } = "~";
        public string creceivecustid { get; set; } = "~";
        public string cretpolicyid { get; set; } = "~";
        public string cretreasonid { get; set; } = "~";
        public string crowno { get; set; } = "~";
                                                            
        public string csaleorderid { get; set; } = "~";
        public string csendcountryid { get; set; } = "~";
        public string csendstockorgid { get; set; } = "~";
        public string csendstockorgvid { get; set; } = "~";
        public string csendstordocid { get; set; } = "~";
        public string csettleorgid { get; set; } = "~";
        public string csettleorgvid { get; set; } = "~";
        public string csprofitcenterid { get; set; } = "~";
        public string csprofitcentervid { get; set; } = "~";
        public string csrcbid { get; set; } = "~";
        public string csrcid { get; set; } = "~";
        public string ctaxcodeid { get; set; } = "~";
        public string ctaxcountryid { get; set; } = "~";
        public string ctrafficorgid { get; set; } = "~";
        public string ctrafficorgvid { get; set; } = "~";
        public string cunitid { get; set; } = "~";
        public string cvendorid { get; set; } = "~";
        public string dbilldate { get; set; } = "~";
        public Int16? dr { get; set; } = 0;
        public string dreceivedate { get; set; } = "~";
        public string dsenddate { get; set; } = "~";
        public int? fbuysellflag { get; set; }
        public int? flargesstypeflag { get; set; }
        public int? fretexchange { get; set; } = 0;
        public int? frowstatus { get; set; } = 1;
        public int? ftaxtypeflag { get; set; }
        public decimal? naccprice { get; set; }
        public decimal? naskqtorignetprice { get; set; }
        public decimal? naskqtorigprice { get; set; }
        public decimal? naskqtorigtaxprc { get; set; }
        public decimal? naskqtorigtxntprc { get; set; }
        public decimal? nastnum { get; set; }
        public decimal? ncaltaxmny { get; set; }
        public decimal? ndiscount { get; set; }
        public decimal? ndiscountrate { get; set; }
        public decimal? nexchangerate { get; set; }
        public decimal? nglobalexchgrate { get; set; }
        public decimal? nglobalmny { get; set; }
        public decimal? nglobaltaxmny { get; set; }
        public decimal? ngroupexchgrate { get; set; }
        public decimal? ngroupmny { get; set; }
        public decimal? ngrouptaxmny { get; set; }
        public decimal? nitemdiscountrate { get; set; }
        public decimal? nlargessmny { get; set; }
        public decimal? nlargesstaxmny { get; set; }
        public decimal? nmffileprice { get; set; }
        public decimal? nmny { get; set; }
        public decimal? nnetprice { get; set; }
        public decimal? nnum { get; set; }
        public decimal? norigdiscount { get; set; }
        public decimal? norigmny { get; set; }
        public decimal? norignetprice { get; set; }
        public decimal? norigprice { get; set; }
        public decimal? norigtaxmny { get; set; }
        public decimal? norigtaxnetprice { get; set; }
        public decimal? norigtaxprice { get; set; }
        public decimal? npiece { get; set; }
        public decimal? nprice { get; set; }
        public decimal? nqtnetprice { get; set; }
        public decimal? nqtorignetprice { get; set; }
        public decimal? nqtorigprice { get; set; }
        public decimal? nqtorigtaxnetprc { get; set; }
        public decimal? nqtorigtaxprice { get; set; }
        public decimal? nqtprice { get; set; }
        public decimal? nqttaxnetprice { get; set; }
        public decimal? nqttaxprice { get; set; }
        public decimal? nqtunitnum { get; set; }
        public decimal? ntax { get; set; }
        public decimal? ntaxmny { get; set; }
        public decimal? ntaxnetprice { get; set; }
        public decimal? ntaxprice { get; set; }
        public decimal? ntaxrate { get; set; }
        public decimal? nvolume { get; set; }
        public decimal? nweight { get; set; }
        public string pk_batchcode { get; set; } = "~";
        public string pk_group { get; set; } = "~";
        public string pk_org { get; set; } = "~";
        public string tlastarrangetime { get; set; }
        public string ts { get; set; }
        public string vbatchcode { get; set; }
        public string vbdef1 { get; set; } = "~";
        public string vbdef10 { get; set; } = "~";
        public string vbdef11 { get; set; } = "~";
        public string vbdef12 { get; set; } = "~";
        public string vbdef13 { get; set; } = "~";
        public string vbdef14 { get; set; } = "~";
        public string vbdef15 { get; set; } = "~";
        public string vbdef16 { get; set; } = "~";
        public string vbdef17 { get; set; } = "~";
        public string vbdef18 { get; set; } = "~";
        public string vbdef19 { get; set; } = "~";
        public string vbdef2 { get; set; } = "~";
        public string vbdef20 { get; set; } = "~";
        public string vbdef3 { get; set; } = "~";
        public string vbdef4 { get; set; } = "~";
        public string vbdef5 { get; set; } = "~";
        public string vbdef6 { get; set; } = "~";
        public string vbdef7 { get; set; } = "~";
        public string vbdef8 { get; set; } = "~";
        public string vbdef9 { get; set; } = "~";
        public string vbrevisereason { get; set; }
        public string vchangerate { get; set; } = "~";
        public string vclosereason { get; set; }
        public string vctcode { get; set; } 
        public string vcustombillcode { get; set; } 
        public string vfirstcode { get; set; } 
        public string vfirstrowno { get; set; } = "~";
        public string vfirsttrantype { get; set; } = "~";
        public string vfirsttype { get; set; } = "~";
        public string vfree1 { get; set; } = "~";
        public string vfree10 { get; set; } = "~";
        public string vfree2 { get; set; } = "~";
        public string vfree3 { get; set; } = "~";
        public string vfree4 { get; set; } = "~";
        public string vfree5 { get; set; } = "~";
        public string vfree6 { get; set; } = "~";
        public string vfree7 { get; set; } = "~";
        public string vfree8 { get; set; } = "~";
        public string vfree9 { get; set; } = "~";
        public string vqtunitrate { get; set; } = "~";
        public string vreturnmode { get; set; } 
        public string vrownote { get; set; } = "~";
        public string vsrccode { get; set; } 
        public string vsrcrowno { get; set; } = "~";
        public string vsrctrantype { get; set; } = "~";
        public string vsrctype { get; set; } = "~";
    }
}
