2023-08-14 22:33:53 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2023-09-25 22:07:19 +02:00
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
2023-08-14 22:33:53 +02:00
|
|
|
|
|
|
|
class Location extends Model
|
|
|
|
{
|
|
|
|
use HasFactory;
|
2023-09-25 22:07:19 +02:00
|
|
|
use SoftDeletes;
|
2023-08-14 22:33:53 +02:00
|
|
|
|
2023-08-17 02:52:02 +02:00
|
|
|
/**
|
|
|
|
* The table associated with the model.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $table = "location";
|
|
|
|
|
|
|
|
protected $primaryKey = 'id';
|
|
|
|
public $incrementing = true;
|
|
|
|
protected $fillable = [
|
|
|
|
"uuid",
|
|
|
|
"name",
|
2023-08-25 00:27:14 +02:00
|
|
|
"url",
|
|
|
|
"description",
|
|
|
|
"images",
|
|
|
|
"active",
|
|
|
|
"rating",
|
|
|
|
"added_by",
|
|
|
|
"tags",
|
|
|
|
"block_count",
|
2023-09-25 22:07:19 +02:00
|
|
|
"silence_count",
|
2023-08-25 00:27:14 +02:00
|
|
|
"created_at",
|
2024-02-10 04:05:33 +01:00
|
|
|
"updated_at",
|
2024-02-20 23:33:49 +01:00
|
|
|
"actions_count",
|
|
|
|
"archive_links"
|
2023-08-25 00:27:14 +02:00
|
|
|
];
|
2023-08-14 22:33:53 +02:00
|
|
|
}
|