mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
17 lines
306 B
PHP
17 lines
306 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class UserModifyLog extends NexusModel
|
|
{
|
|
protected $fillable = ['user_id', 'content', ];
|
|
|
|
public $timestamps = true;
|
|
|
|
public function user(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
{
|
|
return $this->belongsTo(User::class, "user_id");
|
|
}
|
|
|
|
}
|