using System.Collections.Generic;

namespace rmutr_report.Models
{
    public class building_four
    {
        public string agency_faculty { get; set; }
        public string major { get; set; }
        public string area { get; set; }
        public string responsible_person { get; set; }
        public string phone_no { get; set; }
        public string email { get; set; }
        public string product { get; set; }
        public string budget_year { get; set; }
        public List<building_four_detail> data  { get; set; }
        public string list { get; set; }
        public List<building_type> building_type { get; set; }
        public string year1 { get; set; }
        public string year2 { get; set; }
        public string year3 { get; set; }
        public string year4 { get; set; }
        public string year5 { get; set; } 
        public string year6 { get; set; } 
        public List<readiness_action> readiness_action { get; set; }
        public string necessity_reason { get; set; }
        public List<readiness_action> objective { get; set; }
        //public string objective { get; set; }
        public string utility { get; set; }
        public string processing_time { get; set; }
        public string start_date { get; set; }
        public string end_date { get; set; }
        public string total_day { get; set; }
        public List<readiness_action> basic_information { get; set; }
        public List<budget_limit> budget_limit { get; set; }
        public decimal? amount { get; set; } 
        public decimal? outside_amount { get; set; } 
        public decimal? total_amount { get; set; }
        public List<list_format> list_format { get; set; }
        public List<boq_price> boq { get; set; }
        public List<spending_plan> spending_plan { get; set; }
        public string budget_spending_plan_year { get; set; } 
        //public decimal? spending_plan_amount { get; set; } 
        public string project_name_1 { get; set; } 
        public string project_name_2 { get; set; } 
        public string project_name_3 { get; set; } 
        public string model_number_1 { get; set; } 
        public string model_number_2 { get; set; } 
        public string model_number_3 { get; set; } 
        public string number_pages_1 { get; set; } 
        public string number_pages_2 { get; set; } 
        public string number_pages_3 { get; set; } 
        public string calculate_price_date_1 { get; set; } 
        public string calculate_price_date_2 { get; set; } 
        public string calculate_price_date_3 { get; set; } 
        public decimal? construct_total_amount { get; set; } 
        public decimal? mid_amount { get; set; } 
        public string amount_bath_text { get; set; } 
        public decimal? total_amount_porro5_1 { get; set; } 
        public decimal? total_amount_porro5_2 { get; set; } 
        public decimal? square_meter { get; set; } 
        public decimal? square_meter_amount { get; set; }
        public List<materials_construction_labor> material_construction_labor1 { get; set; } 
        public List<materials_construction_labor2> material_construction_labor2 { get; set; } 
        public List<materials_construction_labor3> material_construction_labor3 { get; set; } 
        public string url_file { get; set; }
        public decimal? material_total_amount1 { get; set; }
        public decimal? material_total_amount2 { get; set; }
        public decimal? material_total_amount3 { get; set; }
        public decimal? full_limit  { get; set; }
        public decimal? national_budget { get; set; }
        public decimal? income_budget { get; set; }
        public List<details_division_work> detail_division_work { get; set; } 
        public List<details_division_work_table> detail_division_work_table { get; set; } 
        public string result { get; set; }
        public string cause_damage { get; set; }
        public string other_clarifications_consideration { get; set; }
        public decimal? sum_year1 { get; set; }
        public decimal? sum_year2 { get; set; }
        public decimal? sum_year3 { get; set; }
        public decimal? sum_year4 { get; set; }
        public decimal? sum_year5 { get; set; } 
        public decimal? sum_year6 { get; set; } 
        //public string bath { get; set; }

    }

    public class building_four_detail
    {
        public string list { get; set; }
        public decimal? amount { get; set; } 
    }

    public class building_type
    {
        public string type_name { get; set; }
        public string text { get; set; }

        public List<building_styles> building_style{ get; set; }
        public List<usage_per_target> usage_per_target{ get; set; }
        public string text_footer { get; set; }
        public string remark  { get; set; }

    }
    public class building_styles
    {
        public string list { get; set; }
        public string location { get; set; }
        public string build_year { get; set; }
        public string used_year { get; set; }
        public string quantity_floors { get; set; }
        public string note { get; set; } 
    }

    public class usage_per_target
    {
        public string list { get; set; }
        public decimal? used_year { get; set; }
        public decimal? year1 { get; set; }
        public decimal? year2 { get; set; }
        public decimal? year3 { get; set; }
        public decimal? year4 { get; set; }
        public decimal? year5 { get; set; } 
    }

    public class readiness_action
    {
        public string list { get; set; } 
    }

    public class budget_limit
    {
        public string budget_year { get; set; }
        public decimal? amount { get; set; } 
        public decimal? outside_amount { get; set; } 
        public decimal? total_amount { get; set; } 
    }

    public class list_format
    {
        public string pending { get; set; } 
        public string done { get; set; }  
        public string pending_design_month { get; set; }  
        public string done_design_month { get; set; }  
        public string approval_month { get; set; }  
        public string construction_contract_month { get; set; }  
         
    }

    public class boq_price
    {
        public string is_data { get; set; }
        public string text1 { get; set; }
        public string text2 { get; set; }
        public string text3 { get; set; }
        public string text4 { get; set; }
        public string text5 { get; set; }
        public string have { get; set; }
        public string pending_boq_month { get; set; }
        public string done_boq_month { get; set; }
        public string approval_month { get; set; }  
        public string construction_contract_month { get; set; }  
        //public string no_have { get; set; }
        public string months { get; set; }
        public string years { get; set; }
        public string step { get; set; }

    }

    public class spending_plan
    {
        public string list { get; set; } 
        public string month_1 { get; set; }
        public string month_2 { get; set; }
        public string month_3 { get; set; }
        public string month_4 { get; set; }
        public string month_5 { get; set; }
        public string month_6 { get; set; }
        public string month_7 { get; set; }
        public string month_8 { get; set; }
        public string month_9 { get; set; }
        public string month_10 { get; set; }
        public string month_11 { get; set; }
        public string month_12 { get; set; }
    }

   
    public class materials_construction_labor
    {
        public string list { get; set; }
        public decimal? amount { get; set; }
        public string note { get; set; }
    }
    public class materials_construction_labor2
    {
        public string list { get; set; }
        public decimal? amount1 { get; set; }
        public decimal? factor { get; set; }
        public decimal? amount2 { get; set; }
        public string note { get; set; }
    }
    public class materials_construction_labor3
    {
        public string list { get; set; }
        public decimal? amount1 { get; set; }
        public decimal? vat { get; set; }
        public decimal? amount2 { get; set; }
        public string note { get; set; }
    }
    public class details_division_work
    {
        public string budget_year { get; set; }
        public decimal? amount { get; set; } 
    }

    public class details_division_work_table
    {
        public string installment { get; set; } 
        public string percentage { get; set; } 
        public string contracted_date { get; set; } 
        public string inspection_date { get; set; } 
        public decimal? amount { get; set; } 
        public decimal? cumulative_payment { get; set; } 

    }

    }