using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CallCenterApi.Model
{
    /// <summary>
    /// T_Form_EntityAttribute:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class T_Form_EntityAttribute
    {
        public T_Form_EntityAttribute()
        { }
        #region Model
        private int _f_attributeid;
        private int _f_typeid;
        private string _f_dbtypename;
        private string _f_name;
        private string _f_dbfieldlname;
        private int? _f_length = 0;
        private bool _f_isnullable = false;
        private int _f_entityid;
        private string _f_dbtablename;
        private string _f_defaultvalue;
        private int? _f_columnnumber = 0;
        private bool _f_validforupdateapi = false;
        private bool _f_validforreadapi = false;
        private bool _f_validforcreateapi = false;
        private bool _f_visibletoplatform = false;
        private bool _f_ispkattribute = false;
        private bool _f_iscustomfield = false;
        private int? _f_displaymask = 0;
        private bool _f_issortattribute = false;
        private int? _f_precisionvalue;
        private bool _f_isidentity = false;
        private int? _f_appdefaultvalue;
        private bool _f_locked = false;
        private int? _f_maxlength;
        private decimal? _f_minvalue;
        private decimal? _f_maxvalue;
        private string _f_lookupkey;
        private string _f_lookupstyle;
        private bool _f_islookup;
        private string _f_des;
        /// <summary>
        /// 实体属性id
        /// </summary>
        public int F_AttributeId
        {
            set { _f_attributeid = value; }
            get { return _f_attributeid; }
        }
        /// <summary>
        /// 属性字段类型id
        /// </summary>
        public int F_TypeId
        {
            set { _f_typeid = value; }
            get { return _f_typeid; }
        }
        /// <summary>
        /// 属性字段类型
        /// </summary>
        public string F_DBTypeName
        {
            set { _f_dbtypename = value; }
            get { return _f_dbtypename; }
        }
        /// <summary>
        /// 字段显示名称
        /// </summary>
        public string F_Name
        {
            set { _f_name = value; }
            get { return _f_name; }
        }
        /// <summary>
        /// 字段数据库名称
        /// </summary>
        public string F_DBFieldlName
        {
            set { _f_dbfieldlname = value; }
            get { return _f_dbfieldlname; }
        }
        /// <summary>
        /// 字段长度
        /// </summary>
        public int? F_Length
        {
            set { _f_length = value; }
            get { return _f_length; }
        }
        /// <summary>
        /// 是否允许为空
        /// </summary>
        public bool F_IsNullable
        {
            set { _f_isnullable = value; }
            get { return _f_isnullable; }
        }
        /// <summary>
        /// 所属实体id
        /// </summary>
        public int F_EntityId
        {
            set { _f_entityid = value; }
            get { return _f_entityid; }
        }
        /// <summary>
        /// 实体数据库表名
        /// </summary>
        public string F_DBTableName
        {
            set { _f_dbtablename = value; }
            get { return _f_dbtablename; }
        }
        /// <summary>
        /// 字段默认值
        /// </summary>
        public string F_DefaultValue
        {
            set { _f_defaultvalue = value; }
            get { return _f_defaultvalue; }
        }
        /// <summary>
        /// 字段列序号
        /// </summary>
        public int? F_ColumnNumber
        {
            set { _f_columnnumber = value; }
            get { return _f_columnnumber; }
        }
        /// <summary>
        /// 可提供更新接口及权限
        /// </summary>
        public bool F_ValidForUpdateAPI
        {
            set { _f_validforupdateapi = value; }
            get { return _f_validforupdateapi; }
        }
        /// <summary>
        /// 可提供读取接口及权限
        /// </summary>
        public bool F_ValidForReadAPI
        {
            set { _f_validforreadapi = value; }
            get { return _f_validforreadapi; }
        }
        /// <summary>
        /// 可提供添加接口及权限
        /// </summary>
        public bool F_ValidForCreateAPI
        {
            set { _f_validforcreateapi = value; }
            get { return _f_validforcreateapi; }
        }
        /// <summary>
        /// 是否平台显示
        /// </summary>
        public bool F_VisibleToPlatform
        {
            set { _f_visibletoplatform = value; }
            get { return _f_visibletoplatform; }
        }
        /// <summary>
        /// 是否主键
        /// </summary>
        public bool F_IsPKAttribute
        {
            set { _f_ispkattribute = value; }
            get { return _f_ispkattribute; }
        }
        /// <summary>
        /// 是否公共字段
        /// </summary>
        public bool F_IsCustomField
        {
            set { _f_iscustomfield = value; }
            get { return _f_iscustomfield; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_DisplayMask
        {
            set { _f_displaymask = value; }
            get { return _f_displaymask; }
        }
        /// <summary>
        /// 是否排序列
        /// </summary>
        public bool F_IsSortAttribute
        {
            set { _f_issortattribute = value; }
            get { return _f_issortattribute; }
        }
        /// <summary>
        /// 精确度
        /// </summary>
        public int? F_PrecisionValue
        {
            set { _f_precisionvalue = value; }
            get { return _f_precisionvalue; }
        }
        /// <summary>
        /// 是否自增
        /// </summary>
        public bool F_IsIdentity
        {
            set { _f_isidentity = value; }
            get { return _f_isidentity; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_AppDefaultValue
        {
            set { _f_appdefaultvalue = value; }
            get { return _f_appdefaultvalue; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool F_Locked
        {
            set { _f_locked = value; }
            get { return _f_locked; }
        }
        /// <summary>
        /// 是大长度
        /// </summary>
        public int? F_MaxLength
        {
            set { _f_maxlength = value; }
            get { return _f_maxlength; }
        }
        /// <summary>
        /// 最小值
        /// </summary>
        public decimal? F_MinValue
        {
            set { _f_minvalue = value; }
            get { return _f_minvalue; }
        }
        /// <summary>
        /// 最大值
        /// </summary>
        public decimal? F_MaxValue
        {
            set { _f_maxvalue = value; }
            get { return _f_maxvalue; }
        }
        /// <summary>
        /// 下拉键值
        /// </summary>
        public string F_LookupKey
        {
            set { _f_lookupkey = value; }
            get { return _f_lookupkey; }
        }
        /// <summary>
        /// 下拉样式
        /// </summary>
        public string F_LookupStyle
        {
            set { _f_lookupstyle = value; }
            get { return _f_lookupstyle; }
        }
        /// <summary>
        /// 是否下拉
        /// </summary>
        public bool F_IsLookup
        {
            set { _f_islookup = value; }
            get { return _f_islookup; }
        }
        /// <summary>
        /// 字段描述
        /// </summary>
        public string F_Des
        {
            set { _f_des = value; }
            get { return _f_des; }
        }
        #endregion Model

    }
}