966d34d1fe
continuous-integration/drone/push Build is passing
Add is_reference_section flag to header_data/detail_kpi_data so the kpi_performance_result and detail_kpi Excel exports render the 4 reference-indicator sections (วิสัยทัศน์/ค่านิยม/เอกลักษณ์/อัตลักษณ์) with their bare category name instead of a "ประเด็นยุทธ์ศาสตร์ที่ N" prefix, and skip them in the real strategic-issue numbering.
76 lines
2.7 KiB
C#
76 lines
2.7 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace rmutr_report.Models
|
|
{
|
|
public class detail_kpi
|
|
{
|
|
|
|
public string budget_year { get; set; }
|
|
public string plan_year { get; set; }
|
|
public List<detail_kpi_data> header_data { get; set; }
|
|
public List<agency_data> agencys { 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 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 text14 { get; set; }
|
|
// public string text15 { get; set; }
|
|
// public string text16 { get; set; }
|
|
}
|
|
|
|
public class detail_kpi_data
|
|
{
|
|
public string year_range { get; set; }
|
|
public string strategic_issues { get; set;}
|
|
public bool is_reference_section { get; set; }
|
|
//public string agency_name { get; set; }
|
|
public List<detail_kpi_datas> data { get; set; }
|
|
}
|
|
|
|
public class detail_kpi_datas
|
|
{
|
|
public string name { get; set; }
|
|
public string unit { get; set; }
|
|
public decimal? target { get; set; }
|
|
public string director { get; set; }
|
|
public string responsible_person { get; set; }
|
|
public string compiler_reporter { get; set; }
|
|
public List<agency>agencys { get; set; }
|
|
// public decimal? value1 { get; set; }
|
|
// public decimal? value2 { get; set; }
|
|
// public string value3 { get; set; }
|
|
// public string value4 { get; set; }
|
|
// public string value5 { get; set; }
|
|
// public string value6 { get; set; }
|
|
// public string value7 { get; set; }
|
|
// public string value8 { get; set; }
|
|
// public string value9 { get; set; }
|
|
// public string value10 { get; set; }
|
|
// public string value11 { get; set; }
|
|
// public string value12 { get; set; }
|
|
// public string value13 { get; set; }
|
|
// public string value14 { get; set; }
|
|
// public string value15 { get; set; }
|
|
// public string value16 { get; set; }
|
|
}
|
|
|
|
public class agency
|
|
{
|
|
public string agency_name { get; set; }
|
|
public string value { get; set; }
|
|
|
|
}
|
|
public class agency_data
|
|
{
|
|
public string agency_name { get; set; }
|
|
}
|
|
} |