eOSP2/app/vehicle.php

18 lines
664 B
PHP
Raw Normal View History

2019-11-17 17:08:02 +01:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
2019-11-17 17:08:02 +01:00
class vehicle extends Model
{
use SoftDeletes;
2019-11-17 17:08:02 +01:00
protected $primaryKey = 'id';
protected $table = 'vehicles';
protected $fillable = [
2019-12-28 19:01:42 +01:00
'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'
2019-11-17 17:08:02 +01:00
];
}