22 lines
411 B
PHP
22 lines
411 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class AccionesMejoras extends Model
|
||
|
{
|
||
|
use HasFactory;
|
||
|
public $timestamps = false;
|
||
|
|
||
|
protected $table ='acciones_mejoras';
|
||
|
protected $fillable = [
|
||
|
'descripcion',
|
||
|
|
||
|
];
|
||
|
public function plans(){
|
||
|
return $this->belongsTo(plan::class,'id_plan');
|
||
|
}
|
||
|
}
|