<?php

namespace App;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Spk extends Model
{
    use HasFactory;

    protected $table = 'spk';

    protected $fillable = [
        'user_id', 'scan_ktp', 'scan_kk', 'status', 'keterangan', 'tanggal'
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
