3ce12e73fc
continuous-integration/drone/push Build is passing
เดิมรายงานยังผูกกับ checkbox แบบเก่า 7 ตัวเลือก (bool_13_1-7) ที่หน้าเว็บไม่ได้ใช้แล้ว เปลี่ยนเป็นแสดงชื่อ+ตัวชี้วัดที่เลือกจริงของแต่ละหมวด (รวมข้อความด้วยขึ้นบรรทัดใหม่) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FyqMVwbVZLfTe8QJSmrUjQ
391 lines
17 KiB
C#
391 lines
17 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
public class agency_report
|
|
{
|
|
[Key] public Guid? agency_report_uid { get; set; }
|
|
public Guid? change_project_detail_uid { get; set; }
|
|
public string budget_year_uid { get; set; }
|
|
public string budget_year_name_th { get; set; }
|
|
public string project_name_th { get; set; }
|
|
public string responsible_agency_name_th { get; set; }
|
|
|
|
public string responsible_faculty_name_th { get; set; }
|
|
|
|
//4. ระยะเวลาดำเนินโครงการ
|
|
public DateTime? start_date { get; set; }
|
|
|
|
public DateTime? end_date { get; set; }
|
|
public string startdate { get; set; }
|
|
public string enddate { get; set; }
|
|
|
|
//5. สถานที่ดำเนินโครงการ
|
|
public string location { get; set; }
|
|
|
|
//6. ผลผลิต
|
|
public string text_6 { get; set; }
|
|
|
|
//7
|
|
public string text_7 { get; set; }
|
|
|
|
public string text_9 { get; set; }
|
|
|
|
public string text_10 { get; set; }
|
|
|
|
//11. งบประมาณ
|
|
public bool? bool_11_1 { get; set; }
|
|
public bool? bool_11_2 { get; set; }
|
|
public bool? bool_11_3 { get; set; }
|
|
public string bool_11_1_text { get; set; }
|
|
public string bool_11_2_text { get; set; }
|
|
public string bool_11_3_text { get; set; }
|
|
public string bool_11_3_remark { get; set; } //ไม่ได้ใช้
|
|
public string text_11_1 { get; set; }
|
|
public string text_11_2 { get; set; }
|
|
|
|
public string text_11_3 { get; set; }
|
|
public decimal? decimal_11_1 { get; set; }
|
|
public decimal? decimal_11_2 { get; set; }
|
|
|
|
public decimal? decimal_11_3 { get; set; }
|
|
|
|
//12.1 เชิงปริมาณ
|
|
public decimal? decimal_12_1_1 { get; set; }
|
|
public decimal? decimal_12_1_2 { get; set; }
|
|
public decimal? decimal_12_1_3 { get; set; }
|
|
public decimal? decimal_12_1_4 { get; set; }
|
|
public decimal? decimal_12_1_5 { get; set; }
|
|
public decimal? decimal_12_1_6 { get; set; }
|
|
public decimal? decimal_12_1_7 { get; set; }
|
|
public decimal? decimal_12_1_8 { get; set; }
|
|
public decimal? decimal_12_1_9 { get; set; }
|
|
public decimal? decimal_12_1_10 { get; set; }
|
|
public decimal? decimal_12_1_11 { get; set; }
|
|
public decimal? decimal_12_1_12 { get; set; }
|
|
public decimal? decimal_12_1_13 { get; set; }
|
|
public decimal? decimal_12_1_14 { get; set; }
|
|
public decimal? decimal_12_1_15 { get; set; }
|
|
public decimal? decimal_12_1_16 { get; set; }
|
|
public decimal? decimal_12_1_17 { get; set; }
|
|
public decimal? decimal_12_1_18 { get; set; }
|
|
public decimal? decimal_12_1_19 { get; set; }
|
|
public decimal? decimal_12_1_20 { get; set; }
|
|
public decimal? decimal_12_1_21 { get; set; }
|
|
|
|
public decimal? decimal_12_1_22 { get; set; }
|
|
|
|
//12.2 เชิงคุณภาพ (เลือกตอบตามผลผลิตของโครงการ)
|
|
public decimal? decimal_12_2_1 { get; set; }
|
|
public decimal? decimal_12_2_2 { get; set; }
|
|
public decimal? decimal_12_2_3 { get; set; }
|
|
public decimal? decimal_12_2_4 { get; set; }
|
|
public decimal? decimal_12_2_5 { get; set; }
|
|
public decimal? decimal_12_2_6 { get; set; }
|
|
public decimal? decimal_12_2_7 { get; set; }
|
|
public decimal? decimal_12_2_8 { get; set; }
|
|
public decimal? decimal_12_2_9 { get; set; }
|
|
public decimal? decimal_12_2_10 { get; set; }
|
|
public decimal? decimal_12_2_11 { get; set; }
|
|
public decimal? decimal_12_2_12 { get; set; }
|
|
public decimal? decimal_12_2_13 { get; set; }
|
|
public decimal? decimal_12_2_14 { get; set; }
|
|
|
|
public decimal? decimal_12_3_1 { get; set; }
|
|
|
|
//12.4 ตัวชี้วัดตามวัตถุประสงค์ของโครงการ
|
|
public string decimal_12_4_row_1_1 { get; set; }
|
|
public string decimal_12_4_row_1_2 { get; set; }
|
|
public string decimal_12_4_row_1_3 { get; set; }
|
|
public string decimal_12_4_row_1_4 { get; set; }
|
|
public string decimal_12_4_row_1_5 { get; set; }
|
|
public string decimal_12_4_row_2_1 { get; set; }
|
|
public string decimal_12_4_row_2_2 { get; set; }
|
|
public string decimal_12_4_row_2_3 { get; set; }
|
|
public string decimal_12_4_row_2_4 { get; set; }
|
|
public string decimal_12_4_row_2_5 { get; set; }
|
|
public string decimal_12_4_row_3_1 { get; set; }
|
|
public string decimal_12_4_row_3_2 { get; set; }
|
|
public string decimal_12_4_row_3_3 { get; set; }
|
|
public string decimal_12_4_row_3_4 { get; set; }
|
|
public string decimal_12_4_row_3_5 { get; set; }
|
|
public string decimal_12_4_file { get; set; }
|
|
|
|
//13. ผลการดำเนินโครงการนี้สอดคล้องค่านิยม (D - MOVE UP) ของมหาวิทยาลัยด้านใด
|
|
public bool? bool_13_1 { get; set; }
|
|
public bool? bool_13_2 { get; set; }
|
|
public bool? bool_13_3 { get; set; }
|
|
public bool? bool_13_4 { get; set; }
|
|
public bool? bool_13_5 { get; set; }
|
|
public bool? bool_13_6 { get; set; }
|
|
public bool? bool_13_7 { get; set; }
|
|
public string text_13_1 { get; set; }
|
|
public string text_13_2 { get; set; }
|
|
public string text_13_3 { get; set; }
|
|
public string text_13_4 { get; set; }
|
|
public string text_13_5 { get; set; }
|
|
public string text_13_6 { get; set; }
|
|
public string text_13_7 { get; set; }
|
|
public string text_13_remark { get; set; }
|
|
|
|
|
|
public string text_14 { get; set; }
|
|
|
|
//15. โครงการนี้สอดคล้องกับเป้าหมายการพัฒนาที่ยั่งยืน (Sustainable Development Goals : SDGs) ด้านใด
|
|
public string text_15 { get; set; }
|
|
|
|
//16. วิเคราะห์ความคุ้มค่าของการดำเนินงานโครงการ
|
|
public string text_16 { get; set; }
|
|
public string text_17 { get; set; }
|
|
public string text_18 { get; set; }
|
|
public string text_19 { get; set; }
|
|
public string text_20 { get; set; }
|
|
|
|
public string text_21 { get; set; }
|
|
|
|
//22. ผลที่คาดว่าจะได้รับ
|
|
public string text_22_1 { get; set; }
|
|
|
|
public string text_22_2 { get; set; }
|
|
|
|
//23. แผนการดำเนินการ
|
|
public string text_23 { get; set; }
|
|
|
|
public string text_24 { get; set; }
|
|
|
|
//25. ประสงค์จะนำเสนอโครงการนี้ในรายงานประจำปีของมหาวิทยาลัยฯ
|
|
public bool? bool_25_1 { get; set; }
|
|
public bool? bool_25_2 { get; set; }
|
|
public string text_25_1 { get; set; }
|
|
public string text_25_2 { get; set; }
|
|
public string text_25_row_1_1 { get; set; }
|
|
public string text_25_row_1_2 { get; set; }
|
|
public decimal? decimal_25_row_1_1 { get; set; }
|
|
public decimal? decimal_25_row_1_2 { get; set; }
|
|
public string text_25_row_2 { get; set; }
|
|
public decimal? decimal_25_row_2_1 { get; set; }
|
|
public decimal? decimal_25_row_2_2 { get; set; }
|
|
public string text_25_row_3 { get; set; }
|
|
public decimal? decimal_25_row_3_1 { get; set; }
|
|
public decimal? decimal_25_row_3_2 { get; set; }
|
|
public string text_25_row_4 { get; set; }
|
|
public decimal? decimal_25_row_4_1 { get; set; }
|
|
public decimal? decimal_25_row_4_2 { get; set; }
|
|
public string text_25_row_5 { get; set; }
|
|
public decimal? decimal_25_row_5_1 { get; set; }
|
|
public decimal? decimal_25_row_5_2 { get; set; }
|
|
public string text_25_row_6 { get; set; }
|
|
public decimal? decimal_25_row_6_1 { get; set; }
|
|
public decimal? decimal_25_row_6_2 { get; set; }
|
|
public string text_25_row_7 { get; set; }
|
|
public decimal? decimal_25_row_7_1 { get; set; }
|
|
public decimal? decimal_25_row_7_2 { get; set; }
|
|
public string text_25_row_8 { get; set; }
|
|
public decimal? decimal_25_row_8_1 { get; set; }
|
|
public decimal? decimal_25_row_8_2 { get; set; }
|
|
public string text_25_row_9 { get; set; }
|
|
public decimal? decimal_25_row_9_1 { get; set; }
|
|
public decimal? decimal_25_row_9_2 { get; set; }
|
|
public string text_25_row_10 { get; set; }
|
|
public decimal? decimal_25_row_10_1 { get; set; }
|
|
public decimal? decimal_25_row_10_2 { get; set; }
|
|
public string text_25_row_11 { get; set; }
|
|
public decimal? decimal_25_row_11_1 { get; set; }
|
|
public decimal? decimal_25_row_11_2 { get; set; }
|
|
public string text_25_row_12 { get; set; }
|
|
public decimal? decimal_25_row_12_1 { get; set; }
|
|
public decimal? decimal_25_row_12_2 { get; set; }
|
|
public string text_25_row_13 { get; set; }
|
|
public decimal? decimal_25_row_13_1 { get; set; }
|
|
public decimal? decimal_25_row_13_2 { get; set; }
|
|
public string text_25_row_14 { get; set; }
|
|
public decimal? decimal_25_row_14_1 { get; set; }
|
|
public decimal? decimal_25_row_14_2 { get; set; }
|
|
public string text_25_row_15 { get; set; }
|
|
public decimal? decimal_25_row_15_1 { get; set; }
|
|
public decimal? decimal_25_row_15_2 { get; set; }
|
|
public string text_25_row_16 { get; set; }
|
|
public decimal? decimal_25_row_16_1 { get; set; }
|
|
public decimal? decimal_25_row_16_2 { get; set; }
|
|
public string text_25_row_17 { get; set; }
|
|
public decimal? decimal_25_row_17_1 { get; set; }
|
|
public decimal? decimal_25_row_17_2 { get; set; }
|
|
public string text_25_row_18 { get; set; }
|
|
public decimal? decimal_25_row_18_1 { get; set; }
|
|
public decimal? decimal_25_row_18_2 { get; set; }
|
|
public string text_25_row_19 { get; set; }
|
|
public decimal? decimal_25_row_19_1 { get; set; }
|
|
public decimal? decimal_25_row_19_2 { get; set; }
|
|
public string text_25_row_20 { get; set; }
|
|
public decimal? decimal_25_row_20_1 { get; set; }
|
|
public decimal? decimal_25_row_20_2 { get; set; }
|
|
public string text_25_row_21 { get; set; }
|
|
public decimal? decimal_25_row_21_1 { get; set; }
|
|
public decimal? decimal_25_row_21_2 { get; set; }
|
|
public string text_25_row_22 { get; set; }
|
|
public decimal? decimal_25_row_22_1 { get; set; }
|
|
public decimal? decimal_25_row_22_2 { get; set; }
|
|
public string text_25_row_23 { get; set; }
|
|
public decimal? decimal_25_row_23_1 { get; set; }
|
|
public decimal? decimal_25_row_23_2 { get; set; }
|
|
public string text_25_row_24 { get; set; }
|
|
public decimal? decimal_25_row_24_1 { get; set; }
|
|
public decimal? decimal_25_row_24_2 { get; set; }
|
|
public string text_25_row_25 { get; set; }
|
|
public decimal? decimal_25_row_25_1 { get; set; }
|
|
public decimal? decimal_25_row_25_2 { get; set; }
|
|
public string text_25_row_26 { get; set; }
|
|
public decimal? decimal_25_row_26_1 { get; set; }
|
|
public decimal? decimal_25_row_26_2 { get; set; }
|
|
public string text_25_row_27 { get; set; }
|
|
public decimal? decimal_25_row_27_1 { get; set; }
|
|
public decimal? decimal_25_row_27_2 { get; set; }
|
|
public string text_25_row_28 { get; set; }
|
|
public decimal? decimal_25_row_28_1 { get; set; }
|
|
public decimal? decimal_25_row_28_2 { get; set; }
|
|
public string text_25_row_29 { get; set; }
|
|
public decimal? decimal_25_row_29_1 { get; set; }
|
|
public decimal? decimal_25_row_29_2 { get; set; }
|
|
public string text_25_row_30 { get; set; }
|
|
public decimal? decimal_25_row_30_1 { get; set; }
|
|
public decimal? decimal_25_row_30_2 { get; set; }
|
|
public string text_25_row_31 { get; set; }
|
|
public decimal? decimal_25_row_31_1 { get; set; }
|
|
public decimal? decimal_25_row_31_2 { get; set; }
|
|
public string text_25_row_32 { get; set; }
|
|
public decimal? decimal_25_row_32_1 { get; set; }
|
|
public decimal? decimal_25_row_32_2 { get; set; }
|
|
public string text_25_row_33 { get; set; }
|
|
public decimal? decimal_25_row_33_1 { get; set; }
|
|
public decimal? decimal_25_row_33_2 { get; set; }
|
|
public string text_25_row_34 { get; set; }
|
|
public decimal? decimal_25_row_34_1 { get; set; }
|
|
public decimal? decimal_25_row_34_2 { get; set; }
|
|
public string text_25_row_35 { get; set; }
|
|
public decimal? decimal_25_row_35_1 { get; set; }
|
|
public decimal? decimal_25_row_35_2 { get; set; }
|
|
public string text_25_row_36 { get; set; }
|
|
public decimal? decimal_25_row_36_1 { get; set; }
|
|
public decimal? decimal_25_row_36_2 { get; set; }
|
|
public string text_25_row_37 { get; set; }
|
|
public decimal? decimal_25_row_37_1 { get; set; }
|
|
public decimal? decimal_25_row_37_2 { get; set; }
|
|
public string text_25_row_38 { get; set; }
|
|
public decimal? decimal_25_row_38_1 { get; set; }
|
|
public decimal? decimal_25_row_38_2 { get; set; }
|
|
public string text_25_row_39 { get; set; }
|
|
public decimal? decimal_25_row_39_1 { get; set; }
|
|
public decimal? decimal_25_row_39_2 { get; set; }
|
|
public string text_25_row_40 { get; set; }
|
|
public decimal? decimal_25_row_40_1 { get; set; }
|
|
public decimal? decimal_25_row_40_2 { get; set; }
|
|
public string text_25_row_41 { get; set; }
|
|
public decimal? decimal_25_row_41_1 { get; set; }
|
|
public decimal? decimal_25_row_41_2 { get; set; }
|
|
public string text_25_row_42 { get; set; }
|
|
public decimal? decimal_25_row_42_1 { get; set; }
|
|
public decimal? decimal_25_row_42_2 { get; set; }
|
|
public decimal? decimal_25_total_1 { get; set; }
|
|
|
|
public decimal? decimal_25_total_2 { get; set; }
|
|
|
|
//26. แบบฟอร์มรายงานผลการดำเนินการโครงการ
|
|
public string text_26_1 { get; set; }
|
|
public string text_26_2 { get; set; }
|
|
public string text_26_3 { get; set; }
|
|
public string text_26_4_row_1_1 { get; set; }
|
|
public string text_26_4_row_1_2 { get; set; }
|
|
public string text_26_4_row_1_3 { get; set; }
|
|
public string text_26_4_row_2_1 { get; set; }
|
|
public string text_26_4_row_2_2 { get; set; }
|
|
public string text_26_4_row_2_3 { get; set; }
|
|
public string text_26_4_row_3_1 { get; set; }
|
|
public string text_26_4_row_3_2 { get; set; }
|
|
public string text_26_4_row_3_3 { get; set; }
|
|
public bool? is_sent { get; set; }
|
|
public List<agency_report_detail> agency_report_details { get; set; }
|
|
|
|
// 13. วิสัยทัศน์ /ค่านิยม/เอกลักษณ์ / อัตลักษณ์
|
|
public List<agency_report_popularity> agency_report_popularities { get; set; }
|
|
public List<agency_report_vision> agency_report_visions { get; set; }
|
|
public List<agency_report_uniqueness> agency_report_uniquenesses { get; set; }
|
|
public List<agency_report_identity> agency_report_identities { get; set; }
|
|
public List<agency_report_vision_indicator> agency_report_vision_indicators { get; set; }
|
|
public List<agency_report_uniqueness_indicator> agency_report_uniqueness_indicators { get; set; }
|
|
public List<agency_report_identity_indicator> agency_report_identity_indicators { get; set; }
|
|
public List<agency_report_popularity_indicator> agency_report_popularity_indicators { get; set; }
|
|
|
|
// ข้อความรวม (คั่นด้วยขึ้นบรรทัดใหม่) สำหรับแสดงในรายงาน คำนวณใน AgencyReport.Controller.cs
|
|
public string vision_names_text { get; set; }
|
|
public string vision_indicators_text { get; set; }
|
|
public string popularity_names_text { get; set; }
|
|
public string popularity_indicators_text { get; set; }
|
|
public string uniqueness_names_text { get; set; }
|
|
public string uniqueness_indicators_text { get; set; }
|
|
public string identity_names_text { get; set; }
|
|
public string identity_indicators_text { get; set; }
|
|
}
|
|
|
|
public class agency_report_popularity
|
|
{
|
|
public Guid? popularity_uid { get; set; }
|
|
public string popularity_name_th { get; set; }
|
|
}
|
|
|
|
public class agency_report_vision
|
|
{
|
|
public Guid? vision_uid { get; set; }
|
|
public string vision_name_th { get; set; }
|
|
}
|
|
|
|
public class agency_report_uniqueness
|
|
{
|
|
public Guid? uniqueness_uid { get; set; }
|
|
public string uniqueness_name_th { get; set; }
|
|
}
|
|
|
|
public class agency_report_identity
|
|
{
|
|
public Guid? identity_uid { get; set; }
|
|
public string identity_name_th { get; set; }
|
|
}
|
|
|
|
public class agency_report_vision_indicator
|
|
{
|
|
public Guid? vision_indicator_uid { get; set; }
|
|
public string vision_indicator_name { get; set; }
|
|
}
|
|
|
|
public class agency_report_uniqueness_indicator
|
|
{
|
|
public Guid? uniqueness_indicator_uid { get; set; }
|
|
public string uniqueness_indicator_name { get; set; }
|
|
}
|
|
|
|
public class agency_report_identity_indicator
|
|
{
|
|
public Guid? identity_indicator_uid { get; set; }
|
|
public string identity_indicator_name { get; set; }
|
|
}
|
|
|
|
public class agency_report_popularity_indicator
|
|
{
|
|
public Guid? popularity_indicator_uid { get; set; }
|
|
public string popularity_indicator_name { get; set; }
|
|
}
|
|
|
|
public class agency_report_detail
|
|
{
|
|
//8. ประเด็นยุทธศาสตร์ของมหาวิทยาลัย
|
|
//14.1 ตัวชี้วัดผลสัมฤทธิ์
|
|
//14.2 ตัวชี้วัดเชิงนโยบาย
|
|
//25 แนบไฟล์
|
|
[Key] public Guid? agency_report_detail_uid { get; set; }
|
|
public Guid? agency_report_uid { get; set; }
|
|
public decimal? type { get; set; }
|
|
public string text_1 { get; set; }
|
|
public string text_2 { get; set; }
|
|
public string file_url { get; set; }
|
|
public string file_name { get; set; }
|
|
public decimal? row { get; set; }
|
|
} |