<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class RenewPageVisit extends Model
{
    /**
     * @var string
     */
    protected $table = 'renew_page_visits';

    /**
     * @var string[]
     */
    protected $fillable = [
     	'notify_email_id',
     	'ip',
    ];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function notifyEmail()
    {
        return $this->belongsTo(NotifyEmail::class, 'notify_email_id');
    }

}
