using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace KendoMVC.Models
{
    public class StudentDTO
    {
        public decimal? STUDENT_ID { get; set; }
        public string NAME { get; set; }
        public string BRANCH { get; set; }
        public string ADMISSION_DATE { get; set; }
        public DateTime? ADMISSION_DATE_VIEW { get; set; }
        public string INITIAL_COMMENT { get; set; }
        public static SelectListItem[] BRANCH_LIST
        {
            get 
            {
                SelectListItem[] objTmp = new SelectListItem[5];
                SelectListItem tmp1 = new SelectListItem();
                tmp1.Text = "Computer Science";
                tmp1.Value = "CST";
                objTmp[0] = tmp1;

                tmp1 = new SelectListItem();
                tmp1.Text = "Information Technology";
                tmp1.Value = "IT";
                objTmp[1] = tmp1;

                tmp1 = new SelectListItem();
                tmp1.Text = "Electrical";
                tmp1.Value = "EE";
                objTmp[2] = tmp1;

                tmp1 = new SelectListItem();
                tmp1.Text = "Electronics & Instrumentation";
                tmp1.Value = "EIE";
                objTmp[3] = tmp1;

                tmp1 = new SelectListItem();
                tmp1.Text = "Electronics & Telecommunication";
                tmp1.Value = "ETC";
                objTmp[4] = tmp1;

                return objTmp;

            }
        }
    }
}