This commit is contained in:
kamonwan taengsuk
2023-07-07 22:29:28 +07:00
parent 2bdfb659c9
commit 58f276f475
6 changed files with 351 additions and 94 deletions

View File

@@ -7,7 +7,7 @@ namespace rmutr_report.Models.Personnel
{
public class set_personnel_budget_university //คำขอแผน พนักงานมหาลัย
{
[Key] public Guid? set_personnel_budget_university_uid { get; set; }
[Key] public Guid? set_personnel_budget_university_uid { get; set; }
// public Guid? academic_year_uid { get; set; }
public string academic_year_name_th { get; set; }
@@ -70,12 +70,14 @@ namespace rmutr_report.Models.Personnel
public DateTime? version { get; set; }
public List<t_set_personnel_budget_university_detail> set_personnel_budget_university_details { get; set; }
public List<t_set_personnel_budget_university_detail_2> set_personnel_budget_university_details_2 { get; set; }
public List<t_set_personnel_budget_university_detail_3> set_personnel_budget_university_details_3 { get; set; }
}
public class t_set_personnel_budget_university_detail
{
[Key] public Guid? set_personnel_budget_university_detail_uid { get; set; }
[Key] public Guid? set_personnel_budget_university_detail_uid { get; set; }
public Guid? set_personnel_budget_university_uid { get; set; }
public string topic { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? act_rate { get; set; }
@@ -127,10 +129,8 @@ namespace rmutr_report.Models.Personnel
public string remark { get; set; }
//----
public int? row { get; set; }
public bool? is_header { get; set; } //หัวตารางส่วน 2
public int? topic_type { get; set; }
public int? topic_type { get; set; }
public int? row { get; set; }
}
@@ -140,26 +140,53 @@ namespace rmutr_report.Models.Personnel
[Key] public Guid? set_personnel_budget_university_detail_2_uid { get; set; }
public Guid? set_personnel_budget_university_uid { get; set; }
public string topic { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plan_1_all_department { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plan_1_government_personnel { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? request_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? request_budget { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plan_1_percent { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? offer_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? offer_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? plan_2_all_department { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plan_2_government_personnel { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_rate_1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_budget_1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plan_2_percent { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_rate_2 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_budget_2 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_rate_3 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_budget_3 { get; set; }
public string remark { get; set; }
public int? topic_type { get; set; }
//----
public int? row { get; set; }
public bool? is_header { get; set; } //หัวตารางส่วน 2
}
public class t_set_personnel_budget_university_detail_3
{
[Key] public Guid? set_personnel_budget_university_detail_2_uid { get; set; }
public Guid? set_personnel_budget_university_uid { get; set; }
public string topic { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? year_1_annual_spending_plan_all { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? year_1_annual_spending_plan_public_sector { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? year_1_annual_spending_plan_percent { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? year_2_annual_spending_plan_all { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? year_2_annual_spending_plan_public_sector { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? year_2_annual_spending_plan_percent { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? compare_proportions { get; set; }
public string remark { get; set; }
public int? topic_type { get; set; }
//----
public int? row { get; set; }
public int? row { get; set; }
public bool? is_header { get; set; } //หัวตารางส่วน 3
public int? topic_type { get; set; }
}
}