using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace rmutr_report.Models.Personnel { public class set_personnel_budget { // [Key] // public Guid? set_personnel_budget_uid { get; set; } // public Guid? academic_year_uid { get; set; } public string academic_year_name_th { get; set; } public string personnel_salary_permanent { get; set; } public string ministry_name_th { get; set; } public string agency_name_th { get; set; } public int? total_propose_budget1 { get; set; } public int? budget1 { get; set; } public int? total_propose_budget2 { get; set; } public int? budget2 { get; set; } public string year1 { get; set; } public decimal? act_old1 { get; set; } public decimal? disbursement_year_act_old1 { get; set; } public decimal? disbursement_year_act_old1_percent { get; set; } public decimal? remaining_act_old1{ get; set; } public decimal? remaining_act_old1_percent { get; set; } public string year2 { get; set; } public decimal? act_old2 { get; set; } public string actually_paid_month { get; set; } public decimal? actually_paid { get; set; } public decimal? actually_paid_percent { get; set; } public decimal? remaining_act_old2{ get; set; } public decimal? remaining_act_old2_percent { get; set; } public decimal? not_include_salary1{ get; set; } public decimal? not_include_salary2 { get; set; } public DateTime? version { get; set; } public string year_table1 { get; set; } public string year_table2 { get; set; } public string year_table3 { get; set; } public string year_table4 { get; set; } public string year_table5 { get; set; } public List set_personnel_budget_details { get; set; } } public class t_set_personnel_budget_detail { // [Key] // public Guid? set_personnel_budget_detail_uid { get; set; } // public Guid? set_personnel_budget_uid { get; set; } public bool? is_bold { get; set; } public string topic { get; set; } public int? act_rate { get; set; } public decimal? act_budget { get; set; } public int? request_rate { get; set; } public decimal? request_budget { get; set; } public int? offer_rate { get; set; } public decimal? offer_budget { get; set; } public int? year1_rate { get; set; } public decimal? year1_budget { get; set; } public int? year2_rate { get; set; } public decimal? year2_budget { get; set; } public int? year3_rate { get; set; } public decimal? year3_budget { get; set; } public string? remark { get; set; } } }