Strimoid/Strimoid

View on GitHub
app/Models/NotificationTarget.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Strimoid\Models;

use Strimoid\Models\Traits\HasUserRelationship;

class NotificationTarget extends BaseModel
{
    use HasUserRelationship;

    protected $attributes = ['read' => false];

    public function notification()
    {
        return $this->belongsTo(Notification::class);
    }
}