2025-11-18 14:34:26 -03:00
|
|
|
// ChatbotApi/Data/Models/AppContexto.cs
|
|
|
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace ChatbotApi.Data.Models
|
|
|
|
|
{
|
|
|
|
|
public class AppContexto : IdentityDbContext
|
|
|
|
|
{
|
|
|
|
|
public AppContexto(DbContextOptions<AppContexto> options) : base(options) { }
|
|
|
|
|
|
|
|
|
|
public DbSet<ContextoItem> ContextoItems { get; set; } = null!;
|
|
|
|
|
public DbSet<ConversacionLog> ConversacionLogs { get; set; } = null!;
|
2025-11-21 11:20:44 -03:00
|
|
|
public DbSet<FuenteContexto> FuentesDeContexto { get; set; } = null!;
|
2025-11-18 14:34:26 -03:00
|
|
|
}
|
|
|
|
|
}
|