Skip to content
Snippets Groups Projects
Commit 59794a15 authored by PERCIN Cahit's avatar PERCIN Cahit
Browse files

modele eloquent

parent 1e30920c
No related branches found
No related tags found
No related merge requests found
<?php
class Character
use Illuminate\Database\Eloquent\Builder;
class Character extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'character';
protected $primaryKey = 'id';
public $timestamps = false ;
}
\ No newline at end of file
......@@ -3,8 +3,10 @@
class Game
use Illuminate\Database\Eloquent\Builder;
class Game extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'game';
protected $primaryKey = 'id';
public $timestamps = false ;
}
\ No newline at end of file
<?php
class Genre
use Illuminate\Database\Eloquent\Builder;
class Genre extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'genre';
protected $primaryKey = 'id';
public $timestamps = false ;
}
\ No newline at end of file
......@@ -3,8 +3,10 @@
class Platform
use Illuminate\Database\Eloquent\Builder;
class Platform extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'platform';
protected $primaryKey = 'id';
public $timestamps = false ;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment