premios fixed

This commit is contained in:
Felipe
2024-03-07 10:55:42 -05:00
parent c36c6d44d9
commit cd68c1d966
5 changed files with 99 additions and 4 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class PremioEntregado extends Model
{
use HasFactory;
protected $table = 'premios_entregados';
protected $fillable = [
'user_id',
'fecha',
'entregado',
];
public function user()
{
return $this->belongsTo(User::class);
}
}