<?php

namespace App\Models;

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

class PreferencesPermohonan extends Model
{
    use HasFactory;
    protected $table = 'preferens_permohonan';

    protected $fillable = [
        'user_id',
        'bidang_sub_sektor_ekonomi_kreatif',
        'kategori',
        'batas_terima_tawaran',
        'range_min',
        'range_max',
        'status',
    ];

    // Definisikan relasi dengan User jika diperlukan
    public function user()
    {
        return $this->belongsTo(User::class);
    }


}
