add mtef report

This commit is contained in:
kamonwan taengsuk
2023-07-05 10:19:01 +07:00
parent b94dfc3b4a
commit 7d39937527
22 changed files with 4655 additions and 54 deletions

File diff suppressed because it is too large Load Diff

2
Folder.DotSettings.user Normal file
View File

@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=4EC9BE8E_002D1881_002D95C9_002D9F3E_002D1B17D679F3EC_002Fd_003AControllers_002Ff_003APersonnel_002EController_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>

View File

@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace rmutr_report.Models.Personnel
{
public class mtef_personnel //งบประมาณ MTEF มหาวิทยาลัยเทคโนโลยีราชมงคล รัตนโกสินทร์
{
[Key] public Guid? mtef_personnel_uid { get; set; }
public string agency_name_th { get; set; }
public string act_year1 { get; set; }
public string act_year2 { get; set; }
public string plans_year1 { get; set; }
public string plans_year2 { get; set; }
public string plans_year3 { get; set; }
public string plans_year4 { get; set; }
public string plans_year5 { get; set; }
public string plans_year6 { get; set; }
public string plans_year7 { get; set; }
public DateTime? version { get; set; }
public List<t_mtef_personnel_detail> mtef_personnel_details { get; set; }
}
public class t_mtef_personnel_detail
{
[Key] public Guid? mtef_personnel_detail_uid { get; set; }
public Guid? mtef_personnel_uid { get; set; }
public string topic { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? act_year1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? act_year2 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year2 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year3 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year4 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year5 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year6 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? plans_year7 { get; set; }
public decimal? total { get; set; }
public int? topic_type { get; set; }
public int? row { get; set; }
}
}

View File

@@ -92,6 +92,8 @@ namespace rmutr_report.Models.Personnel
public string remark { get; set; }
public int? row { get; set; }
[NotMapped] public bool? is_bold { get; set; }
public int? topic_type { get; set; }
public List<t_personnel_expense_budget_detail_2> personnel_expense_budget_details_2 { get; set; }
}
@@ -116,6 +118,8 @@ namespace rmutr_report.Models.Personnel
public int? row { get; set; }
[NotMapped] public bool? is_bold { get; set; }
public bool? is_header { get; set; }
public int? topic_type { get; set; }
}
}

View File

@@ -0,0 +1,165 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace rmutr_report.Models.Personnel
{
public class set_personnel_budget_university //คำขอแผน พนักงานมหาลัย
{
[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; }
//
public string ministry_name_th { get; set; }
public string check_box_1 { get; set; }
//
public string agency_name_th { get; set; }
public string check_box_2 { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? total_power_rating_frame { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? power_rating_frame_occupied_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? power_rating_frame_no_money { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? proposal_summary_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? proposal_summary_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? salary_summary_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? salary_summary_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? salary_calculation_summary_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? salary_calculation_summary_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? act_old1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? disbursement_year_act_old1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? disbursement_year_act_old1_percent { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? remaining_act_old1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? remaining_act_old1_percent { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? act_old2 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? actually_paid { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? actually_paid_percent { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? remaining_act_old2 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? remaining_act_old2_percent { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? average_per_month_1 { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? average_per_month_2 { get; set; }
//path2
public decimal? additional_money_paid_with_salary { get; set; }
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 class t_set_personnel_budget_university_detail
{
[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; }
[Column(TypeName = "decimal(18,4)")] public decimal? act_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? money_outside { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? total_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? total_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? budget_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? budget_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? request_budget_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? request_budget_budget { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? request_contribution_income_budget { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? request_total_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? request_total_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? offer_budget_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? offer_budget_budget { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? offer_contribution_income_budget { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? offer_total_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? offer_total_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_1_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_1_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_2_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_2_budget { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_3_rate { get; set; }
[Column(TypeName = "decimal(18,4)")] public decimal? mtef_3_budget { get; set; }
public string remark { get; set; }
//----
public int? row { get; set; }
public bool? is_header { get; set; } //หัวตารางส่วน 2
public int? topic_type { get; set; }
}
public class t_set_personnel_budget_university_detail_2
{
[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? plan_1_percent { 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? plan_2_percent { get; set; }
//
[Column(TypeName = "decimal(18,4)")] public decimal? compare_proportions { get; set; }
public string remark { get; set; }
//----
public int? row { get; set; }
public bool? is_header { get; set; } //หัวตารางส่วน 3
public int? topic_type { get; set; }
}
}

View File

@@ -1 +1 @@
ea26ea84899ae618caf9974b39c318714cc0cbc6
1a7a83012231c33615af2a4ba74dfd42688b7e02

View File

@@ -82,3 +82,8 @@ C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\win-x64\na
C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\win-x86\native\sni.dll
C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netstandard2.0\System.Data.SqlClient.dll
C:\Users\USER\Documents\rmutr_report\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Data.SqlClient.dll
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\rmutr_report.StaticWebAssets.Pack.cache
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.rmutr_report.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.build.rmutr_report.props
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.buildMultiTargeting.rmutr_report.props
C:\Users\USER\Documents\rmutr_report\obj\Debug\netcoreapp3.1\staticwebassets\msbuild.buildTransitive.rmutr_report.props

View File

@@ -0,0 +1,3 @@
<Project>
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
</Project>

View File

@@ -0,0 +1,3 @@
<Project>
<Import Project="..\build\rmutr_report.props" />
</Project>

View File

@@ -0,0 +1,3 @@
<Project>
<Import Project="..\buildMultiTargeting\rmutr_report.props" />
</Project>

View File

@@ -0,0 +1 @@
350cf56e773cc433c454f90293d9ad8a14ff9066

View File

@@ -2164,6 +2164,7 @@
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files\\dotnet\\sdk\\7.0.305\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.71dev.com/v3/index.json": {}
},
@@ -2219,7 +2220,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.407\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.305\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "AcjdXi5x9A0nxsTWB+2PnbaIBtEgf/xXjiH70whPTOKfE3hLR7xlfQsZ/JREuaGE/sSzaWLOjWThFS4rkZ0mog==",
"dgSpecHash": "CpAxtaPU/VEQAbITx1At9JKHBfnAmr9Jtp14GvAfIKjNIVJPIOZXKkcykiUn1v7UTZJD+zMMBzxjpRtc7f+BpA==",
"success": true,
"projectFilePath": "C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj",
"expectedPackageFiles": [

View File

@@ -1 +1 @@
"restore":{"projectUniqueName":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","projectName":"rmutr_report","projectPath":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","outputPath":"C:\\Users\\USER\\Documents\\rmutr_report\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"https://api.nuget.org/v3/index.json":{},"https://nuget.71dev.com/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"dependencies":{"ClosedXML":{"target":"Package","version":"[0.96.0, )"},"FastReport.Core":{"target":"Package","version":"[2021.3.0, )"},"Swashbuckle.AspNetCore":{"target":"Package","version":"[6.5.0, )"},"Swashbuckle.AspNetCore.Annotations":{"target":"Package","version":"[6.5.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\6.0.407\\RuntimeIdentifierGraph.json"}}
"restore":{"projectUniqueName":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","projectName":"rmutr_report","projectPath":"C:\\Users\\USER\\Documents\\rmutr_report\\rmutr_report.csproj","outputPath":"C:\\Users\\USER\\Documents\\rmutr_report\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["netcoreapp3.1"],"sources":{"C:\\Program Files\\dotnet\\sdk\\7.0.305\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs":{},"https://api.nuget.org/v3/index.json":{},"https://nuget.71dev.com/v3/index.json":{}},"frameworks":{"netcoreapp3.1":{"projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netcoreapp3.1":{"dependencies":{"ClosedXML":{"target":"Package","version":"[0.96.0, )"},"FastReport.Core":{"target":"Package","version":"[2021.3.0, )"},"Swashbuckle.AspNetCore":{"target":"Package","version":"[6.5.0, )"},"Swashbuckle.AspNetCore.Annotations":{"target":"Package","version":"[6.5.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\7.0.305\\RuntimeIdentifierGraph.json"}}

View File

@@ -1 +1 @@
16877752303044313
16884439300231938

View File

@@ -22,6 +22,7 @@
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files\\dotnet\\sdk\\7.0.305\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {},
"https://api.nuget.org/v3/index.json": {},
"https://nuget.71dev.com/v3/index.json": {}
},
@@ -77,7 +78,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.407\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.305\\RuntimeIdentifierGraph.json"
}
}
}