Game_publisher.php 321 Bytes
Newer Older
Kbida Vincent's avatar
Kbida Vincent committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

namespace bdd\models;

class Game_publisher extends \Illuminate\Database\Eloquent\Model
{
    protected $table = 'game_publisher';
    protected $primaryKey = 'game_id';
    public $timestamps = false;

    public function platform(){
       return $this->belongsTo('bdd\models\game_publisher', 'game_id');
    }
}