public function run()
 {
     Eloquent::unguard();
     DB::table('doctors')->delete();
     Doctor::create(['name' => 'Shubhomoy', 'reg_id' => '12345', 'photo' => 'shubho.jpg', 'address' => 'Delhi', 'email' => 'biswas', 'description' => 'biswas']);
     Doctor::create(['name' => 'Agam', 'reg_id' => '345t3', 'photo' => 'agam.jpg', 'address' => 'Bhilai', 'email' => 'agam', 'description' => 'gupto']);
     Doctor::create(['name' => 'Shubhakar', 'reg_id' => 'c343', 'photo' => 'shubha.jpg', 'address' => 'Kolkatta', 'email' => 'shubha', 'description' => 'shubha']);
 }
 public function run()
 {
     Doctor::create(['name' => 'Rodolfo A. Aldana Camacho', 'phone' => '', 'email' => '', 'picture' => 'img/doctorPhotos/defaultPhoto.jpg', 'website' => '', 'comment' => '']);
     Doctor::create(['name' => 'Benjamin San Ibarra', 'phone' => '', 'email' => '', 'picture' => 'img/doctorPhotos/defaultPhoto.jpg', 'website' => '', 'comment' => '']);
     Doctor::create(['name' => 'J. Abraham Flores Cardoza', 'phone' => '', 'email' => '', 'picture' => 'img/doctorPhotos/defaultPhoto.jpg', 'website' => '', 'comment' => '']);
     Doctor::create(['name' => 'Jaime F. Hernandez Zuñiga', 'phone' => '', 'email' => '', 'picture' => 'img/doctorPhotos/defaultPhoto.jpg', 'website' => '', 'comment' => '']);
     Doctor::create(['name' => 'Monica Cuadras', 'phone' => '', 'email' => '', 'picture' => 'img/doctorPhotos/defaultPhoto.jpg', 'website' => '', 'comment' => '']);
 }
 public function run()
 {
     DB::table('doctors')->delete();
     Doctor::create(array('name' => 'Christopher Eccleston', 'number' => '9', 'description' => 'The sole survivor of the Last Great Time War, scarred by the terrible things he’d seen and done, the Ninth Doctor was an intense and emotional incarnation. Hiding his psychological trauma behind madcap wit and frivolity, he took Rose Tyler to see the end of the world, inspired Charles Dickens and showed that for once, everybody could live. He was still capable of great cruelty and anger though, killing Cassandra and torturing a lone Dalek into submission. After Rose defeated the Daleks using the power of the time vortex, the Doctor saved her by transferring that dangerous power into his own body. The strain destroyed his every cell and as Rose watched, his body exploded with raging energy...', 'image' => 'http://thedoctor.coderfaire/assets/img/doctors/9.png'));
     Doctor::create(array('name' => 'David Tennant', 'number' => '10', 'description' => 'Waking on Christmas Day in his new form, the Doctor fought the Sycorax high above London, where he lost a hand but grew a new one with remnant regenerative power. Travelling with Rose and Mickey he battled Cybermen, werewolves and possibly, the Devil itself. Losing Rose in a parallel universe – but later leaving her with a half-human clone of himself – the Doctor travelled on. He hid as a human schoolmaster to spare the Family of Blood his wrath, he defeated his nemesis the Master once more and met River Song for the first time. Told that he would die when someone knocked four times, the Doctor remained defiant, but to no avail. Reeling from his confrontation with the Time Lords and fatally dosed with radiation, the Tenth Doctor’s song ended, as his violent regeneration burned the TARDIS and sent it crashing through space...', 'image' => 'http://thedoctor.coderfaire/assets/img/doctors/10.png'));
     Doctor::create(array('name' => 'Matt Smith', 'number' => '11', 'description' => 'Hugely energetic, occasionally flirtatious, and by his own admission, "a mad man", the Eleventh Doctor combined youthful looks with an old soul. Crashing into the lives of Amy Pond, and her boyfriend (later, husband) Rory, he solved the mystery of the time-erasing cracks in the universe, escaped his own death, restarted reality and even found time to marry River Song. A broken man after Amy and Rory were sent back in time by a Weeping Angel, and a Victorian-era Clara fell to her death, he decided to disappear. But it wasn\'t long before the lure of "the woman twice dead" brought the Doctor out of retirement. Finding his own tomb on the embattled Trenzalore and meeting a shameful, hidden past incarnation, started him on a path of redemption, teaming up with the Tenth Doctor to save Gallifrey rather than burn it. After sacrificing his life to defend Trenzalore, and granted a whole new cycle of incarnations by the Time Lords, the Doctor regenerated once more...', 'image' => 'http://thedoctor.coderfaire/assets/img/doctors/11.png'));
     Doctor::create(array('name' => 'Peter Capaldi', 'number' => '12', 'description' => 'Granted a whole new regenerative cycle by the Time Lords, the Doctor experienced an explosive and unprecedented thirteenth regeneration, ending the Siege of Trenzalore. A new Doctor - with a sharp face, bushy brows and boggle eyes - faced a bewildered Clara, across the console. A Doctor who has seemingly forgotten how to fly the TARDIS… Though little is yet known of this Doctor’s journeys, at some point in his future, he helped his previous incarnations freeze Gallifrey in a pocket universe.', 'image' => 'http://thedoctor.coderfaire/assets/img/doctors/12.png'));
 }
 public function signup()
 {
     $name = Input::get('name');
     $reg_id = Input::get('reg_id');
     $address = Input::get('address');
     $email = Input::get('email');
     $description = Input::get('description');
     $doctor = Doctor::create(['name' => $name, 'reg_id' => $reg_id, 'address' => $address, 'email' => $email, 'description' => $description]);
     return Response::data($doctor);
 }
 public function run()
 {
     DB::table('doctors')->delete();
     $common_specialty = '<p>专业特长:妇科腹腔镜、宫腔镜微创肿瘤切除手术,腹腔镜治疗不孕症手术。阴式微创子宫切除术及各类妇科产科阴暗危重病症。妇科内分泌疾病与生殖内分泌。</p>';
     $common_description = '<p>葛菲,女,院长助理兼妇科主任,主任医师,留美归国学着。中华医学会海南省分会妇产科专业委员会常务委员,省医学会医疗事故、司法医学,计划生育医疗技术鉴定专家。先后获得海口市科技进步奖一等奖和二等奖,海南省科技进步四等奖。已经主持完成海口市重点科技计划项目一项,目前主持海口市重点科技计划项目一项。</p>';
     Doctor::create(array('name' => '葛菲', 'photo' => '/images/hospital/doc_pic.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => true, 'is_consultable' => true, 'department_id' => 1, 'title' => '主任医师', 'register_fee' => 0.2, 'user_id' => 1));
     Doctor::create(array('name' => '王磊', 'photo' => '/images/hospital/doc.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => false, 'is_consultable' => false, 'department_id' => 1, 'title' => '副主任医师', 'register_fee' => 0.1, 'user_id' => 2));
     Doctor::create(array('name' => '葛天', 'photo' => '/images/hospital/doc_pic.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => true, 'is_consultable' => true, 'department_id' => 2, 'title' => '主任医师', 'register_fee' => 0.2, 'user_id' => 3));
     Doctor::create(array('name' => '张三', 'photo' => '/images/hospital/doc.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => false, 'is_consultable' => true, 'department_id' => 2, 'title' => '副主任医师', 'register_fee' => 0.1, 'user_id' => 4));
     Doctor::create(array('name' => '李四', 'photo' => '/images/hospital/doc.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => true, 'is_consultable' => true, 'department_id' => 6, 'title' => '主任医师', 'register_fee' => 0.2, 'user_id' => 5));
     Doctor::create(array('name' => '王五', 'photo' => '/images/hospital/doc.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => false, 'is_consultable' => true, 'department_id' => 6, 'title' => '副主任医师', 'register_fee' => 0.1, 'user_id' => 6));
     Doctor::create(array('name' => '嘉丽', 'photo' => '/images/hospital/doc_pic.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => true, 'is_consultable' => false, 'department_id' => 8, 'title' => '主任医师', 'register_fee' => 0.2, 'user_id' => 7));
     Doctor::create(array('name' => '阿登', 'photo' => '/images/hospital/doc.png', 'specialty' => $common_specialty, 'description' => $common_description, 'is_chief' => false, 'is_consultable' => true, 'department_id' => 8, 'title' => '副主任医师', 'register_fee' => 0.1, 'user_id' => 8));
 }