using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Entity.Sugar
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("SETB_SAL_Booking")]
    public partial class SETB_SAL_Booking : ModelContext
    {
        public SETB_SAL_Booking()
        {


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

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string BookingNo { get; set; }
        public const string CN_BOOKINGNO = "BookingNo";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? BookingDate { get; set; }
        public const string CN_BOOKINGDATE = "BookingDate";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ServiceID { get; set; }
        public const string CN_SERVICEID = "ServiceID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime? ServiceDate { get; set; }
        public const string CN_SERVICEDATE = "ServiceDate";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string InvoiceID { get; set; }
        public const string CN_INVOICEID = "InvoiceID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string CustomerID { get; set; }
        public const string CN_CUSTOMERID = "CustomerID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PaymentID { get; set; }
        public const string CN_PAYMENTID = "PaymentID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string ShippingID { get; set; }
        public const string CN_SHIPPINGID = "ShippingID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string BookingStatus { get; set; }
        public const string CN_BOOKINGSTATUS = "BookingStatus";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SupplierStatus { get; set; }
        public const string CN_SUPPLIERSTATUS = "SupplierStatus";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PaymentStatus { get; set; }
        public const string CN_PAYMENTSTATUS = "PaymentStatus";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int Quantity { get; set; }
        public const string CN_QUANTITY = "Quantity";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CurrencyID { get; set; }
        public const string CN_CURRENCYID = "CurrencyID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string TaxRateID { get; set; }
        public const string CN_TAXRATEID = "TaxRateID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public double TotalPrice { get; set; }
        public const string CN_TOTALPRICE = "TotalPrice";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Memo { get; set; }
        public const string CN_MEMO = "Memo";

        /// <summary>
        /// Desc:Y摸Τ	N摸礚
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Effective { get; set; }
        public const string CN_EFFECTIVE = "Effective";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? OrderByValue { get; set; }
        public const string CN_ORDERBYVALUE = "OrderByValue";

        /// <summary>
        /// Desc:Y埃	Nゼ埃
        /// Default:N
        /// Nullable:True
        /// </summary>           
        public string DelStatus { get; set; }
        public const string CN_DELSTATUS = "DelStatus";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CreateUser { get; set; }
        public const string CN_CREATEUSER = "CreateUser";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }
        public const string CN_CREATEDATE = "CreateDate";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string ModifyUser { get; set; }
        public const string CN_MODIFYUSER = "ModifyUser";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }
        public const string CN_MODIFYDATE = "ModifyDate";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string OrgID { get; set; }
        public const string CN_ORGID = "OrgID";

    }
}