magicai / app /Models /Activity.php
Softin Trading
Initial commit from Github
5f32fbd
Raw History Blame Contribute Delete
320 Bytes
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Activity extends Model
{
protected $table = 'activity';
protected $guarded = [];
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}