File manager - Edit - /var/www/html/ciosp/api/app/Models/NotificationAuto.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class NotificationAuto extends Model { use HasFactory; public static $picturePath = 'pictures_notification_auto/'; protected $table = 'notification_auto'; /** * The attributes that are mass assignable. * * @var array<int, string> */ protected $fillable = [ 'vehicle_plate', 'renavam', 'vehicle_brand_id', 'vehicle_model_id', 'offender', 'driver_license', 'driver_license_validity', 'driver_license_state', 'offender_document', 'offender_birthday', 'infraction_date', 'infraction_hour', 'department_id', 'modality_id', 'article_id', 'description', 'picture1', 'picture2', 'signature' ]; public function vehicleBrand() { return $this->belongsTo(VehicleBrand::class); } public function vehicleModel() { return $this->belongsTo(VehicleModel::class); } public function modality() { return $this->belongsTo(Modality::class); } public function article() { return $this->belongsTo(Article::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings