using System;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///配方表
    ///</summary>
    [SugarTable("TFS_Formula")]
    public partial class TFS_Formula
    {
        public TFS_Formula()
        {

        }
        /// <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 FDesc { get; set; }

        /// <summary>
        /// Desc:配方种类
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FType { get; set; }

        /// <summary>
        /// Desc:PLM内码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FPlmCode { get; set; }

        /// <summary>
        /// Desc:试验号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FTestCode { get; set; }

        /// <summary>
        /// Desc:版本号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FVersionCode { get; set; }

        /// <summary>
        /// Desc:生产号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FProductCode { get; set; }

        /// <summary>
        /// Desc:工厂代码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FFactoryCode { get; set; }

        /// <summary>
        /// Desc:工厂ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FFactoryID { 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; }

        /**
         * 20230401 新增
         * 表中增加：
         * 转规格人员 FConversionPersonnel
         * 开发日期 FDevDate
         * BOM版本号 FBomVersionCode
         * **/

        /// <summary>
        /// Desc:转规格人员
        /// Default:
        /// Nullable:False
        /// </summary>
        public string FConversionPersonnel { get; set; }

        /// <summary>
        /// Desc:开发日期
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>
        public DateTime? FDevDate { get; set; }

        /// <summary>
        /// Desc:BOM版本号
        /// Default:
        /// Nullable:False
        /// </summary>
        public string FBomVersionCode { get; set; }
    }
}
