using System;
using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestAddDataCollection
    {
        public List<DataCollectionDetail> details { get; set; } = new List<DataCollectionDetail>();

        public int productid { get; set; }

        public string materialid { get; set; }

        public int sectionid { get; set; }

        public string routeid { get; set; }

        public string workorder { get; set; }

        public string sn { get; set; }

        public string result { get; set; }

        public int checktype { get; set; }

        public string reason { get; set; }

        public string number { get; set; }

        public string quantity { get; set; }
    }

    public class DataCollectionDetail
    {
        public int index { get; set; }

        public int id { get; set; }

        public int itemid { get; set; }

        public int checktype { get; set; }

        public string result { get; set; }

        public double? value { get; set; }

        public double? lowerlimit { get; set; }

        public double? upperlimit { get; set; }
    }
}
