using Siger.Middlelayer.Utility.ExcelImport;

namespace Siger.Middlelayer.Utility.ImportEntities
{
    public class InspectCategoryTemplate : ImportBase
    {
        [ExcelColumn("不良类别")]
        public string category { get; set; }

        [ExcelColumn("上级类别")]
        public string parent { get; set; }
    }

    public class InspectUnhealthyTemplate : ImportBase
    {
        [ExcelColumn("不良类别*")]
        public string category { get; set; }

        [ExcelColumn("不良名称*")]
        public string name { get; set; }

        [ExcelColumn("不良代码*")]
        public string code { get; set; }
    }

    public class InspectUnhealthyList : InspectUnhealthyTemplate
    {
        [ExcelColumn("序号")]
        [DonnetCreate]
        public int No { get; set; }
    }
}
