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_permanent { [Key] public Guid? set_personnel_budget_permanent_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? calculate_regular_wages_rate { get; set; } public decimal? calculate_regular_wages_budget { 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 decimal? act_old2 { 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? average_per_month1 { get; set; } public decimal? average_per_month2 { get; set; } // public DateTime? version { get; set; } public List set_personnel_budget_permanent_details { get; set; } } public class t_set_personnel_budget_permanent_detail { [Key] public Guid? set_personnel_budget_temporary_detail_uid { get; set; } public Guid? set_personnel_budget_temporary_uid { get; set; } public string topic { get; set; } public decimal? act_rate { get; set; } public decimal? act_budget { get; set; } public decimal? request_rate { get; set; } public decimal? request_budget { get; set; } public decimal? offer_request_rate { get; set; } public decimal? offer_request_budget { get; set; } public decimal? mtef_rate_year_1 { get; set; } public decimal? mtef_budget_year_1 { get; set; } public decimal? mtef_rate_year_2 { get; set; } public decimal? mtef_budget_year_2 { get; set; } public decimal? mtef_rate_year_3 { get; set; } public decimal? mtef_budget_year_3 { get; set; } public string remark { get; set; } public int? topic_type { get; set; } public int? row { get; set; } } }