using System;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///工厂表
    ///</summary>
    [SugarTable("TFS_Factory")]
    public partial class TFS_Factory
    {
        public TFS_Factory()
        {

        }
        /// <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:
        /// Nullable:False
        /// </summary>           
        public string FCode { get; set; }

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

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

        /// <summary>
        /// Desc:负责人
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FChargePerson { get; set; }

        /// <summary>
        /// Desc:联系电话
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FPhone { get; set; }

        /// <summary>
        /// Desc:启用状态：1是0否
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int FState { get; set; }

        /// <summary>
        /// Desc:删除状态：1删除，0未删除
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int FDeleted { 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; }

    }
}
