eliteregistry/app/Models/Ships.php

16 lines
272 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;
2021-04-07 08:07:09 +00:00
public $sortable = ['shipId', 'shipName', 'shipOwner', 'shipType'];
2021-04-07 05:03:54 +00:00
protected $casts = ['id' => 'string'];
}