Роли, переделывание отчета, изменение на главной странице

This commit is contained in:
brusnitsyn
2026-01-11 23:37:18 +09:00
parent eb019504d7
commit d4f077cdaf
59 changed files with 2099 additions and 366 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DepartmentMetrikaDefault extends Model
{
protected $primaryKey = 'department_metrika_default_id';
public $timestamps = false;
protected $fillable = [
'rf_department_id',
'rf_metrika_item_id',
'value'
];
public function departments()
{
return $this->belongsTo(Department::class, 'rf_department_id');
}
}