2025-11-18 14:34:26 -03:00
|
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
2025-12-05 13:02:23 -03:00
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using ChatbotApi.Data.Models;
|
2025-11-18 14:34:26 -03:00
|
|
|
|
|
|
|
|
namespace ChatbotApi.Data.Models
|
|
|
|
|
{
|
|
|
|
|
public class AppContexto : IdentityDbContext
|
|
|
|
|
{
|
|
|
|
|
public AppContexto(DbContextOptions<AppContexto> options) : base(options) { }
|
|
|
|
|
|
2025-12-05 13:02:23 -03:00
|
|
|
public DbSet<ConversacionLog> ConversacionLogs { get; set; }
|
|
|
|
|
public DbSet<ContextoItem> ContextoItems { get; set; }
|
|
|
|
|
public DbSet<FuenteContexto> FuentesDeContexto { get; set; }
|
|
|
|
|
public DbSet<SystemPrompt> SystemPrompts { get; set; }
|
2025-11-18 14:34:26 -03:00
|
|
|
}
|
|
|
|
|
}
|