Agrego archivos iniciales

This commit is contained in:
Laucha1312
2026-06-04 14:47:50 -03:00
commit ed94601e34
76 changed files with 7737 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Noticia extends Model
{
protected $table = 'noticias';
protected $primaryKey = 'id';
public $timestamps = false;
protected $fillable = [
'titulo',
'contenido',
'imagen',
'fecha',
'id_torneo',
'categoria',
];
protected $casts = [
'id' => 'integer',
'fecha' => 'datetime',
];
}