using System.Collections.Generic;
using Siger.Middlelayer.Repository.Response;

namespace Siger.Middlelayer.CncRepository.Response
{
    public class ResponseGetProduceReport
    {
        public int id { get; set; }

        public int plan_id { get; set; }

        public int machineid { get; set; }

        public string code { get; set; }

        public string produced_program_number { get; set; } = string.Empty;

        public string start_time { get; set; }

        public string end_time { get; set; }

        public int actual_output { get; set; }

        public int output { get; set; }

        public int time { get; set; }

        public int nok_number { get; set; }

        public string worker_code { get; set; }

        public string worker_name { get; set; }

        public string draw_number { get; set; } = string.Empty;

        public string product_name { get; set; }

        public string product_code { get; set; }

        public int section_id { get; set; }

        public string start_end_time { get; set; }

        public string title { get; set; } = "";

        public string daytime { get; set; } = "";

        public List<ResponseIdName> users { get; set; }

        public string orderNumber { get; set; } = "";

        public string program_number { get; set; } = "";

        public string machineLocation { get; set; } = "";

        public int approval_status { get; set; }

        public int approval_usermid { get; set; } = 0;

        public string approval_username { get; set; } = "";

        public string approval_datetime { get; set; } = "";

        public string route_name { get; set; }

        public int plan_type { get; set; }

        public ResponseGetProduceReport()
        {
            users = new List<ResponseIdName>();
        }
    }
}
