using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Response
{
    public class ResponseGetSnTrace
    {
        public List<ResponseSnTrace> SnTraces { get; set; } = new List<ResponseSnTrace>();

        public List<ResponseSnTraceDetail> SnTraceDetails { get; set; } = new List<ResponseSnTraceDetail>();
    }

    public class ResponseSnTrace
    {
        public string seqid { get; set; }
        public string sn { get; set; }
        public string productid { get; set; }
        public string productid_value { get; set; }
        public int line { get; set; }
        public string line_value { get; set; }
        public string wo { get; set; }
        public int station { get; set; }
        public string station_value { get; set; }
        public int position { get; set; }
        public string position_value { get; set; }
        public string result { get; set; }
        public string transdatetime { get; set; }
        public string lastupdatetime { get; set; }

        public decimal yeild { get; set; }

        public int total { get; set; }

        public int okcol { get; set; }

        public int nocol { get; set; }
    }

    public class ResponseSnTraceDetail
    {
        public int ID { get; set; }
        public string SeqID { get; set; }
        public string SN { get; set; }
        public string Item { get; set; }
        public string Item2 { get; set; }
        public string Item3 { get; set; }
        public string Value { get; set; }
        public string Result { get; set; }
        public string Remarks { get; set; }
        public string Remarks2 { get; set; }
        public string Remarks3 { get; set; }

        public int count { get; set; }
    }
}
