using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace rmutr_report.Models.Personnel { public class personnel_statement { [Key] public Guid? personnel_statement_uid { get; set; } // public Guid? academic_year_uid { get; set; } public string academic_year_name_th { get; set; } public string sector { get; set; } public string revenue_estimates_type { get; set; } public string parent_agency_name { get; set; } public string agency_name_th { get; set; } public string agency_category_name { get; set; } //ผลผลิต public decimal? set_revenue_estimates { get; set; } public string author_name { get; set; } public string position_name { get; set; } public string phone { get; set; } public decimal? total_payment { get; set; } public DateTime? version { get; set; } public List personnel_statement_details { get; set; } public List personnel_statement_details_2 { get; set; } } public class t_personnel_statement_detail { [Key] public Guid? personnel_statement_detail_uid { get; set; } public Guid? personnel_statement_uid { get; set; } public string position_no { get; set; } public string full_name { get; set; } public string position_level { get; set; } public string major { get; set; } public string qualification { get; set; } public DateTime? start_date { get; set; } public string start_dates { get; set; } public decimal? salary_rate { get; set; } public decimal? increase_cost_of_living { get; set; } public decimal? social_security { get; set; } public decimal? monthly_remuneration { get; set; } public decimal? total_expenses_per_mount { get; set; } public decimal? total_expenses_per_year { get; set; } public string department { get; set; } public int? row_no { get; set; } public int? topic_type { get; set; } } public class t_personnel_statement_detail_2 { [Key] public Guid? personnel_statement_detail_uid { get; set; } public Guid? personnel_statement_uid { get; set; } public string position_no { get; set; } public string full_name { get; set; } public string position_level { get; set; } public string major { get; set; } public string qualification { get; set; } public DateTime? start_date { get; set; } public string start_dates { get; set; } public decimal? salary_rate { get; set; } public decimal? increase_cost_of_living { get; set; } public decimal? social_security { get; set; } public decimal? monthly_remuneration { get; set; } public decimal? total_expenses_per_mount { get; set; } public decimal? total_expenses_per_year { get; set; } public string department { get; set; } public int? row { get; set; } public int? row_no { get; set; } public int? topic_type { get; set; } } }