using System.Collections.Generic;

namespace rmutr_report.Models
{
    public class conservation_project
    {
        public string product { get; set; }  
        public string project { get; set; }  
        public string faculty { get; set; }
        public string project_name { get; set; }  
        public List<activitys_data> activity { get; set; }  
        public string project_activitie { get; set; }  //ข้อ 2
        public string principles_reasons  { get; set; } //ข้อ 3
        public string objective  { get; set; } //ข้อ 4
        public List<five_data> five { get; set; }   //ข้อ 5
        public string strategic_issues { get; set; }   //ข้อ 6
        public string subject { get; set; }   //ข้อ 6
        public string strategy { get; set; }   //ข้อ 6
        public string consistency_ministry { get; set; }   //ข้อ 7
        public string consistency_agency { get; set; }   //ข้อ 8
        public List<ninths_data> ninth { get; set; }   //ข้อ 9
        public List<tenths_data> tenth { get; set; }   //ข้อ 10
        // public int? count_day { get; set; } //ข้อ 11
        // public string text3 { get; set; }  //ข้อ 11
        public List<eleventh_data> eleventh { get; set; }   //ข้อ 11
        public string count_activity { get; set; }  //ข้อ 12
        public List<twelfth_data> twelfth { get; set; }   //ข้อ 12
        public List<twelfth_data_detail> twelfths { get; set; }  //ข้อ 12 detail ตาราง
        public List<thirteenth_data> thirteenth { get; set; }   //ข้อ 13
        //public List<thirteenth_data1> thirteenth1 { get; set; }   //ข้อ 13
        public decimal? durable_articles { get; set; } //งบลงทุน
        public decimal? land_building { get; set; } //งบลงทุน
        public string url_file1 { get; set; } //งบลงทุน
        public string url_file2 { get; set; } //งบลงทุน
        public List<fourteenths_data> fourteenth { get; set; }//ข้อ 14
        public string operational_activitie { get; set; }//ข้อ 15
        public string evaluation { get; set; }//ข้อ 16
        public decimal? budget_amount { get; set; } //ข้อ 17
        public List<seventeenths_data> seventeenth{ get; set; }   //ข้อ 17
        public List<eighteenths_data> eighteenth { get; set; }  //ข้อ 18
        public List<nineteenths_data> nineteenth { get; set; }   //ข้อ 19
        public List<twentieths_data> twentieth { get; set; }   //ข้อ 20
        public List<twentieths_data> twenty_one { get; set; }   //ข้อ 21
        public List<twentys_two_data> twenty_two { get; set; }  //ข้อ 22
        public string url_file3 { get; set; } //ข้อ 23
    }

    public class activitys_data
    {
        public string activity { get; set; }  
    }

    public class five_data
    {
        public string strategic_issues  { get; set; } 
        public string measure  { get; set; } 
    }

    public class ninths_data
    {
        public string activity { 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 text6 { get; set; } 
        public string responsible_person  { get; set; }
        public string agency  { get; set; }
        public string area  { get; set; }
        public string telephone_number   { get; set; }
        public string mobile_number  { get; set; }
        public string email  { get; set; }
    }

    public class tenths_data
    {
        public string activity { get; set; }  
        public List<tenths_data_detail> tenths { get; set; } 
    }

    public class tenths_data_detail
    {
        public string the_time { get; set; }
        public List<tenths_data_details> tenths2 { get; set; } 
    }

    public class tenths_data_details
    {
        public string internal_external1 { get; set; }
        public string area_province1 { get; set; }
        public string location1 { get; set; }
        public string internal_external2 { get; set; }
        public string area_province2 { get; set; }
        public string location2 { get; set; }
    }

    public class eleventh_data
    {
        public string activity { get; set; } 
        public List<eleventh_data_detail> elevenths { get; set; } 
    }
  public class eleventh_data_detail
    {
        public string the_time { get; set; }
        public string count_day { get; set; }
        public string start_date { get; set; }
        public string end_date { get; set; }
    }

  public class twelfth_data
  {
      public string activity { get; set; }  
  }
  public class twelfth_data_detail
  {
      public string activity_table { get; set; }
      public List<twelfth_data_detail_details> twelfths2 { get; set; }

  }

  public class twelfth_data_detail_details
  {
       public decimal? salaya_executive { get; set; }
        public decimal? bophitphimuk_executive { get; set; }
        public decimal? pohchang_executive { get; set; }
        public decimal? klai_kangwon_executive { get; set; }
        public decimal? salaya_teacher { get; set; }
        public decimal? bophitphimuk_teacher { get; set; }
        public decimal? pohchang_teacher { get; set; }
        public decimal? klai_kangwon_teacher { get; set; }
        public decimal? salaya_officer { get; set; }
        public decimal? bophitphimuk_officer { get; set; }
        public decimal? pohchang_officer { get; set; }
        public decimal? klai_kangwon_officer { get; set; }
        public decimal? salaya_internal_student { get; set; }
        public decimal? bophitphimuk_internal_student  { get; set; }
        public decimal? pohchang_internal_student  { get; set; }
        public decimal? klai_kangwon_internal_student  { get; set; }
        public decimal? salaya_external_student{ get; set; }
        public decimal? bophitphimuk_external_student  { get; set; }
        public decimal? pohchang_external_student { get; set; }
        public decimal? klai_kangwon_external_student  { get; set; }
        public decimal? salaya_person { get; set; }
        public decimal? bophitphimuk_person { get; set; }
        public decimal? pohchang_person{ get; set; }
        public decimal? klai_kangwon_person { get; set; }
        public decimal? salaya_lecturer { get; set; }
        public decimal? bophitphimuk_lecturer { get; set; }
        public decimal? pohchang_lecturer { get; set; }
        public decimal? klai_kangwon_lecturer{ get; set; }
        
        public decimal? salaya_board { get; set; }
        public decimal? bophitphimuk_board { get; set; }
        public decimal? pohchang_board { get; set; }
        public decimal? klai_kangwon_board { get; set; }
        
        public decimal? salaya_driver { get; set; }
        public decimal? bophitphimuk_driver { get; set; }
        public decimal? pohchang_driver { get; set; }
        public decimal? klai_kangwon_driver{ get; set; }
        
        public decimal? salaya_other { get; set; }
        public decimal? bophitphimuk_other { get; set; }
        public decimal? pohchang_other { get; set; }
        public decimal? klai_kangwon_other { get; set; }
        
        public decimal? salaya_total { get; set; }
        public decimal? bophitphimuk_total { get; set; }
        public decimal? pohchang_total { get; set; }
        public decimal? klai_kangwon_total { get; set; }
  }

  // public class thirteenth_data1
  // {
  //     public string text1 { get; set; } 
  //     public string text2 { get; set; } 
  //     public string text3 { get; set; } 
  //     public decimal? total_compensation { get; set; } 
  //     public decimal? total_expenses { get; set; } 
  //     public decimal? total_material { get; set; } 
  // }
  public class thirteenth_data
  {
      public decimal? budget_total_amount { get; set; } 
      //public string text { get; set; } 
      //public decimal? total { get; set; } 
      //public decimal? total_expenses { get; set; } 
      //public decimal? total_material { get; set; } 
      //public string activity { get; set; }
      //public decimal? budget_amount { get; set; } 
      public  decimal? compensation { get; set; }
      public  decimal? expenses { get; set; }
      public  decimal? material { get; set; }
      public string text1 { get; set; } 
      public string text2 { get; set; } 
      public string text3 { get; set; } 
      public decimal? total_compensation { get; set; } 
      public decimal? total_expenses { get; set; } 
      public decimal? total_material { get; set; } 
      
      public List<thirteenth_data_headers> thirteenth_data_header { get; set; } 
  }

  public class thirteenth_data_headers
  {
      public string text4 { get; set; } 
      public decimal? budget_amount { get; set; }
      public string activity { get; set; }
      public List<thirteenth_data_detail> thirteenths_compensation { get; set; } 
      public List<thirteenth_data_detail2> thirteenths_expenses { get; set; } 
      public List<thirteenth_data_detail3> thirteenths_material { get; set; } 
  }

  public class thirteenth_data_detail
  {
      public string header_name { get; set; } 
      public decimal? amount { get; set; } 
      public List<thirteenth_data_details> thirteenths2_compensation { get; set; } 
  }

  public class thirteenth_data_details
  {
      public string name { get; set; }  
      public decimal? hour { get; set; }  
      public decimal? amount { get; set; }  
      public decimal? count_person { get; set; }  
      public decimal? total_amount { get; set; }
  }
  public class thirteenth_data_detail2
  {
      public string header_name1 { get; set; } 
      public decimal? amount { get; set; }
      public string header_name2 { get; set; } 
      //public string header_name3 { get; set; } 
      public List<thirteenth2_data_details> thirteenths_expenses1 { get; set; } 
      public List<thirteenth2_data_details2> thirteenths_expenses2 { get; set; } 
      public List<thirteenth2_data_details3> thirteenths_expenses3 { get; set; } 
  }

  public class thirteenth2_data_details
  {
      public string name { get; set; }  
      public decimal? amount { get; set; }  
      public decimal? count_person { get; set; }  
      public decimal? total_amount { get; set; }    
  }

  public class thirteenth2_data_details2
  {
      public string name { get; set; }  
      public decimal? amount { get; set; }  
      public decimal? day { get; set; }  
      public decimal? count_person { get; set; }  
      public decimal? total_amount { get; set; }    
  }
  public class thirteenth2_data_details3
  {
     
      public string header_name3 { get; set; } 
      public List<thirteenths_expenses3_detail> thirteenths_expenses3_details { get; set; } 

        
  }

  public class thirteenths_expenses3_detail
  {
      public string name { get; set; }  
      public decimal? amount { get; set; }  
      public decimal? potion { get; set; }  
      public decimal? count_person { get; set; }  
      public decimal? total_amount { get; set; }   
  }

  public class thirteenth_data_detail3
  {
      
      public decimal? amount { get; set; } 
      public List<thirteenth_data_materials> thirteenths2_material { get; set; } 

  }

  public class thirteenth_data_materials
  {
      public string name { get; set; }  
      public string unit { get; set; }  
      public decimal? amount { get; set; }  
      public decimal? unit_price { get; set; }  
      public decimal? total_amount { get; set; } 
  }

  public class fourteenths_data
  {
      public string side { get; set; } 
  }

  public class seventeenths_data
  {
      public string action_plan { 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 eighteenths_data
  {
      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 text6 { get; set; } 
      public string text7 { get; set; } 
      public string text8 { get; set; } 
      // public string text9 { get; set; } 
      // public string text10 { get; set; } 
      public string bath { get; set; } 
      public string nuai_nap { get; set; } 
      public string khrang1 { get; set; } 
      public string khrang2 { get; set; } 
      public string khrang3 { get; set; } 
      public string rueang { get; set; } 
      public string activity { get; set; }
      public string clause1 { get; set; }
      public string count_quantitative { get; set; }
      public string count_unit { get; set; }
      public string count_project { get; set; }
      public string count_training { get; set; }
      public string count_knowledge { get; set; }
      public string clause2 { get; set; }
      public string project_start_date { get; set; }
      public string project_end_date { get; set; }
      public string percentage_finish { get; set; }
      public string clause3 { get; set; }
      public string percentage1 { get; set; }
      public string percentage2 { get; set; }
      public string target1 { get; set; }
      public string target2 { get; set; }
      public string target3 { get; set; }
      public string results1 { get; set; }
      public string results2 { get; set; }
      public string results3 { get; set; }
      public string clause4 { get; set; }
      public decimal? expenses { get; set; }
  }

  public class nineteenths_data
  {
      public string type_project { get; set; }
  }

  public class twentieths_data
  {
      public string target { get; set; }
      public string positive { get; set; }
      public string negative { get; set; }
  }

  public class twentys_two_data
  {
      public string activity  { get; set; }
      public string activity_display_name  { get; set; }
      public string dates  { get; set; }
      public string location  { get; set; }
      public List<twentys_two_data_details> twenty_two_data_detail  { get; set; }
  }

  public class twentys_two_data_details
  {
      public string dates  { get; set; }
      public string times  { get; set; }
      public string detail  { get; set; }
      public string lecturer  { get; set; }
  }
}