Update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kamonwan taengsuk
2024-08-28 19:34:20 +07:00
parent e3335ae91e
commit fcb163b058
14 changed files with 717 additions and 121 deletions

View File

@@ -5,27 +5,42 @@ namespace rmutr_report.Models.RoThree
public class request_summary
{
public string budget_year { get; set; }
public List<request_summary_detail> data { get; set; }
public List<budget_plan_data> budget_plans { get; set; }
public string short_budget_year { get; set; }
public List<budget_plan> plans { get; set; }
public List<request_summary_detail> data_1 { get; set; }
}
public class request_summary_detail
{
public string rowno { get; set; }
public string list { get; set; }
public bool? is_bold { get; set; }
public int? color { get; set; }
public List<budget_plan> budget_plans { get; set; }
public List<budget_plan> plans { get; set; }
public List<request_summary_detail2> data_2 { get; set; }
}
public class request_summary_detail2
{
public string rowno { get; set; }
public string list { get; set; }
public List<budget_plan> plans { get; set; }
public bool? is_bold { get; set; } // 1 true 2 null 3 null , //true
public string color { get; set; } //1 ฟ้า 2 ส้ม 3 เหลือง ,
public List<request_summary_detail3> data_3 { get; set; }
}
public class request_summary_detail3
{
public string rowno { get; set; }
public string list { get; set; }
public List<budget_plan> plans { get; set; }
public bool? is_bold { get; set; } // true
}
public class budget_plan
{
public string budget_plan_name { get; set; }
public decimal? value { get; set; }
}
public class budget_plan_data
{
public string budget_plan_name { get; set; }
public decimal? total_value { get; set; }
}
// public class request_summary_detail2
// {