using System.Collections.Generic;

namespace rmutr_report.Models
{
    public class teaching_fee_extra
    { 
        public string agency_name_th { get; set; }
        public string area { get; set; }
        public string product { get; set; }
       public string term_1_year { get; set; }
       public string term_2_year { get; set; }
       
       public List<teaching_fee_extra_detail> data { get; set; }
    }

    public class teaching_fee_extra_detail
    {
        public string course { get; set; }
        public decimal? number_of_hours1 { get; set; }
        public decimal? number_of_weeks1 { get; set; }
        public decimal?  amount1 { get; set; }
        public decimal? number_of_hours2 { get; set; }
        public decimal? number_of_weeks2 { get; set; }
        public decimal?  amount2 { get; set; }
        public decimal?  total_amount { get; set; }
        public string  major { get; set; }
        public List<teaching_fee_extra_datadetail> datadetail { get; set; }
    }

    public class teaching_fee_extra_datadetail
    {
        public string teacher { get; set; }
        public string teaching_rate { get; set; }
        public decimal? number_of_hours1 { get; set; }
        public decimal? number_of_weeks1 { get; set; }
        public decimal?  amount1 { get; set; }
        public decimal? number_of_hours2 { get; set; }
        public decimal? number_of_weeks2 { get; set; }
        public decimal?  amount2 { get; set; }
        public decimal?  total_amount { get; set; }
        //public string  major { get; set; }
    }
}