Files
rmutr_report/Models/budget/project_principle_rationale.cs
kamonwan taengsuk 54ecb6cf9c
All checks were successful
continuous-integration/drone/push Build is passing
bug fixed
2023-12-07 15:15:17 +07:00

583 lines
24 KiB
C#

using System.Collections.Generic;
using DocumentFormat.OpenXml.Office2010.ExcelAc;
namespace rmutr_report.Models
{
public class project_principle_rationale
{
public string budget_year_name_th { get; set; }
public string responsible_person { get; set; }
public string area { get; set; }
public string faculty { get; set; }
public string product { get; set; }
public string side { get; set; }
public string project { get; set; }
public string login_name { get; set; }
public List<activity_data> activity { get; set; }
public string together_with { get; set; }
public string strategic_plan { get; set; } //ข้อ 2
public List<project_activity_styles> project_activity_style { get; set; } //2. ลักษณะกิจกรรมโครงการ
public string target_second { get; set; }
public string subject_second { get; set; }
public string country_reform_plan { get; set; } //ข้อ 3
public string target_third { get; set; }
public string subject_third { get; set; }
public string pin { get; set; } //ข้อ 4
public string target_fourth { get; set; }
public string pin_fourth { get; set; }
public string principles_reasons { get; set; } //ข้อ 5
public List<sixth_data> sixth { get; set; } //ข้อ 6
//public List<seventh_data> seventh { get; set; } //ข้อ 7
public string identity1 { get; set; } //ข้อ 7 อัตลักษณ์
public string identity2 { get; set; } //ข้อ 7 เอกลักษณ์
public string description1 { get; set; } //ข้อ 7
public string description2 { get; set; } //ข้อ 7
public List<eighth_data> eighth { get; set; } //ข้อ 8
public List<ninth_data> ninth { get; set; } //ข้อ 9
public string explain_consistency1 { get; set; } //อธิบายความสอดคล้อง
public string explain_consistency2 { get; set; } //อธิบายความสอดคล้อง
public List<tenth_data> tenth { get; set; } //ข้อ 10
public string subject_eleventh { get; set; } //ข้อ 11
public string subject_twelfth { get; set; } //ข้อ 12
public string strategic_issues_thirteenth { get; set; } //ข้อ 13
public string subject_thirteenth { get; set; } //ข้อ 13
public string strategy_thirteenth { get; set; } //ข้อ 13
public decimal? durable_articles { get; set; } //งบลงทุน
public decimal? land_building { get; set; } // ค่าที่ดินและสิ่งก่อสร้าง
public List<fourteenth_data> fourteenth { get; set; } //ข้อ 14
public List<fifteenth_data> fifteenth { get; set; } //ข้อ 15
//public int? count_activity { get; set; } //ข้อ 16
public string text1 { get; set; } //ข้อ 16
public string text2 { get; set; } //ข้อ 16
public string operational_activitie { get; set; }//ข้อ 15 ง.5-3
public string evaluation { get; set; }//ข้อ 16 ง.5-3
// public int? total_target { get; set; } //ข้อ 16 ผลรวมกลุ่มเป้าหมาย
// public int? total_board { get; set; } //ข้อ 16 ผลรวมคณะกรรมการ
public List<sixteenth_data> sixteenth { get; set; } //ข้อ 16
public List<sixteenth_data_detail> sixteenths { get; set; } //ข้อ 16 detail ตาราง
public List<seventeenth_data> seventeenth { get; set; } //ข้อ 17
public int? count_day { get; set; } //ข้อ 18
public string text3 { get; set; } //ข้อ 18
public List<eighteenth_data> eighteenth { get; set; } //ข้อ 18
public List<nineteenth_data> nineteenth { get; set; } //ข้อ 19
public List<nineteenth_data1> nineteenth1 { get; set; } //ข้อ 19
public List<seventeenth_datas> seventeenth_thai { get; set; } //ข้อ 17
public List<eighteenths_datas> eighteenth_thai { get; set; } //ข้อ 18
public List<eighteenths_datas> nineteenth_thai { get; set; } //ข้อ 19
public List<project_activity_styles> nineteenth_style { get; set; } //ข้อ 19 ลักษณะโครงการ
public decimal? budget_amount { get; set; } //ข้อ 20
public List<twentieth_data> twentieth { get; set; } //ข้อ 20
public List<twenty_one_data> twenty_one { get; set; } //ข้อ 21
// public List<twenty_one_data_activity1> twenty_one_activity1 { get; set; } //ข้อ 21 มีหลายกิจกรรม
// public List<twenty_one_data_activity2> twenty_one_activity2 { get; set; } //ข้อ 21 มีหลายกิจกรรม
// public List<twenty_one_data_activity3> twenty_one_activity3 { get; set; } //ข้อ 21 มีหลายกิจกรรม
public string text4 { get; set; } //ข้อ 21
public string text5 { get; set; } //ข้อ 21
public string text6 { get; set; } //ข้อ 21
public List<twenty_two_data> twenty_two { get; set; } //ข้อ 22
public List<twenty_three_data> twenty_three { get; set; } //ข้อ 23
public List<twenty_four_data> twenty_four { get; set; } //ข้อ 24
public List<twenty_fifth_data> twenty_fifth { get; set; } //ข้อ 25
public string url_file1 { get; set; } //ง.5-3
public string url_file2 { get; set; } //ง.5-3
public string url_file3 { get; set; } //ข้อ 23 ง.5-3
}
public class activity_data
{
public string activity { get; set; }
}
public class project_activity_styles
{
public string style { get; set; }
}
public class sixth_data
{
public string objective{ get; set; }
}
// public class seventh_data
// {
// public string identity { get; set; }
// public string description { get; set; }
// }
public class eighth_data
{
public string strategic_issues { get; set; }
public string measure { get; set; }
}
public class ninth_data
{
public string clause { get; set; }
public List<ninth_data_detail> ninths { get; set; }
}
public class ninth_data_detail
{
public string detail { get; set; }
}
public class tenth_data
{
public string target { get; set; }
}
public class fourteenth_data
{
public string level { get; set; } //ข้อ 14
public string component { get; set; }
public string indicator { get; set; }
}
public class fifteenth_data
{
public string activity { get; set; }
//public string activity_table { get; set; }
//public List<fifteenth_data_detail> fifteenths { get; set; }
}
// public class fifteenth_data_detail
// {
// public string detail { get; set; }
// }
public class sixteenth_data
{
public string activity { get; set; }
}
public class sixteenth_data_detail
{
public string activity_table { get; set; }
public string budget_unit_name_th { get; set; }
public int? total_target { get; set; } //ข้อ 16 ผลรวมกลุ่มเป้าหมาย
public int? total_board { get; set; } //ข้อ 16 ผลรวมคณะกรรมการ
public int? count_activity { get; set; } //ข้อ 16 ผมรวมทั้งหมด
public List<sixteenth_data_details> sixteenths2 { 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 sixteenth_data_details
{
public string target_group { get; set; }
public decimal? salaya { get; set; }
public decimal? bophitphimuk{ get; set; }
public decimal? pohchang{ get; set; }
public decimal? klai_kangwon{ 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 seventeenth_data
{
public string activity { get; set; }
public List<seventeenth_data_detail> seventeenths { get; set; }
}
public class seventeenth_data_detail
{
public string the_time { get; set; }
public List<seventeenth_data_details> seventeenths2 { get; set; }
}
public class seventeenth_data_details // 1 in 2 out
{
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 string text1 { get; set; }
public string text2 { get; set; }
// public string province { get; set; }
// public string province_location { get; set; }
}
public class eighteenth_data
{
public string activity { get; set; }
public List<eighteenth_data_detail> eighteenths { get; set; }
}
public class eighteenth_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 nineteenth_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 nineteenth_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<nineteenth_data_headers> nineteenth_data_header { get; set; }
// public List<nineteenth_data_detail> nineteenths_compensation { get; set; }
// public List<nineteenth_data_detail2> nineteenths_expenses { get; set; }
// public List<nineteenth_data_detail3> nineteenths_material { get; set; }
}
public class nineteenth_data_headers
{
public string text4 { get; set; }
public decimal? budget_amount { get; set; }
public string activity { get; set; }
public List<nineteenth_data_detail> nineteenths_compensation { get; set; }
public List<nineteenth_data_detail2> nineteenths_expenses { get; set; }
public List<nineteenth_data_detail3> nineteenths_material { get; set; }
}
public class nineteenth_data_detail
{
public string header_name { get; set; }
public List<nineteenth_data_details> nineteenths2_compensation { get; set; }
}
public class nineteenth_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 nineteenth_data_detail2
{
public string header_name1 { get; set; }
public string header_name2 { get; set; }
public string header_name3 { get; set; }
public string header_name4 { get; set; }
public List<nineteenth2_data_details> nineteenths_expenses1 { get; set; }
public List<nineteenth2_data_details2> nineteenths_expenses2 { get; set; }
public List<nineteenth2_data_details2> nineteenths_expenses3 { get; set; }
public List<nineteenth2_data_details2> nineteenths_expenses4 { get; set; }
}
public class nineteenth2_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 nineteenth2_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 nineteenth2_data_details3
// {
//public string header_name3 { get; set; }
//public List<nineteenths_expenses3_detail> nineteenths_expenses3_details { get; set; }
//}
// public class nineteenths_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 nineteenth_data_detail3
{
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 twentieth_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 twenty_one_data
{
public string activity { get; set; }
public string remark { get; set; }
public List<twenty_one_data_detail> twenty_ones { get; set; }
}
public class twenty_one_data_detail
{
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 text11 { get; set; }
public string text12 { get; set; }
public string text13 { 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 clause1 { get; set; }
public string budget_unit_name_th { 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 range { get; set; }
public string percentage_finish { get; set; }
public string day { get; set; }
public string clause3 { get; set; }
public string percentage1 { get; set; }
public string percentage2 { get; set; }
public string percentage3 { get; set; }
public string acquired_knowledge { get; set; }
public string detail { get; set; }
//public string detail2 { get; set; }
public string clause4 { get; set; }
public decimal? expenses { get; set; }
public string target_1 { get; set; }
public string target_2 { get; set; }
public string target_3 { get; set; }
public string target_4 { get; set; }
public string results_1 { get; set; }
public string results_2 { get; set; }
public string results_3 { get; set; }
public string results_4 { get; set; }
}
// public class twenty_one_data_activity1
// {
// public string clause1 { get; set; }
// public string count_quantitative { get; set; }
// public string khrang1 { get; set; }
// public string text1 { get; set; }
// public string count_unit { get; set; }
// public string nuai_nap { get; set; }
// public string text2 { get; set; }
// public string count_project { get; set; }
// public string khrang2 { get; set; }
// public string text3 { get; set; }
// public string count_training { get; set; }
// public string rueang { get; set; }
// public string text4 { get; set; }
// public string count_knowledge { get; set; }
// public string khrang3 { get; set; }
// public List<twenty_one_data_activity1_detail> twenty_one_data_activity1_detail { get; set; }
//
// }
//
// public class twenty_one_data_activity1_detail
// {
// public string activity_clause1 { get; set; }
// public string text1 { get; set; }
// public string count_unit { get; set; }
// public string nuai_nap { get; set; }
// public string text2 { get; set; }
// public string count_project { get; set; }
// public string khrang2 { get; set; }
// public string text3 { get; set; }
// public string count_training { get; set; }
// public string rueang { get; set; }
// public string text4 { get; set; }
// public string count_knowledge { get; set; }
// public string khrang3 { get; set; }
// }
// public class twenty_one_data_activity2
// {
// public string clause2 { get; set; }
// public string activity_clause2 { get; set; }
//
// public string text5 { get; set; }
// public string project_start_date { get; set; }
// public string project_end_date { get; set; }
//
// public string text6 { get; set; }
// public string percentage_finish { get; set; }
//
// }
// public class twenty_one_data_activity3
// {
//
// public string text7 { get; set; }
// public string text8 { get; set; }
// public string text9 { get; set; }
// public string text10 { get; set; }
// public string clause3 { get; set; }
// public string percentage1 { get; set; }
// public string percentage2 { get; set; }
// public string acquired_knowledge { get; set; }
// public string detail1 { get; set; }
// public string detail2 { get; set; }
// public string clause4 { get; set; }
// public decimal? expenses { get; set; }
// public string bath { get; set; }
// }
public class twenty_two_data
{
public string list { get; set; }
}
public class twenty_three_data
{
public string list { get; set; }
}
public class twenty_four_data
{
public string activity { get; set; }
public List<twenty_four_data_detail> twenty_fours { get; set; }
}
public class twenty_four_data_detail
{
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 twenty_fifth_data
{
public List<string> activity { get; set; }
public string activitys { get; set; }
public string activity_display_name { get; set; }
public string dates { get; set; }
public List<string> location { get; set; }
public string locations { get; set; }
public List<twenty_fifth_data_details> twenty_fifth_data_detail { get; set; }
}
public class twenty_fifth_data_details
{
public string dates { get; set; }
public string times { get; set; }
public string detail { get; set; }
public string lecturer { get; set; }
public string in_out { get; set; }
}
}