Initial commit: Animexe Laravel platform
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class UserFollow extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $fillable = ['follower_id', 'following_id'];
|
||||
|
||||
public function follower() { return $this->belongsTo(User::class, 'follower_id'); }
|
||||
public function following() { return $this->belongsTo(User::class, 'following_id'); }
|
||||
}
|
||||
Reference in New Issue
Block a user