using Siger.Middlelayer.Utility.ExcelImport;

namespace Siger.Middlelayer.Utility.ImportEntities
{
    public class AssemblyMaintenanceTemplate : ImportBase
    {
       // [ExcelColumn("生产线")]
       // [EmptyValidate("lineIsEmpty")]
        public string linename { get; set; }

        //[ExcelColumn("工站")]
        [ExcelColumn("产线层级")]
        public string stationname { get; set; }

        [ExcelColumn("产品编号")]
        public string serial_number { get; set; }

        [ExcelColumn("父物料")]
        public string parent_serial { get; set; }

        [ExcelColumn("子物料")]
        public string child_serial { get; set; }

        [ExcelColumn("数量")]
        public string quantity { get; set; }

        [ExcelColumn("规则")]
        public string role { get; set; }
    }

    public class AssemblyMaintenanceList : AssemblyMaintenanceTemplate
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        [DonnetCreate]
        public int No { get; set; }
    }
}
