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

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; }
}
}