<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class Mailmovelog extends Model
{
    /**
     * The table associated with the model.
     */
    protected $table = 'mailmovelog';

    /**
     * The attributes that are mass assignable.
     *
     * @var list<string>
     */
    protected $fillable = [
        'mailmove_id',
    ];

    /**
     * Get the mailmove record that owns this log entry.
     */
    public function mailmove(): BelongsTo
    {
        return $this->belongsTo(Mailmove::class, 'mailmove_id');
    }
}
