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

namespace Siger.Middlelayer.TlmRepository.Request
{

    public class RequestProjectToollifeDetectionDetail
    {
        public int Page { get; set; } = 1;
        public int PageSize { get; set; } = 10;
        public int ProjectId { get; set; }
        /// <summary>
        /// 检查单号
        /// </summary>
        public string OrderNumber { get; set; }
        /// <summary>
        /// 检查单号(数组)
        /// </summary>
        public List<string> OrderNumbers { get; set; } = new List<string>();
    }
    public class RequestHandleDetectionDetail
    {
        /// <summary>
        /// 检查单号(数组)
        /// </summary>
        public List<RequestDetectionDetail> data { get; set; }
        /// <summary>
        /// 状态2检测完成4测试完成0退货
        /// 1和2检测
        /// 3和4测试
        /// </summary>
        public TlmDetectionState state { get; set; }
    }

    public class RequestDetectionDetail
    {
        /// <summary>
        /// 检测单
        /// </summary>
        public string OrderNumber { get; set; }
        /// <summary>
        /// 入库位置
        /// </summary>
        public int to { get; set; }
        /// <summary>
        /// 原因
        /// </summary>
        public string reason { get; set; }
    }
}
