<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ReservationPayment extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'payment_id',
        'payment_log',
        'room_cost',
        'discount',
        'tax',
        'total',
        'cobon_id',
        'reservation_id',
    ];

    public function reservation()
    {
        return $this->belongsTo(Reservation::class)->withTrashed();
    }


}
