add report

This commit is contained in:
kamonwan taengsuk
2023-07-21 17:46:07 +07:00
parent be0182b6ac
commit adc335b53a
20 changed files with 1079 additions and 144 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class compensation_head
{
public string budget_year { get; set; }
public string date_range { get; set; }
public string product { get; set; }
public string agency_name_th { get; set; }
public string sector { get; set; }
public decimal? total_amount { get; set; }
public List<compensation_head_detail> data { get; set; }
}
public class compensation_head_detail
{
public string department { get; set; }
public string display_name { get; set; }
public decimal? rate { get; set; }
public decimal? budget_amount { get; set; }
public string remark { get; set; }
}
}

View File

@@ -0,0 +1,108 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class material_education
{
public string product { get; set; }
public string agency_name_th { get; set; }
public string sector { get; set; }
public string semester_year_1 { get; set; }
public string semester_year_2 { get; set; }
public string material_semester_year_1 { get; set; }
public string material_semester_year_2 { get; set; }
//
public decimal? semester_year_1_level_1 { get; set; }
public decimal? semester_year_1_level_2 { get; set; }
public decimal? semester_year_1_level_3 { get; set; }
public decimal? semester_year_1_level_4 { get; set; }
public decimal? semester_year_1_level_5 { get; set; }
public decimal? total_semester_year_level_1 { get; set; }
public decimal? rate_semester_year_level_1 { get; set; }
public decimal? material_amount_1 { get; set; }
//
public decimal? semester_year_2_level_1 { get; set; }
public decimal? semester_year_2_level_2 { get; set; }
public decimal? semester_year_2_level_3 { get; set; }
public decimal? semester_year_2_level_4 { get; set; }
public decimal? semester_year_2_level_5 { get; set; }
public decimal? total_semester_year_level_2 { get; set; }
public decimal? rate_semester_year_level_2 { get; set; }
public decimal? material_amount_2 { get; set; }
public decimal? total_material { get; set; }
public List<material_education_detail1> data_1 { get; set; }
}
public class material_education_detail1
{
public string education_level { get; set; }
public decimal? semester_year_1_level_1 { get; set; }
public decimal? semester_year_1_level_2 { get; set; }
public decimal? semester_year_1_level_3 { get; set; }
public decimal? semester_year_1_level_4 { get; set; }
public decimal? semester_year_1_level_5 { get; set; }
public decimal? total_semester_year_level_1 { get; set; }
public decimal? rate_semester_year_level_1 { get; set; }
public decimal? material_amount_1 { get; set; }
//
public decimal? semester_year_2_level_1 { get; set; }
public decimal? semester_year_2_level_2 { get; set; }
public decimal? semester_year_2_level_3 { get; set; }
public decimal? semester_year_2_level_4 { get; set; }
public decimal? semester_year_2_level_5 { get; set; }
public decimal? total_semester_year_level_2 { get; set; }
public decimal? rate_semester_year_level_2 { get; set; }
public decimal? material_amount_2 { get; set; }
public decimal? total_material { get; set; }
public List<material_education_detail2> data_2 { get; set; }
}
public class material_education_detail2
{
public string curriculum { get; set; }
public decimal? semester_year_1_level_1 { get; set; }
public decimal? semester_year_1_level_2 { get; set; }
public decimal? semester_year_1_level_3 { get; set; }
public decimal? semester_year_1_level_4 { get; set; }
public decimal? semester_year_1_level_5 { get; set; }
public decimal? total_semester_year_level_1 { get; set; }
public decimal? rate_semester_year_level_1 { get; set; }
public decimal? material_amount_1 { get; set; }
//
public decimal? semester_year_2_level_1 { get; set; }
public decimal? semester_year_2_level_2 { get; set; }
public decimal? semester_year_2_level_3 { get; set; }
public decimal? semester_year_2_level_4 { get; set; }
public decimal? semester_year_2_level_5 { get; set; }
public decimal? total_semester_year_level_2 { get; set; }
public decimal? rate_semester_year_level_2 { get; set; }
public decimal? material_amount_2 { get; set; }
public decimal? total_material { get; set; }
public List<material_education_detail3> data_3 { get; set; }
}
public class material_education_detail3
{
public string major { get; set; }
public decimal? semester_year_1_level_1 { get; set; }
public decimal? semester_year_1_level_2 { get; set; }
public decimal? semester_year_1_level_3 { get; set; }
public decimal? semester_year_1_level_4 { get; set; }
public decimal? semester_year_1_level_5 { get; set; }
public decimal? total_semester_year_level_1 { get; set; }
public decimal? rate_semester_year_level_1 { get; set; }
public decimal? material_amount_1 { get; set; }
//
public decimal? semester_year_2_level_1 { get; set; }
public decimal? semester_year_2_level_2 { get; set; }
public decimal? semester_year_2_level_3 { get; set; }
public decimal? semester_year_2_level_4 { get; set; }
public decimal? semester_year_2_level_5 { get; set; }
public decimal? total_semester_year_level_2 { get; set; }
public decimal? rate_semester_year_level_2 { get; set; }
public decimal? material_amount_2 { get; set; }
public decimal? total_material { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class material_fuel_lubricant
{
public string product { get; set; }
public string agency_name_th { get; set; }
public string sector { get; set; }
public decimal? total_amount { get; set; }
public List<material_fuel_lubricant_detail> data { get; set; }
}
public class material_fuel_lubricant_detail
{
public string type { get; set; }
public decimal? total_amount { get; set; }
public List<material_fuel_lubricant_data_detail> data_detail { get; set; }
}
public class material_fuel_lubricant_data_detail
{
public string rowno { get; set; }
public string type { get; set; }
public string registration_number { get; set; }
public decimal? distance { get; set; }
public decimal? average_rate { get; set; }
public decimal? total_amount { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class material_ro_three
{
public string product { get; set; }
public string agency_name_th { get; set; }
public string sector { get; set; }
public decimal? total_amount { get; set; }
public List<material_ro_three_detail> data { get; set; }
}
public class material_ro_three_detail
{
public string list { get; set; }
public decimal? amount { get; set; }
public decimal? unit_price { get; set; }
public decimal? material_amount { get; set; }
public string remark { get; set; }
}
}

View File

@@ -0,0 +1,74 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class operating_budget_ro_three
{
public string budget_year { get; set; }
public string date_range { get; set; }
public string product { get; set; }
public string agency_name_th { get; set; }
public string sector { get; set; }
public string disbursement_result_year { get; set; }
public string set_year { get; set; }
public List<operating_budget_ro_three_detail> data_1 { get; set; }
}
public class operating_budget_ro_three_detail
{
public string list { get; set; }
public decimal? amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? quantity_1 { get; set; }
public decimal? quantity_2 { get; set; }
public decimal? rate { get; set; }
public decimal? total_amount { get; set; }
public string remark { get; set; }
public List<operating_budget_ro_three_detail2> data_2{ get; set; }
}
public class operating_budget_ro_three_detail2
{
public int? rowno { get; set; }
public string list { get; set; }
public decimal? amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? quantity_1 { get; set; }
public decimal? quantity_2 { get; set; }
public decimal? rate { get; set; }
public decimal? total_amount { get; set; }
public string remark { get; set; }
public List<operating_budget_ro_three_detail3> data_3{ get; set; }
}
public class operating_budget_ro_three_detail3
{
public int? rowno { get; set; }
public string list { get; set; }
public decimal? amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? quantity_1 { get; set; }
public decimal? quantity_2 { get; set; }
public decimal? rate { get; set; }
public decimal? total_amount { get; set; }
public string remark { get; set; }
public List<operating_budget_ro_three_detail4> data_4{ get; set; }
}
public class operating_budget_ro_three_detail4
{
public string list { get; set; }
public decimal? amount_1 { get; set; }
public decimal? amount_2 { get; set; }
public decimal? quantity_1 { get; set; }
public decimal? quantity_2 { get; set; }
public decimal? rate { get; set; }
public decimal? total_amount { get; set; }
public string remark { get; set; }
}
}

View File

@@ -0,0 +1,64 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class revenue_estimate_education_fee
{
public string budget_year { get; set; }
public string area { get; set; }
public string faculty { get; set; }
public string semester { get; set; }
public string year { get; set; }
public string budget_project_name_th { get; set; }
public List<revenue_estimate_education_fee_detail1> data_1 { get; set; }
public string side { get; set; }
public decimal? total_curriculum { get; set; }
public decimal? total_revenue { get; set; }
}
public class revenue_estimate_education_fee_detail1
{
public string curriculum { get; set; }
public List<revenue_estimate_education_fee_detail2> data_2 { get; set; }
}
public class revenue_estimate_education_fee_detail2
{
public string year_class { get; set; }
public string code { get; set; }
public decimal? credits_1 { get; set; }
public decimal? credits_2 { get; set; }
public decimal? total_credits { get; set; }
public decimal? register_credits { get; set; }
public string major { get; set; }
public decimal? students { get; set; }
public decimal? education_fee { get; set; }
public decimal? total_education_fee { get; set; }
public decimal? depreciation { get; set; }
public decimal? balance { get; set; }
public decimal? allocation { get; set; }
public decimal? total_allocation_amount { get; set; }
public List<revenue_estimate_education_fee_detail3> data_3 { get; set; }
}
public class revenue_estimate_education_fee_detail3
{
public string topic_code { get; set; }
public string topic { get; set; }
public decimal? credits_1 { get; set; }
public decimal? credits_2 { get; set; }
public decimal? total_credits { get; set; }
public decimal? register_credits { get; set; }
public string major { get; set; }
public decimal? students { get; set; }
public decimal? education_fee { get; set; }
public decimal? total_education_fee { get; set; }
public decimal? depreciation { get; set; }
public decimal? balance { get; set; }
public decimal? allocation { get; set; }
public decimal? total_allocation_amount { get; set; }
}
}

View File

@@ -0,0 +1,55 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class revenue_estimate_income_summary
{
public string budget_year { get; set; }
public string date_range { get; set; }
public string area { get; set; }
public string register_semester_year_1 { get; set; }
public string register_semester_year_2 { get; set; }
public string education_semester_year_1 { get; set; }
public string education_semester_year_2 { get; set; }
public List<revenue_estimate_income_summary_detail> data{ get; set; }
public decimal? sum_1 { get; set; }
public decimal? sum_2 { get; set; }
public decimal? sum_3 { get; set; }
public decimal? sum_4 { get; set; }
public decimal? sum_5 { get; set; }
public decimal? sum_6 { get; set; }
public decimal? sum_7 { get; set; }
public decimal? sum_8 { get; set; }
public decimal? sum_9 { get; set; }
public decimal? sum_10 { get; set; }
public decimal? sum_11 { get; set; }
public decimal? sum_12 { get; set; }
public decimal? sum_13 { get; set; }
public string maker { get; set; }
public string position_maker { get; set; }
public string maker_date { get; set; }
public string test { get; set; }
public string position_test { get; set; }
public string test_date { get; set; }
}
public class revenue_estimate_income_summary_detail
{
public string faculty { get; set; }
public decimal? science_1 { get; set; }
public decimal? social_1 { get; set; }
public decimal? science_2 { get; set; }
public decimal? social_2 { get; set; }
public decimal? total_register_fee { get; set; }
public decimal? science_3 { get; set; }
public decimal? social_3 { get; set; }
public decimal? science_4 { get; set; }
public decimal? social_4 { get; set; }
public decimal? total_education_fee { get; set; }
public decimal? total_science { get; set; }
public decimal? total_social { get; set; }
public decimal? total_science_social { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace rmutr_report.Models.RoThree
{
public class revenue_estimate_register_credits
{
}
}

View File

@@ -0,0 +1,88 @@
using System.Collections.Generic;
namespace rmutr_report.Models.RoThree
{
public class teaching_fee_ro_three
{
public string budget_year_1 { get; set; }
public string date_range_1 { get; set; }
public string product_1 { get; set; }
public string semester_1 { get; set; }
public string academic_year_1 { get; set; }
public string agency_name_th_1 { get; set; }
public string sector_1 { get; set; }
public string disbursement_result_year_1 { get; set; }
public string disbursement_result_semester_1 { get; set; }
public List<teaching_fee_ro_three_data_1> data_1 { get; set; }
//
public decimal? table_1_ba_1 { get; set; }
public decimal? table_1_ma_1 { get; set; }
public decimal? table_1_ba_2 { get; set; }
public decimal? table_1_ma_2 { get; set; }
public decimal? table_1_ba_3 { get; set; }
public decimal? table_1_ma_3 { get; set; }
public decimal? table_1_teaching_fee_1 { get; set; }
public decimal? table_1_teaching_fee_2 { get; set; }
public decimal? table_1_total { get; set; }
public string budget_year_2 { get; set; }
public string date_range_2 { get; set; }
public string product_2 { get; set; }
public string semester_2 { get; set; }
public string academic_year_2 { get; set; }
public string agency_name_th_2 { get; set; }
public string sector_2 { get; set; }
public string disbursement_result_year_2 { get; set; }
public string disbursement_result_semester_2 { get; set; }
public List<teaching_fee_ro_three_data_1> data_2 { get; set; }
//
public decimal? table_2_ba_1 { get; set; }
public decimal? table_2_ma_1 { get; set; }
public decimal? table_2_ba_2 { get; set; }
public decimal? table_2_ma_2 { get; set; }
public decimal? table_2_ba_3 { get; set; }
public decimal? table_2_ma_3 { get; set; }
public decimal? table_2_teaching_fee_1 { get; set; }
public decimal? table_2_teaching_fee_2 { get; set; }
public decimal? table_2_total { get; set; }
public string budget_year_3 { get; set; }
public string date_range_3 { get; set; }
public string product_3 { get; set; }
public string semester_3 { get; set; }
public string academic_year_3 { get; set; }
public string agency_name_th_3 { get; set; }
public string sector_3 { get; set; }
public string disbursement_result_year_3 { get; set; }
public string disbursement_result_semester_3 { get; set; }
public List<teaching_fee_ro_three_data_1> data_3 { get; set; }
//
public decimal? table_3_ba_1 { get; set; }
public decimal? table_3_ma_1 { get; set; }
public decimal? table_3_ba_2 { get; set; }
public decimal? table_3_ma_2 { get; set; }
public decimal? table_3_ba_3 { get; set; }
public decimal? table_3_ma_3 { get; set; }
public decimal? table_3_teaching_fee_1 { get; set; }
public decimal? table_3_teaching_fee_2 { get; set; }
public decimal? table_3_total { get; set; }
}
public class teaching_fee_ro_three_data_1
{
public string display_name { get; set; }
public string position { get; set; }
public decimal? disbursement_result { get; set; }
public decimal? number_of_hours_ba_1 { get; set; }
public decimal? number_of_hours_ma_1 { get; set; }
public decimal? number_of_hours_ba_2 { get; set; }
public decimal? number_of_hours_ma_2 { get; set; }
public decimal? number_of_hours_ba_3 { get; set; }
public decimal? number_of_hours_ma_3 { get; set; }
public decimal? excess_teaching_fee_1 { get; set; }
public decimal? excess_teaching_fee_2 { get; set; }
public decimal? total { get; set; }
}
}