<?php class LocationVenueType extends Model { protected static $table = "location_venue_type"; protected static $id_field = ["location_id", "venue_type_id"]; protected static $fillable_fields = ["location_id", "venue_type_id"]; }