Files

25 lines
568 B
C#
Raw Permalink Normal View History

2025-11-21 11:20:44 -03:00
// 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!;
2025-11-21 11:20:44 -03:00
public bool Activo { get; set; } = true;
[MaxLength(200)]
public string? SelectorContenido { get; set; } // Ej: "div.contenedor-planes"
2025-11-21 11:20:44 -03:00
}