mirror of
https://github.com/brian8544/turtle-wow.git
synced 2025-01-05 14:24:34 +00:00
28 lines
505 B
PHP
28 lines
505 B
PHP
<?php
|
|
|
|
namespace App\Models\characters;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CharacterHomebind extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'character_homebind';
|
|
|
|
protected $fillable = [
|
|
'guid',
|
|
'map',
|
|
'zone',
|
|
'position_x',
|
|
'position_y',
|
|
'position_z'
|
|
];
|
|
|
|
public function character()
|
|
{
|
|
return $this->belongsTo(Character::class, 'guid', 'guid');
|
|
}
|
|
}
|