Feat Gestion de Fuentes URLs

This commit is contained in:
2025-11-21 11:20:44 -03:00
parent 1a46f15ec1
commit 2e353cbb8c
9 changed files with 832 additions and 77 deletions

View File

@@ -0,0 +1,22 @@
// Data/Models/FuenteContexto.cs
using System.ComponentModel.DataAnnotations;
public class FuenteContexto
{
[Key]
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string Nombre { get; set; } = null!; // Ej: "FAQs de Suscripción"
[Required]
[MaxLength(1000)]
public string Url { get; set; } = null!;
[Required]
[MaxLength(500)]
public string DescripcionParaIA { get; set; } = null!; // ¡La parte más importante!
public bool Activo { get; set; } = true;
}