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.
35 lines
1000 B
C#
35 lines
1000 B
C#
using System.Collections.Generic;
|
|
|
|
namespace rmutr_report.Models
|
|
{
|
|
public class kpi_performance_results
|
|
{
|
|
public string budget_year { get; set; }
|
|
public string plan_year { get; set; }
|
|
|
|
public List<kpi_performance_result_data> header_data { get; set; }
|
|
}
|
|
|
|
public class kpi_performance_result_data
|
|
{
|
|
public string strategic_issues { get; set; }
|
|
|
|
public bool is_reference_section { get; set; }
|
|
|
|
public List<detail_kpi_performance_result> data { get; set; }
|
|
|
|
}
|
|
|
|
public class detail_kpi_performance_result
|
|
{
|
|
public string name { get; set; }
|
|
public string unit { get; set; }
|
|
public string director { get; set; }
|
|
public string responsible_person { get; set; }
|
|
public string compiler_reporter { get; set; }
|
|
public decimal? value { get; set; }
|
|
public decimal? result { get; set; }
|
|
public string achieve { get; set; }
|
|
public string note { get; set; }
|
|
}
|
|
} |