init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Models\Intranet\Cadastro;
use Illuminate\Database\Eloquent\Model;
class Funcionalidade extends Model
{
protected $connection = 'intranet';
protected $table = 'cadastro_funcionalidade';
protected $fillable = [
'id',
'modulo_id',
'nome',
'identificador',
'manual',
];
protected $hidden = [
'created_by',
'created_at',
'updated_by',
'updated_at',
];
public function modulo()
{
return $this->belongsTo(Modulo::class);
}
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models\Intranet\Cadastro;
use Illuminate\Database\Eloquent\Model;
class Modulo extends Model
{
protected $connection = 'intranet';
protected $table = 'cadastro_modulo';
protected $fillable = [
'id',
'sistema_id',
'nome',
'identificador',
];
protected $hidden = [
'created_by',
'created_at',
'updated_by',
'updated_at',
];
}