eliteregistry/app/Models/Ships.php

16 lines
260 B
PHP
Raw Normal View History

2021-04-07 05:03:54 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Kyslik\ColumnSortable\Sortable;
class Ships extends Model
{
use Sortable;
public $sortable = ['shipId', 'shipName', 'shipOwner'];
protected $casts = ['id' => 'string'];
}