Файл: app/Models/Recent.php
Строк: 16
<?php
namespace AppModels;
use IlluminateDatabaseEloquentBuilder;
use IlluminateDatabaseEloquentModel;
/**
* Class Stat
*
* @mixin Builder
* @package App
*/
class Recent extends Model
{
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = ['created_at'];
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
/**
* Get the website that owns the recent.
*/
public function website()
{
return $this->belongsTo('AppModelsWebsite');
}
}