View file app/Models/Ban.php
<?php namespace App\Models; /** * Class Ban * * @property int id * @property string ip * @property int user_id * @property int created_at */ class Ban extends BaseModel { /** * The table associated with the model. * * @var string */ protected $table = 'ban'; /** * Indicates if the model should be timestamped. * * @var bool */ public $timestamps = false; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = []; }