Ejemplo n.º 1
0
        public Booking(User user)
        {
            User       = user;
            Instructor = new Instructor();
            Staff      = new Staff();
            Student    = new Student();
            Enrolment  = new Enrolment();
            Course     = new Course();
            //Equipments = new List<Equipment>();

            DateTime d = DateTime.Now;

            ID       = "0";
            IssuedOn = DateTime.Now;
            DueOn    = new DateTime(d.Year, d.Month, d.AddDays(1).Day, 10, 0, 0);
            BookedOn = DateTime.Now;
            //ReturnedOn = DateTime.Now.AddDays(3);
            Notes     = "";
            BookedBy  = "";
            Project   = "";
            OffCampus = false;
            Returned  = false;
        }