using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace rmutr_report.Models.Personnel { public class personnel_expense_budget //งบประมาณค่าใช้จ่ายบุคลากร { [Key] public Guid? personnel_expense_budget_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 agency_name_th { get; set; } // public decimal? rate_frame_total { get; set; } public decimal? rate_frame_owner { get; set; } public decimal? rate_frame_free { get; set; } public decimal? rate_frame_not_free { get; set; } // public decimal? budget_proposal_summary { get; set; } public decimal? budget_summary { get; set; } // public decimal? salary_calculation { get; set; } public decimal? salary_calculation_budget { get; set; } // public decimal? act_1 { get; set; } public decimal? act_1_disbursement_year { get; set; } public decimal? act_1_disbursement_year_percentage { get; set; } public decimal? act_1_remaining { get; set; } public decimal? act_1_remaining_percentage { get; set; } // public decimal? money_to_advance { get; set; } public decimal? money_to_advance_percentage { get; set; } // public decimal? act_2 { get; set; } public decimal? act_2_actually_aid { get; set; } public decimal? act_2_actually_aid_percentage { get; set; } public decimal? act_2_remaining { get; set; } public decimal? act_2_remaining_percentage { get; set; } // public decimal? average_per_month_1 { get; set; } public decimal? average_per_month_2 { get; set; } //path 2 ด้านล่างต่อจากตาราง public decimal? other_additional { get; set; } // public string remark { get; set; } public DateTime? version { get; set; } public List personnel_expense_budget_details { get; set; } } public class t_personnel_expense_budget_detail { [Key] public Guid? personnel_expense_budget_detail_uid { get; set; } public Guid? personnel_expense_budget_uid { 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; } public int? row { get; set; } [NotMapped] public bool? is_bold { get; set; } public List personnel_expense_budget_details_2 { get; set; } } public class t_personnel_expense_budget_detail_2 { [Key] public Guid? personnel_expense_budget_detail_2_uid { get; set; } public Guid? personnel_expense_budget_uid { get; set; } public string type { get; set; } public string list { 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; } public int? row { get; set; } [NotMapped] public bool? is_bold { get; set; } public bool? is_header { get; set; } } }