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

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


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

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

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

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PaymentTerms { get; set; }
        public const string CN_PAYMENTTERMS = "PaymentTerms";
        
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? DueDate { get; set; }
        public const string CN_DUEDATE = "DueDate";

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

        /// <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 TaxID { get; set; }
        public const string CN_TAXID = "TaxID";

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public float Amount { get; set; }
        public const string CN_AMOUNT = "Amount";

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

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

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

        /// <summary>
        /// Desc:
        /// 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:
        /// 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";

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

    }
}