| 1 | <?php |
||
| 8 | class Nilai extends Model |
||
| 9 | { |
||
| 10 | use SoftDeletes; |
||
| 11 | |||
| 12 | public $timestamps = true; |
||
| 13 | |||
| 14 | protected $table = 'nilais'; |
||
| 15 | protected $dates = [ |
||
| 16 | 'deleted_at' |
||
| 17 | ]; |
||
| 18 | protected $fillable = [ |
||
| 19 | 'nomor_un', |
||
| 20 | 'kegiatan_id', |
||
| 21 | 'bobot', |
||
| 22 | 'akademik', |
||
| 23 | 'prestasi', |
||
| 24 | 'zona', |
||
| 25 | 'sktm', |
||
| 26 | 'total', |
||
| 27 | 'user_id', |
||
| 28 | ]; |
||
| 29 | |||
| 30 | public function setKegiatanIdAttribute($value) |
||
| 34 | |||
| 35 | public function setTotalAttribute($value) |
||
| 44 | |||
| 45 | public function siswa() |
||
| 49 | |||
| 50 | public function user() |
||
| 54 | |||
| 55 | public function nilai_akademik() |
||
| 59 | |||
| 60 | public function kegiatan() |
||
| 64 | } |
||
| 65 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.