using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace FactorySystemModel.SqlSugarModel
{
    ///<summary>
    ///包材主表
    ///</summary>
    [SugarTable("TFS_PackageMain")]
    public partial class TFS_PackageMain
    {
        public TFS_PackageMain()
        {


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

        /// <summary>
        /// Desc:工厂编号
        /// Default:-1
        /// Nullable:False
        /// </summary>           
        public int FFactoryID { get; set; }

        /// <summary>
        /// Desc:系列（工厂）
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FFactoryCode { get; set; }

        /// <summary>
        /// Desc:包装代码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FCode { get; set; }

        /// <summary>
        /// Desc:标准BOM数量(KG)
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FBomUnit { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FRemark { get; set; }

        /// <summary>
        /// Desc:包装规格
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FSpecs { get; set; }

        /// <summary>
        /// Desc:净重
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FNetWeight { get; set; }

        /// <summary>
        /// Desc:毛重
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FGrossWeight { get; set; }

        /// <summary>
        /// Desc:外形尺寸
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FSize { get; set; }

        /// <summary>
        /// Desc:体积
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string FVolume { 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; }

        /**
         * 20230404 需求变更
         * 包材提交增加状态，可以先保存，再提交
         * 增加FStatus字段以保存状态
         * **/
        /// <summary>
        /// Desc:提交状态：1提交，0暂存
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int FStatus { get; set; }
    }
}
