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

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


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

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

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

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

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

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

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

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

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

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

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

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