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

namespace ZXDT.CallCenter.Model
{
    /// <summary>
    /// T_Form_EntityInfo:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class T_Form_EntityInfo
    {
        public T_Form_EntityInfo()
        { }
        #region Model
        private int _f_entityid;
        private string _f_name;
        private string _f_dbtablename;
        private int? _f_isactivity;
        private string _f_des;
        private string _f_linktablename;
        private string _f_linkfieldname;
        private string _f_createsql;
        private DateTime? _f_createon = DateTime.Now;
        private string _f_modifysql;
        private DateTime? _f_lastmodifyon;
        private Model.T_Form_EntityAttribute[] _entityattributeItems;
        /// <summary>
        /// 实体属性
        /// </summary>
        public Model.T_Form_EntityAttribute[] EntityAttributeItems
        {
            set { _entityattributeItems = value; }
            get { return _entityattributeItems; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int F_EntityId
        {
            set { _f_entityid = value; }
            get { return _f_entityid; }
        }
        /// <summary>
        /// 实体名称
        /// </summary>
        public string F_Name
        {
            set { _f_name = value; }
            get { return _f_name; }
        }
        /// <summary>
        /// 数据库表名
        /// </summary>
        public string F_DBTableName
        {
            set { _f_dbtablename = value; }
            get { return _f_dbtablename; }
        }
        /// <summary>
        /// 实体是否激活
        /// </summary>
        public int? F_IsActivity
        {
            set { _f_isactivity = value; }
            get { return _f_isactivity; }
        }
        /// <summary>
        /// 实体描述
        /// </summary>
        public string F_Des
        {
            set { _f_des = value; }
            get { return _f_des; }
        }
        /// <summary>
        /// 关联主表名称
        /// </summary>
        public string F_LinkTableName
        {
            set { _f_linktablename = value; }
            get { return _f_linktablename; }
        }
        /// <summary>
        /// 关联字段名
        /// </summary>
        public string F_LinkFieldName
        {
            set { _f_linkfieldname = value; }
            get { return _f_linkfieldname; }
        }
        /// <summary>
        /// 创建实体SQL
        /// </summary>
        public string F_CreateSQL
        {
            set { _f_createsql = value; }
            get { return _f_createsql; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? F_CreateOn
        {
            set { _f_createon = value; }
            get { return _f_createon; }
        }
        /// <summary>
        /// 修改实体语句
        /// </summary>
        public string F_ModifySQL
        {
            set { _f_modifysql = value; }
            get { return _f_modifysql; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? F_LastModifyOn
        {
            set { _f_lastmodifyon = value; }
            get { return _f_lastmodifyon; }
        }
        #endregion Model

    }
}
