using System;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///视图字段关系表
    ///</summary>
    [SugarTable("TFS_ViewFieldInfo")]
    public partial class TFS_ViewFieldInfo
    {
        public TFS_ViewFieldInfo()
        {

        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int FID { get; set; }

        /// <summary>
        /// Desc:类型：TBasicCode.FType=35
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FType { get; set; }

        /// <summary>
        /// Desc:字段索引：建议表名.字段
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FField { get; set; }

        /// <summary>
        /// Desc:名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FName { get; set; }

        /// <summary>
        /// Desc:默认值
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FDefault { get; set; }

        /// <summary>
        /// Desc:层级
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int FDepth { get; set; }

        /// <summary>
        /// Desc:父级ID
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FParentID { get; set; }

        /// <summary>
        /// Desc:排序
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FOrder { get; set; }

        /// <summary>
        /// Desc:是否可修改
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FCanEdit { get; set; }

        /// <summary>
        /// Desc:删除状态：1删除，0未删除
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int FDeleted { get; set; }

        /// <summary>
        /// Desc:添加时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime FAddDate { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FEditUser { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime FEditDate { get; set; }

        /// <summary>
        /// 编辑视图时的宽度
        /// </summary>
        public string FWidth { get; set; }
        
        /// <summary>
        /// 编辑视图时的水平方向
        /// </summary>
        public string FAlign { get; set; }
        
        /// <summary>
        /// 编辑视图时的类型
        /// </summary>
        public string FDataType { get; set; }
    }
}
