File manager - Edit - /var/www/html/ciosp/api/app/Models/VehicleCollectionGuide.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; class VehicleCollectionGuide extends Model { use HasFactory; public static $picturePath = 'pictures_vehicle_collection_guide/'; protected $table = 'vehicle_collection_guide'; /** * The attributes that are mass assignable. * * @var array<int, string> */ protected $fillable = [ 'address', 'number', 'neighborhood', 'latitude', 'longitude', 'complement', 'zipcode', 'vehicle_plate', 'vehicle_brand_id', 'vehicle_model_id', 'chassis_number', 'vehicle_year', 'vehicle_color', 'vehicle_type_id', 'vehicle_federation_unit', 'traffic_offender_signature', 'vehicle_fuel_level', 'winch plate', 'accident', 'accident damage', 'observation', 'seizure_reason', 'right_side_hood_seal', 'left_side_hood_seal', 'right_front_door_seal', 'left_front_door_seal', 'right_rear_door_seal', 'left_rear_door_seal', 'right_trunk_seal', 'left_trunk_seal', 'fuel tank seal', 'date', 'hour', 'traffic_officer_signature', 'traffic_officer_name', 'traffic_officer_registration', 'seizure_id', 'notification_id', 'evaluation_number' ]; public function vehicleBrand() { return $this->belongsTo(VehicleBrand::class); } public function vehicleModel() { return $this->belongsTo(VehicleModel::class); } public function vehicleType() { return $this->belongsTo(VehicleType::class); } public function seizureTerm() { return $this->belongsTo(SeizureTerm::class); } public function notificationTerm() { return $this->belongsTo(NotificationTerm::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings