using Siger.Middlelayer.Utility.ExcelImport;
using System;
namespace Siger.Middlelayer.Utility.ImportEntities
{
    public class ReworkRepairData: ImportBase
    {

        [ExcelColumn("二维码")]
        public string Sn { get; set; }
        [ExcelColumn("产品编号")]
        public string ProductCode { get; set; }
        [ExcelColumn("产品名称")]
        public string ProductName { get; set; }
        [ExcelColumn("产品数量")]
        public int Qty { get; set; }
        [ExcelColumn("物料编号")]
        public string Pn { get; set; }
        [ExcelColumn("物料名称")]
        public string Material { get; set; }
        [ExcelColumn("物料规格")]
        public string MaterialSpec { get; set; }
       
        [ExcelColumn("返工工序")]
        public string PreRoute { get; set; }
        [ExcelColumn("返工到工位")]
        public string Route { get; set; }
        //[ExcelColumn("返修类型")]
        //public string SnType { get; set; }
        [ExcelColumn("返工项目")]
        public string BadItem { get; set; }
        [ExcelColumn("数量")]
        public int Count { get; set; }
        [ExcelColumn("返工时间")]
        public DateTime DateTime { get; set; }
        [ExcelColumn("原因")]
        public string Remark { get; set; }
        [ExcelColumn("处理人")]
        public string User { get; set; }
   

    }

    public class ScrapReworkRepairData : ImportBase
    {

        [ExcelColumn("二维码")]
        public string Sn { get; set; }
        [ExcelColumn("产品编号")]
        public string ProductCode { get; set; }
        [ExcelColumn("产品名称")]
        public string ProductName { get; set; }
        [ExcelColumn("产品数量")]
        public int Qty { get; set; }
        [ExcelColumn("物料编号")]
        public string Pn { get; set; }
        [ExcelColumn("物料名称")]
        public string Material { get; set; }
        [ExcelColumn("物料规格")]
        public string MaterialSpec { get; set; }
        [ExcelColumn("物料数量")]
        public int Count { get; set; }
        [ExcelColumn("报废工位")]
        public string Route { get; set; }
        //[ExcelColumn("返修类型")]
        //public string SnType { get; set; }

        [ExcelColumn("操作时间")]
        public DateTime DateTime { get; set; }
        [ExcelColumn("处理人")]
        public string User { get; set; }
        [ExcelColumn("报废原因")]
        public string Remark { get; set; }
        [ExcelColumn("报废类型")]
        public string RouteType { get; set; }

        [ExcelColumn("不良项目")]
        public string BadItem { get; set; }

    }
}
