1 | <?php |
||
8 | class Pendaftaran extends Model |
||
9 | { |
||
10 | use SoftDeletes; |
||
11 | |||
12 | public $timestamps = true; |
||
13 | |||
14 | protected $table = 'pendaftarans'; |
||
15 | protected $dates = [ |
||
16 | 'deleted_at' |
||
17 | ]; |
||
18 | protected $fillable = [ |
||
19 | 'kegiatan_id', |
||
20 | 'user_id', |
||
21 | 'tanggal_pendaftaran', |
||
22 | 'sekolah_id', |
||
23 | ]; |
||
24 | |||
25 | public function kegiatan() |
||
29 | |||
30 | public function sekolah() |
||
34 | |||
35 | public function user() |
||
39 | } |
||
40 |