forked from s421507/eOSP2
18 lines
664 B
PHP
18 lines
664 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class vehicle extends Model
|
|
{
|
|
use SoftDeletes;
|
|
protected $primaryKey = 'id';
|
|
protected $table = 'vehicles';
|
|
|
|
protected $fillable = [
|
|
'fireStationID','name', 'codename', 'brand', 'registrationNumber', 'productionYear', 'examExpirationDate', 'insuranceExpirationDate', 'driveType', 'chassisType', 'bodyProducer', 'crewNumber', 'foamAgent', 'enginePower', 'mass', 'chassisNumber', 'engineNumber', 'fuelType', 'chassisPoductionYear', 'entryIntoServiceDate', 'fireEnginePumpDescription', 'created_at', 'updated_at', 'status'
|
|
];
|
|
|
|
} |