using System;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///待办事项
    ///</summary>
    [SugarTable("TFS_Task")]
    public partial class TFS_Task
    {
        public TFS_Task()
        {

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

        /// <summary>
        /// Desc:协同ID
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FTeamID { get; set; }

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

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

        /// <summary>
        /// Desc:描述
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FDesc { get; set; }

        /// <summary>
        /// Desc:工厂Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FFactoryID { get; set; }

        /// <summary>
        /// Desc:负责用户
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FUserID { get; set; }

        /// <summary>
        /// Desc:负责用户
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FUserName { get; set; }

        /// <summary>
        /// Desc:状态：0未开始，1进行中，2已完成
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FState { get; set; }

        /// <summary>
        /// Desc:修改状态：1可修改，0不可修改
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int? FCanEdit { 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>
        /// Desc:完成时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime? FFinishDate { get; set; }
    }
}
