bus_pro_plan_head.cs 5.79 KB
using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Text;
using SqlSugar;

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

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

        /// <summary>
        /// 生产计划号
        /// </summary>
        [SugarColumn(ColumnDescription = "生产计划号", IsNullable = false)]
        public string planCode { get; set; }

        /// <summary>
        /// 生产计划名称
        /// </summary>
        [SugarColumn(ColumnDescription = "生产计划名称", IsNullable = true)]
        public string planName { get; set; }

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

        /// <summary>
        /// 产品名称
        /// </summary>
        [SugarColumn(ColumnDescription = "产品名称", IsNullable = false)]
        public string productName { get; set; }

        /// <summary>
        /// 工艺路线keys
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺路线keys", IsNullable = true)]
        public Guid processRouteKeys { get; set; }

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺路线名称", IsNullable = true)]
        public string processName { get; set; }

        /// <summary>
        /// 生产数量
        /// </summary>
        [SugarColumn(ColumnDescription = "生产数量", IsNullable = true)]
        public int quantity { get; set; }

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

        /// <summary>
        /// 计划开始时间
        /// </summary>
        [SugarColumn(ColumnDescription = "计划开始时间", IsNullable = true)]
        public DateTime planStartTime { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        [SugarColumn(ColumnDescription = "计划结束时间", IsNullable = true)]
        public DateTime planEndTime { get; set; }

        /// <summary>
        /// 需求日期
        /// </summary>
        [SugarColumn(ColumnDescription = "需求日期", IsNullable = true)]
        public DateTime requestDate { get; set; }

        /// <summary>
        /// 父节点keys
        /// </summary>
        [SugarColumn(ColumnDescription = "父节点keys", IsNullable = true)]
        public Guid parentKeys { get; set; }

        /// <summary>
        /// 线体编号
        /// </summary>
        [SugarColumn(ColumnDescription = "线体编号", IsNullable = true)]
        public string lineCode { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        [SugarColumn(ColumnDescription = "单据状态", IsNullable = true)]
        public int status { get; set; }

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

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

        /// <summary>
        /// 管线号/图纸号
        /// </summary>
        [SugarColumn(ColumnDescription = "管线号/图纸号", IsNullable = true)]
        public string lineNo { get; set; }

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

        /// <summary>
        /// 图纸页码
        /// </summary>
        [SugarColumn(ColumnDescription = "图纸页码", IsNullable = true)]
        public string designNo { get; set; }

        /// <summary>
        /// 工艺路线版本
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺路线版本", IsNullable = true)]
        public decimal edition { get; set; }

        /// <summary>
        /// 工厂编码
        /// </summary>
        [SugarColumn(ColumnDescription = "工厂编码", IsNullable = true)]
        public string factoryCode { 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; }

        ///// <summary>
        ///// 工艺路线key
        ///// </summary>
        //[SugarColumn(IsIgnore = true)]
        //public string codeOrName { get; set; }
    }
}