Passed
Push — master ( d58bf8...6af014 )
by Faiq
04:49
created

DoctorDetail::hospital()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace App;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class DoctorDetail extends Model
8
{
9
    /**
10
     * @var string
11
     */
12
    protected $table = 'doctor_details';
13
14
    /**
15
     * @var bool
16
     */
17
    public $timestamps = true;
18
19
    /**
20
     * @var array
21
     */
22
    protected $dates = [
23
        'created_at',
24
        'updated_at'
25
    ];
26
27
    /**
28
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
29
     */
30
//    public function doctor()
31
//    {
32
//        return $this->('', '')
33
//    }
34
35
    /**
36
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
37
     */
38
//    public function hospital()
39
//    {
40
//        return $this->hasMany('App\Hospital', 'specialization_id');
41
//    }
42
43
}
44