/home2/mshostin/farms.ms-hostingladz.com/app/Models/UserTrustedIp.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Traits\LogsActivity;

class UserTrustedIp extends Model
{
    use LogsActivity;
    protected $fillable = ['user_id', 'ip_address'];

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function getCreatedAtFormattedAttribute()
    {
        return $this->created_at ? $this->created_at->format('Md, Y h:ia') : '-';
    }
}