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