221 lines
8.4 KiB
C#
221 lines
8.4 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace rmutr_report.Models
|
|
{
|
|
public class budget_summary_report
|
|
{
|
|
public string budget_year { get; set; }
|
|
public string agency_name_th { get; set; }
|
|
public List<budget_summary_report_detail>summary{ get; set; }
|
|
public decimal? budget_1 { get; set; }
|
|
public decimal? budget_2 { get; set; }
|
|
public decimal? budget_3 { get; set; }
|
|
public decimal? budget_4 { get; set; }
|
|
public decimal? budget_5 { get; set; }
|
|
public decimal? total_budget { get; set; }
|
|
public string product { get; set; }
|
|
public string set_request_year { get; set; }
|
|
public List<group_headers2> group_header { get; set; }
|
|
public string durable_articles_year { get; set; }
|
|
public string durable_articles_product { get; set; }
|
|
public List<durable_articles_headers> durable_articles_header { get; set; }
|
|
public string building_year { get; set; }
|
|
public string building_product { get; set; }
|
|
public List<building_headers1> building_header_1 { get; set; }
|
|
public List<building_headers2> building_header_2 { get; set; }
|
|
public string research_support_year { get; set; }
|
|
public string research_support_product { get; set; }
|
|
public List<operating_expenses_details>research_support{ get; set; }
|
|
public string subsidy_service_year { get; set; }
|
|
public string subsidy_service_product { get; set; }
|
|
public List<subsidy_service_headers> subsidy_service_header { get; set; }
|
|
public string subsidy_science_year { get; set; }
|
|
public List<subsidy_science_headers> subsidy_science_header { get; set; }
|
|
public string subsidy_society_year { get; set; }
|
|
public List<subsidy_science_headers> subsidy_society_header { get; set; }
|
|
public string subsidy_arts_culture_year { get; set; }
|
|
public List<subsidy_service_headers> subsidy_arts_culture_header { get; set; }
|
|
public string thailand_year { get; set; }
|
|
public List<subsidy_science_headers> thailand_header { get; set; }
|
|
public string subsidy_budget_project_year { get; set; }
|
|
public List<subsidy_service_headers> subsidy_budget_project_header { get; set; }
|
|
public string integrated_plan_name { get; set; }
|
|
public string integrated_plan_year { get; set; }
|
|
//public List<subsidy_science_headers> integrated_plan_header { get; set; }
|
|
public string strategic_plan_name { get; set; }
|
|
public string strategic_plan_year { get; set; }
|
|
//public List<subsidy_science_headers> strategic_plan_header { get; set; }
|
|
public List<subsidy_science_headers_detail>integrated_plan{ get; set; }
|
|
public List<subsidy_science_headers_detail>strategic_plan{ get; set; }
|
|
}
|
|
public class group_headers2
|
|
{
|
|
public string list_1 { get; set; }
|
|
public string list_2 { get; set; }
|
|
public string rowno { get; set; }
|
|
public string list_3 { get; set; }
|
|
public decimal? budget_amount { get; set; }
|
|
public decimal? total_amount_1 { get; set; }
|
|
public decimal? total_amount_2 { get; set; }
|
|
public List<expenditure_budget_proposal2> header { get; set; }
|
|
|
|
}
|
|
|
|
public class expenditure_budget_proposal2
|
|
{
|
|
public string rowno { get; set; }
|
|
public string header { get; set; }
|
|
public decimal? budget_amount { get; set; }
|
|
public List<expenditure_budget_proposals2> data_proposals { get; set; }
|
|
|
|
|
|
}
|
|
|
|
public class expenditure_budget_proposals2
|
|
{
|
|
public string list { get; set; }
|
|
public decimal? target_group_count { get; set; }
|
|
public string target_group_unit { get; set; }
|
|
public decimal? time_count { get; set; }
|
|
public string time_unit { get; set; }
|
|
public decimal? budget_count { get; set; }
|
|
public string budget_unit { get; set; }
|
|
public decimal? quantity { get; set; }
|
|
public string quantity_unit { get; set; }
|
|
public decimal? budget_amount { get; set; }
|
|
public List<expenditure_budget_proposals3> data_sub_proposals { get; set; }
|
|
|
|
|
|
}
|
|
|
|
public class expenditure_budget_proposals3
|
|
{
|
|
public string list { get; set; }
|
|
public decimal? target_group_count { get; set; }
|
|
public string target_group_unit { get; set; }
|
|
public decimal? time_count { get; set; }
|
|
public string time_unit { get; set; }
|
|
public decimal? budget_count { get; set; }
|
|
public string budget_unit { get; set; }
|
|
public decimal? quantity { get; set; }
|
|
public string quantity_unit { get; set; }
|
|
public decimal? budget_amount { get; set; }
|
|
}
|
|
public class budget_summary_report_detail
|
|
{
|
|
public string product { get; set; }
|
|
public decimal? budget_1 { get; set; }
|
|
public decimal? budget_2 { get; set; }
|
|
public decimal? budget_3 { get; set; }
|
|
public decimal? budget_4 { get; set; }
|
|
public decimal? budget_5 { get; set; }
|
|
public decimal? total_budget { get; set; }
|
|
|
|
}
|
|
|
|
public class operating_expenses_details
|
|
{
|
|
public string rowno { get; set; }
|
|
public string list { get; set; }
|
|
public decimal? amount { get; set; }
|
|
public string remark { get; set; }
|
|
}
|
|
|
|
public class durable_articles_headers
|
|
{
|
|
public string header_name { get; set; }
|
|
|
|
public List<durable_articles_detail>durable_articles{ get; set; }
|
|
|
|
}
|
|
|
|
public class durable_articles_detail
|
|
{
|
|
public string list { get; set; }
|
|
public string unit { get; set; }
|
|
public string unit_amount { get; set; }
|
|
public decimal? unit_price { get; set; }
|
|
public decimal? total_amount { get; set; }
|
|
public decimal? budget { get; set; }
|
|
public string company { get; set; }
|
|
public string in_country { get; set; }
|
|
public string out_country { get; set; }
|
|
public string type_1 { get; set; }
|
|
public string type_2 { get; set; }
|
|
public string type_3 { get; set; }
|
|
public string remark { get; set; }
|
|
}
|
|
|
|
public class building_headers1
|
|
{
|
|
public string header_name { get; set; }
|
|
public List<building_headers1_detail>building_1{ get; set; }
|
|
|
|
}
|
|
|
|
public class building_headers1_detail
|
|
{
|
|
public string rowno { get; set; }
|
|
public string list { get; set; }
|
|
}
|
|
public class building_headers2
|
|
{
|
|
public string header_name { get; set; }
|
|
public List<building_headers2_detail>building_2{ get; set; }
|
|
|
|
}
|
|
|
|
public class building_headers2_detail
|
|
{
|
|
public string list { get; set; }
|
|
public string unit { get; set; }
|
|
public string unit_amount { get; set; }
|
|
public decimal? unit_price { get; set; }
|
|
public decimal? total_amount { get; set; }
|
|
public string boq { get; set; }
|
|
public string pic { get; set; }
|
|
public string remark { get; set; }
|
|
|
|
}
|
|
|
|
public class subsidy_service_headers
|
|
{
|
|
public string header_name { get; set; }
|
|
public List<subsidy_service_headers_detail>subsidy_service{ get; set; }
|
|
public List<subsidy_service_headers_detail>subsidy_arts_culture{ get; set; }
|
|
public List<subsidy_service_headers_detail>subsidy_budget_project{ get; set; }
|
|
}
|
|
|
|
public class subsidy_service_headers_detail
|
|
{
|
|
public string list { get; set; }
|
|
public decimal? amount_1 { get; set; }
|
|
public decimal? amount_2 { get; set; }
|
|
public decimal? amount_3 { get; set; }
|
|
public decimal? amount_4 { get; set; }
|
|
public decimal? amount_5 { get; set; }
|
|
public decimal? amount_6 { get; set; }
|
|
public decimal? amount_7 { get; set; }
|
|
public string remark { get; set; }
|
|
|
|
}
|
|
|
|
public class subsidy_science_headers
|
|
{
|
|
public string header_name { get; set; }
|
|
public List<subsidy_science_headers_detail>subsidy_science{ get; set; }
|
|
public List<subsidy_science_headers_detail>subsidy_society{ get; set; }
|
|
public List<subsidy_science_headers_detail>thailand{ get; set; }
|
|
|
|
}
|
|
|
|
public class subsidy_science_headers_detail
|
|
{
|
|
public string list { get; set; }
|
|
public string unit { get; set; }
|
|
public decimal? unit_amount { get; set; }
|
|
public decimal? amount { get; set; }
|
|
public string remark { get; set; }
|
|
|
|
}
|
|
} |