using System.Collections.Generic;

namespace rmutr_report.Models
{
    public class student_totalcampus
    {
        public string academic_year_name_th { get; set; }
        public string academic_semester_name_th { get; set; }
        public List<student_total_campus_data> header_data { get; set; } 
        public string admit_year1 { get; set; }
        public string admit_year2 { get; set; }
        public string admit_year3 { get; set; }
        public string admit_year4 { get; set; }
        public string admit_year5 { get; set; }
        //public int? filter { get; set; }   
    }

    public class student_total_campus_data
    {
        public string filter { get; set; }
        //public double? filter1 { get; set; }
        public string header_name { get; set; }
        public decimal? male1 { get; set; }
        public decimal? female1 { get; set; }
        public decimal? total1 { get; set; }
        public decimal? room1 { get; set; }
        public decimal? male2 { get; set; }
        public decimal? female2 { get; set; }
        public decimal? total2 { get; set; }
        public decimal? room2 { get; set; }
        public decimal? male3 { get; set; }
        public decimal? female3 { get; set; }
        public decimal? total3{ get; set; }
        public decimal? room3 { get; set; }
        public decimal? male4 { get; set; }
        public decimal? female4 { get; set; }
        public decimal? total4 { get; set; }
        public decimal? room4 { get; set; }
        public decimal? male5 { get; set; }
        public decimal? female5 { get; set; }
        public decimal? total5 { get; set; }
        public decimal? room5 { get; set; }
        public decimal? male6 { get; set; }
        public decimal? female6 { get; set; }
        public decimal? total6 { get; set; }
        public decimal? room6 { get; set; }
        public decimal? male7 { get; set; }
        public decimal? female7 { get; set; }
        public decimal? total7 { get; set; }
        public decimal? room7 { get; set; }
        public List<detail> data { get; set; }
    }

    public class detail
    {
        //public decimal? row { get; set; }
        public string name { get; set; }
        public decimal? male1 { get; set; }
        public decimal? female1 { get; set; }
        public decimal? total1 { get; set; }
        public decimal? room1 { get; set; }
        public decimal? male2 { get; set; }
        public decimal? female2 { get; set; }
        public decimal? total2 { get; set; }
        public decimal? room2 { get; set; }
        public decimal? male3 { get; set; }
        public decimal? female3 { get; set; }
        public decimal? total3{ get; set; }
        public decimal? room3 { get; set; }
        public decimal? male4 { get; set; }
        public decimal? female4 { get; set; }
        public decimal? total4 { get; set; }
        public decimal? room4 { get; set; }
        public decimal? male5 { get; set; }
        public decimal? female5 { get; set; }
        public decimal? total5 { get; set; }
        public decimal? room5 { get; set; }
        public decimal? male6 { get; set; }
        public decimal? female6 { get; set; }
        public decimal? total6 { get; set; }
        public decimal? room6 { get; set; }  
        public decimal? male7 { get; set; }
        public decimal? female7 { get; set; }
        public decimal? total7 { get; set; }
        public decimal? room7 { get; set; }  
    }
}