bus_pro_plan_detail_bom.cs 3.48 KB
using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Text;
using Hh.Mes.POJO.Entity;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    [SugarTable("bus_pro_plan_detail_bom")]
    public partial class bus_pro_plan_detail_bom : base_entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 本身Key
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public Guid bodyKeys { get; set; }

        /// <summary>
        /// 生产订单头表keys
        /// </summary>
        [SugarColumn(ColumnDescription = "生产订单头表keys", IsNullable = false)]
        public Guid proPlanHeadKeys { get; set; }

        /// <summary>
        /// 生产订单明细表keys
        /// </summary>
        [SugarColumn(ColumnDescription = "生产订单明细表keys", IsNullable = false)]
        public Guid proPlanDetailKeys { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(ColumnDescription = "物料编码", IsNullable = true)]
        public string materialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(ColumnDescription = "物料名称", IsNullable = true)]
        public string materialName { get; set; }

        /// <summary>
        /// 工序编码
        /// </summary>
        [SugarColumn(ColumnDescription = "工序编码", IsNullable = true)]
        public string oprSequenceCode { get; set; }

        /// <summary>
        /// detailSN
        /// </summary>
        [SugarColumn( ColumnDescription = "detailSN", IsNullable = true)]
        public string detailSN { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        [SugarColumn(ColumnDescription = "规格型号", IsNullable = true)]
        public string spec { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [SugarColumn(ColumnDescription = "单位", IsNullable = true)]
        public string unit { get; set; }

        /// <summary>
        /// 物料产品标识
        /// </summary>
        [SugarColumn(ColumnDescription = "物料产品标识", IsNullable = false)]
        public string productCode { get; set; }

        /// <summary>
        /// 预计使用量
        /// </summary>
        [SugarColumn(ColumnDescription = "预计使用量", IsNullable = false)]
        public int quantity { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", IsNullable = true)]
        public string remark { get; set; }

        /// <summary>
        /// 预留字段1
        /// </summary>
        [SugarColumn(ColumnDescription = "预留字段1", IsNullable = true)]
        public string extend1 { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        [SugarColumn(ColumnDescription = "预留字段2", IsNullable = true)]
        public string extend2 { get; set; }

        /// <summary>
        /// 预留字段3
        /// </summary>
        [SugarColumn(ColumnDescription = "预留字段3", IsNullable = true)]
        public string extend3 { get; set; }

        /// <summary>
        /// 预留字段4
        /// </summary>
        [SugarColumn(ColumnDescription = "预留字段4", IsNullable = true)]
        public string extend4 { get; set; }
    }
}