using System;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("TFS_MaterialType")]
    public partial class TFS_MaterialType
    {
        public TFS_MaterialType()
        {


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

        /// <summary>
        /// Desc:分类名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FName { 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:状态：1,正常；-1,禁用
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int FState { get; set; }

        /// <summary>
        /// Desc:添加人
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FAddUser { 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; }

        public int FDeleted { get; set; }
    }
}
