mirror of
https://github.com/brian8544/turtle-wow.git
synced 2025-01-05 14:24:34 +00:00
27 lines
487 B
PHP
27 lines
487 B
PHP
<?php
|
|
|
|
namespace App\Models\characters;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CharacterSpellCooldown extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'character_spell_cooldown';
|
|
|
|
protected $fillable = [
|
|
'guid',
|
|
'spell',
|
|
'item',
|
|
'time',
|
|
'catTime'
|
|
];
|
|
|
|
public function character()
|
|
{
|
|
return $this->belongsTo(Character::class, 'guid', 'guid');
|
|
}
|
|
}
|