You've already forked Atomcms-edit
31 lines
596 B
PHP
Executable File
31 lines
596 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Models\Concerns\BelongsToUser;
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property int $user_id
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
* @property-read User|null $user
|
|
*/
|
|
class AuthorNotification extends Model
|
|
{
|
|
use BelongsToUser;
|
|
|
|
#[\Override]
|
|
protected $guarded = ['id', 'created_at', 'updated_at', 'user_id', 'type'];
|
|
|
|
#[\Override]
|
|
public $timestamps = true;
|
|
|
|
#[\Override]
|
|
protected $table = 'author_notifications';
|
|
}
|