View file app/Models/Smile.php
<?php
namespace App\Models;
/**
* Class Smile
*
* @property int id
* @property string name
* @property string code
*/
class Smile extends BaseModel
{
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
/**
* Директория загрузки файлов
*
* @var string
*/
public $uploadPath = UPLOADS . '/smiles';
}