using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace rmutr_report.Models.Personnel { public class national_budget { [Key] public Guid? national_budget_uid { get; set; } public string academic_year_name_th { get; set; } public string agency_name_th { get; set; } public Guid? log_report_uid_government { get; set; } public Guid? log_report_uid_university { get; set; } public Guid? log_report_uid_government_employee { get; set; } public Guid? log_report_uid_permanent { get; set; } public Guid? log_report_uid_temporary { get; set; } public decimal? science { get; set; } public decimal? society { get; set; } public decimal? academic_service { get; set; } public decimal? nourish { get; set; } public decimal? budget { get; set; } public DateTime? version { get; set; } public List national_budget_details { get; set; } } public class t_national_budget_detail { [Key] public Guid? national_budget_detail_uid { get; set; } public Guid? national_budget_uid { get; set; } public string topic { get; set; } public decimal? science { get; set; } public decimal? society { get; set; } public decimal? academic_service { get; set; } public decimal? nourish { get; set; } public decimal? budget { get; set; } public int? row { get; set; } public int? topic_type { get; set; } } }