mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-02 17:06:24 +01:00
Fix class names
This commit is contained in:
17
system/src/Models/PlayerItem.php
Normal file
17
system/src/Models/PlayerItem.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace MyAAC\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PlayerItem extends Model {
|
||||
|
||||
protected $table = 'player_items';
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
public function player()
|
||||
{
|
||||
return $this->belongsTo(Player::class);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user