<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ResellerPaymentHistory extends Model
{
    protected $fillable = [
        'reseller_payment_id',
        'amount',
        'payment_date',
    ];

    protected $casts = [
        'payment_date' => 'date',
    ];

    public function resellerPayment()
    {
        return $this->belongsTo(ResellerPayment::class);
    }
}
