using Siger.Middlelayer.Common.ModuleEnum;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.QmsRepository.Request
{
    public class RequestRepairlist
    {
        public int Section { get; set; }
        public int ProductId { get; set; }
        //public string Code { get; set; }
        //public string Name { get; set; }
        /// <summary>
        /// 返工工序
        /// </summary>
        public int Route { get; set; }
        /// <summary>
        /// 返工前工序
        /// </summary>
        public int PreRoute { get; set; }
        public int MaterialId { get; set; }
        //public string Pn { get; set; }
        //public string MaterialName { get; set; }
        //public string MaterialSpec { get; set; }
        public string Sn { get; set; }
        public DateTime BeginTime { get; set; }
        public DateTime EndTime { get; set; }
        public int Page { get; set; }
        public int PageSize { get; set; }
        public ReworkDataType reworkDataType { get; set; } = ReworkDataType.Rework;

    }

    public class RequestReworkSetting
    {
        public int Id { get; set; }
        public int ProductId { get; set; }
        public int MaterialId { get; set; }
        /// <summary>
        /// 前一个工序
        /// </summary>
        public int PreRoute { get; set; }
        /// <summary>
        /// 当前工序
        /// </summary>
        public int Route { get; set; }
    }

   

}
