This commit is contained in:
25
api/app/Models/Geral/CiapCodigoEsus.php
Normal file
25
api/app/Models/Geral/CiapCodigoEsus.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Geral;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class CiapCodigoEsus extends Model
|
||||
{
|
||||
protected $table = 'geral_ciap_codigo_esus';
|
||||
|
||||
protected $fillable = [
|
||||
'ciap_id',
|
||||
'codigo',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function ciap()
|
||||
{
|
||||
return $this->belongsTo(Ciap::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user