Completed
Push — master ( bf423a...bec1a1 )
by
unknown
10s
created

Juara   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A master_prestasi() 0 4 1
1
<?php
2
3
namespace Bantenprov\Prestasi\Models\Bantenprov\Prestasi;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Illuminate\Database\Eloquent\SoftDeletes;
7
8
class Juara extends Model
9
{
10
    use SoftDeletes;
11
12
    public $timestamps = true;
13
14
    protected $table = 'juaras';
15
    protected $dates = [
16
        'deleted_at'
17
    ];
18
    protected $fillable = [
19
        'juara'
20
    ];
21
22
    public function master_prestasi()
23
    {
24
        return $this->hasMany('Bantenprov\Prestasi\Models\Bantenprov\Prestasi\MasterPrestasi','juara');
25
    }
26
}