<?php

namespace App;

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

class Skmb extends Model
{
    use HasFactory;
    protected $table = 'skmb';

    protected $fillable = [
        'user_id', 'scan_ktp', 'scan_kk', 'alamat', 'rt', 'rw', 'desa_kelurahan', 'kecamatan', 'kabupaten_kota', 'provinsi', 'kode_pos', 'status', 'keterangan', 'tanggal'
    ];

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