<?php

namespace App\Models;

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

class Antrian extends Model
{
    use HasFactory;

    protected $table = 'antrian';

    protected $fillable = [
        'qurban_participant_id',
    ];

    public function participant()
    {
        return $this->belongsTo(QurbanParticipant::class, 'qurban_participant_id');
    }
}
