Files
rkm-conectasus-ci-sandbox/api/app/Models/Intranet/Sistema.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

36 lines
587 B
PHP

<?php
namespace App\Models\Intranet;
use App\Models\Model;
class Sistema extends Model
{
protected $connection = 'intranet';
protected $table = 'cadastro_sistema';
protected $fillable = [
'id',
'empresa_id',
'ramo_atividade_id',
'nome',
'versao',
];
protected $hidden = [
'created_at',
'updated_at',
];
public function empresa()
{
return $this->belongsTo(Empresa::class);
}
public function ramoAtividade()
{
return $this->belongsTo(RamoAtividade::class);
}
}