phpvms/app/Models/PirepField.php
2018-01-03 22:04:51 -06:00

28 lines
393 B
PHP

<?php
namespace App\Models;
/**
* Class PirepField
*
* @package App\Models
*/
class PirepField extends BaseModel
{
public $table = 'pirep_fields';
public $timestamps = false;
public $fillable = [
'name',
'required',
];
protected $casts = [
'required' => 'boolean',
];
public static $rules = [
'name' => 'required',
];
}