using Siger.Middlelayer.Utility.ExcelImport;

namespace Siger.Middlelayer.Utility.ImportEntities
{
    public class ToolInfoList: ImportBase
    {
        [ExcelColumn("类别名称")]
        [DonnetValidate]
        [DonnetCreate]
        public string Category { get; set; }

        [ExcelColumn("类别编号*")]
        public string CategoryCode { get; set; }

        [ExcelColumn("刀具名称")]
        [DonnetValidate]
        [DonnetCreate]
        public string ToolName { get; set; }

        [ExcelColumn("刀具编号*")]
        public string ToolCode { get; set; }

        [ExcelColumn("料号*")]
        public string PartNo { get; set; }

        [ExcelColumn("能否修磨(1->可修磨2->不可修磨)")]
        public string IsGrind { get; set; }

        [ExcelColumn("修磨次数")]
        public string GrindTimes { get; set; }

        [ExcelColumn("修磨方式(1->自主2->外协)")]
        public string GrindType { get; set; }

        [ExcelColumn("使用次数")]
        public string UseTimes { get; set; }
        /// <summary>
        /// 1需要测试2不需要测试
        /// </summary>
        [ExcelColumn("是否测试")]
        public string need_test { get; set; }
        [ExcelColumn("是否检测")]
        public string need_detection { get; set; }
    }
    public class IMSInfoList : ImportBase
    {
        [ExcelColumn("类别名称")]
        [DonnetValidate]
        [DonnetCreate]
        public string Category { get; set; }

        [ExcelColumn("类别编号*")]
        public string CategoryCode { get; set; }

        [ExcelColumn("模具名称")]
        [DonnetValidate]
        [DonnetCreate]
        public string ToolName { get; set; }

        [ExcelColumn("模具编号*")]
        public string ToolCode { get; set; }

        [ExcelColumn("料号*")]
        public string PartNo { get; set; }

        [ExcelColumn("能否修磨(1->可修磨2->不可修磨)")]
        public string IsGrind { get; set; }

        [ExcelColumn("修磨次数")]
        public string GrindTimes { get; set; }

        [ExcelColumn("修磨方式(1->自主2->外协)")]
        public string GrindType { get; set; }

        [ExcelColumn("使用次数")]
        public string UseTimes { get; set; }
        /// <summary>
        /// 1需要测试2不需要测试
        /// </summary>
        [ExcelColumn("是否测试")]
        public string need_test { get; set; }
        //[ExcelColumn("是否检测")]
        //public string need_detection { get; set; }
    }
}
