<?php
namespace Moto\Database\Models; use Moto; use Illuminate; class Language extends Moto\Database\BaseModel { const CREATED_AT = 'created'; const UPDATED_AT = 'modified'; protected $table = 'languages'; protected $morphClass = '@Language'; protected $_legacyModel = Moto\Application\Languages\LanguageModel::class; protected $fillable = [ 'code', 'locale', 'name', 'priority', 'enabled', ]; protected $casts = [ 'code' => 'string', 'locale' => 'string', 'name' => 'string', 'priority' => 'int', 'enabled' => 'boolean', ]; protected $attributes = [ 'code' => '', 'locale' => '', 'name' => '', 'priority' => 125, 'enabled' => true, ]; protected $visible = [ ]; protected $hidden = [ 'del', ]; protected $dates = [ ]; } 