8a513c3f2c
The count data is now separated by specific action rather than grouping everything together. This gives a clearer picture of the severity of a response by current sources
39 lines
725 B
PHP
39 lines
725 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class Location extends Model
|
|
{
|
|
use HasFactory;
|
|
use SoftDeletes;
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = "location";
|
|
|
|
protected $primaryKey = 'id';
|
|
public $incrementing = true;
|
|
protected $fillable = [
|
|
"uuid",
|
|
"name",
|
|
"url",
|
|
"description",
|
|
"images",
|
|
"active",
|
|
"rating",
|
|
"added_by",
|
|
"tags",
|
|
"block_count",
|
|
"silence_count",
|
|
"created_at",
|
|
"updated_at"
|
|
];
|
|
}
|