for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bantenprov\Prestasi\Models\Bantenprov\Prestasi;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class JenisPrestasi extends Model
{
use SoftDeletes;
public $timestamps = true;
protected $table = 'jenis_prestasis';
protected $dates = [
'deleted_at'
];
protected $fillable = [
'user_id',
'nama_jenis_prestasi'
public function user()
return $this->belongsTo('App\User','user_id');
}