using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.QmsRepository.Response
{
    public class ResponseReworkDataEcharts
    {
        public List<string> X { get; set; } = new List<string>();

        public List<int> Y { get; set; } = new List<int>();

        public List<double> Rate { get; set; } = new List<double>();
        public List<ResponseWasteAnalysisEchartTable> Tables { get; set; } = new List<ResponseWasteAnalysisEchartTable>();
    }

    public class ReworkWasteList
    {
        public int ProductId { get; set; }
        public string Material { get; set; }
        public double Price { get; set; }
        public int Count { get; set; }

    }

    public class ResponseWasteAnalysisEchart
    {
        public List<string> X { get; set; } = new List<string>();
        public List<double> Y { get; set; } = new List<double>();
        public List<double> Z { get; set; } = new List<double>();
        public List<ResponseWasteAnalysisEchartTable> tables = new List<ResponseWasteAnalysisEchartTable>();
        
    }
    public class ResponseWasteAnalysisEchartTable
    {
        public string Item { get; set; }
        public double Val { get; set; }
        public double Rate { get; set; }
    }
}
