This commit is contained in:
Azaria
2026-02-19 17:45:54 +00:00
commit bbb42896ba
33 changed files with 9956 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserGuildStat extends Model
{
protected $fillable = [
'user_id',
'guild_id',
'emote_id',
'usage_count',
];
protected $casts = [
'user_id' => 'string',
'guild_id' => 'string',
'emote_id' => 'string',
];
public function user()
{
return $this->belongsTo(User::class, 'user_id', 'discord_id');
}
}