This commit is contained in:
25
api/app/Models/Almoxarifado/RequisicaoRespostaStatus.php
Normal file
25
api/app/Models/Almoxarifado/RequisicaoRespostaStatus.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Almoxarifado;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class RequisicaoRespostaStatus extends Model
|
||||
{
|
||||
protected $table = 'almoxarifado_requisicao_resposta_status';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'nome',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function requisicaoRespostas()
|
||||
{
|
||||
return $this->hasMany(RequisicaoResposta::class, 'status_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user