eliteregistry/app/Models/Ships.php

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