using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace rmutr_report.Models { public class revenue_estimates { [Key] public Guid? revenue_estimates_uid { get; set; } // public Guid? academic_year_uid { get; set; } public string academic_year_name_th { get; set; } public string start_and_end_date_report { get; set; } // public string education_level { get; set; } // public string faculty_name_th { get; set; } public string agency_name_th { get; set; } // public string author_name { get; set; } public string position_name { get; set; } public string phone { get; set; } public DateTime? version { get; set; } public List revenue_estimates_details { get; set; } } public class t_revenue_estimates_detail { [Key] public Guid? revenue_estimates_detail_uid { get; set; } public Guid? revenue_estimates_uid { get; set; } public string topic { get; set; } public string academic_year_name_th { get; set; } public decimal? revenue_estimates { get; set; } public decimal? less_revenue_estimates { get; set; } public decimal? balance_revenue_estimates { get; set; } public decimal? less_accumulated_income { get; set; } public decimal? balance_before_allocating_according { get; set; } public decimal? contribution_utility_bills { get; set; } public decimal? contribution_central_budget { get; set; } public decimal? contribution_central_expenditure { get; set; } public decimal? expenditure_limit { get; set; } public int? topic_type { get; set; } public DateTime? version { get; set; } public int? row { get; set; } public bool? is_footer { get; set; } } }