using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace rmutr_report.Models.Personnel { public class personnel_salary_temporary_root { [Key] public Guid? personnel_salary_temporary_root_uid { get; set; } public Guid? log_report_uid { get; set; } public string year { get; set; } public int? salary { get; set; } public int? salary_12 { get; set; } public int? salary2 { get; set; } public int? salary2_12 { get; set; } public int? house_rent { get; set; } public int? house_rent_12 { get; set; } public int? fund_contribution { get; set; } public int? fund_contribution_12 { get; set; } public int? contribution { get; set; } public int? contribution_12 { get; set; } public string other { get; set; } public int? other_price { get; set; } public int? total2 { get; set; } public int? total_wage { get; set; } public List personnel_salary_temporary { get; set; } } public class t_personnel_salary_temporary { [Key] public Guid? personnel_salary_temporary_uid { get; set; } public Guid? personnel_salary_temporary_root_uid { get; set; } public string agency_category_name { get; set; } public int? salary { get; set; } public int? salary_12 { get; set; } public int? salary2 { get; set; } public int? salary2_12 { get; set; } public int? house_rent { get; set; } public int? house_rent_12 { get; set; } public int? fund_contribution { get; set; } public int? fund_contribution_12 { get; set; } public int? contribution { get; set; } public int? contribution_12 { get; set; } public string other { get; set; } public int? other_price { get; set; } public int? total2 { get; set; } public int? total_wage { get; set; } public List personnel_salary_temporary_deltail { get; set; } } public class t_personnel_salary_temporary_deltail { [Key] public Guid? personnel_salary_temporary_deltail_uid { get; set; } public Guid? personnel_salary_temporary_uid { get; set; } public string first_name_th { get; set; } public string last_name_th { get; set; } public string position { get; set; } public string parent_agency_name { get; set; } public string area { get; set; } public int? salary { get; set; } public int? salary_12 { get; set; } public int? salary2 { get; set; } public int? salary2_12 { get; set; } public int? house_rent { get; set; } public int? house_rent_12 { get; set; } public int? fund_contribution { get; set; } public int? fund_contribution_12 { get; set; } public int? contribution { get; set; } public int? contribution_12 { get; set; } public string other { get; set; } public int? other_price { get; set; } public int? total2 { get; set; } public int? total_wage { get; set; } } }