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")]
    public class so_saleorder
    {
        public so_saleorder()
        {

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

        public string approver { get; set; } = "~";
        public string badvfeeflag { get; set; }
        public string barsettleflag { get; set; }
        public string bcooptopoflag { get; set; }
        public string bcostsettleflag { get; set; }
        public string bfreecustflag { get; set; }
        public string billmaker { get; set; }
        public string binvoicendflag { get; set; }
        public string boffsetflag { get; set; }
        public string boutendflag { get; set; }
        public string bpocooptomeflag { get; set; }
        public string bpreceiveflag { get; set; }
        public string bsendendflag { get; set; }
        public string carsubtypeid { get; set; } = "~";
        public string cbalancetypeid { get; set; } = "~";
        public string cbillsrcid { get; set; } = "~";
        public string cbiztypeid { get; set; }
        public string cchanneltypeid { get; set; } = "~";
        public string ccustbankaccid { get; set; } = "~";
        public string ccustbankid { get; set; } = "~";
        public string ccustomerid { get; set; }
        public string cdeptid { get; set; }
        public string cdeptvid { get; set; }
        public string cemployeeid { get; set; } = "~";
        public string cfreecustid { get; set; } = "~";
        public string chreceiveaddid { get; set; } = "~";
        public string chreceivecustid { get; set; }
        public string cinvoicecustid { get; set; }
        public string corigcurrencyid { get; set; }
        public string cpaytermid { get; set; }
        public string creationtime { get; set; }
        public string creator { get; set; }
        public string creviserid { get; set; } = "~";
        public string ctradewordid { get; set; } = "~";
        public string ctransporttypeid { get; set; } = "~";
        public string ctrantypeid { get; set; }
        public string dbilldate { get; set; }
        public string dmakedate { get; set; }
        public Int16? dr { get; set; }
        public Int16? fpfstatusflag { get; set; }
        public Int16? fstatusflag { get; set; }
        public int? iprintcount { get; set; }
        public int? iversion { get; set; }
        public string modifiedtime { get; set; }
        public string modifier { get; set; } = "~";
        public decimal? ndiscountrate { get; set; }
        public decimal? nlrgtotalorigmny { get; set; }
        public decimal? npreceivemny { get; set; }
        public decimal? npreceivequota { get; set; }
        public decimal? npreceiverate { get; set; }
        public decimal? nreceivedmny { get; set; }
        public decimal? ntotalnum { get; set; }
        public decimal? ntotalorigmny { get; set; }
        public decimal? ntotalorigsubmny { get; set; }
        public decimal? ntotalpiece { get; set; }
        public decimal? ntotalvolume { get; set; }
        public decimal? ntotalweight { get; set; }
        public string pk_group { get; set; }
        public string pk_org { get; set; }
        public string pk_org_v { get; set; }
        public string taudittime { get; set; }
        public string trevisetime { get; set; }
        public string ts { get; set; }
        public string vbillcode { get; set; }
        public string vbillsrctype { get; set; } = "~";
        public string vcooppohcode { get; set; }
        public string vcreditnum { get; set; } = "~";
        public string vdef1 { get; set; }
        public string vdef10 { get; set; }   = "~";
        public string vdef11 { get; set; }   = "~";
        public string vdef12 { get; set; }   = "~";
        public string vdef13 { get; set; }   = "~";
        public string vdef14 { get; set; }   = "~";
        public string vdef15 { get; set; }   = "~";
        public string vdef16 { get; set; }   = "~";
        public string vdef17 { get; set; }   = "~";
        public string vdef18 { get; set; }   = "~";
        public string vdef19 { get; set; }   = "~";
        public string vdef2 { get; set; }    = "~";
        public string vdef20 { get; set; }   = "~";
        public string vdef3 { get; set; } = "~";
        public string vdef4 { get; set; }
        public string vdef5 { get; set; }
        public string vdef6 { get; set; } = "~";
        public string vdef7 { get; set; } = "~";
        public string vdef8 { get; set; }
        public string vdef9 { get; set; } = "~";
        public string vnote { get; set; }
        public string vrevisereason { get; set; }
        public string vtrantypecode { get; set; }

    }
}
