File manager - Edit - /var/www/html/ciosp/api/app/Models/TrafficNotification.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class TrafficNotification extends Model { use HasFactory; public static $picturePath = 'pictures_traffic_notification/'; protected $table = 'traffic_notification'; /** * 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_color', 'vehicle_type_id', 'article_id', 'date', 'hour', 'description', 'traffic_officer_signature', 'traffic_offender_signature' ]; public function vehicleBrand() { return $this->belongsTo(VehicleBrand::class); } public function vehicleModel() { return $this->belongsTo(VehicleModel::class); } public function article() { return $this->belongsTo(Article::class); } public function vehicleType() { return $this->belongsTo(VehicleType::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings