Files
UNIT3D-Community-Edition/app/Models/Bot.php
T
Laravel Shift de5e3c2eba Remove unnecessary table name property
By convention, Laravel uses the "snake case", plural name of the class as the table name.
2019-05-09 00:05:18 +00:00

49 lines
954 B
PHP

<?php
/**
* NOTICE OF LICENSE.
*
* UNIT3D is open-sourced software licensed under the GNU General Public License v3.0
* The details is bundled with this project in the file LICENSE.txt.
*
* @project UNIT3D
*
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
* @author singularity43
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Bot extends Model
{
/**
* The Database Table Used By The Model.
*
* @var string
*/
/**
* Indicates If The Model Should Be Timestamped.
*
* @var bool
*/
public $timestamps = true;
/**
* The Attributes That Should Be Cast To Native Types.
*
* @var array
*/
protected $casts = [
'name' => 'string',
];
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = ['deleted_at'];
}