Proyecto ChatBot Con Gemini
This commit is contained in:
25
ChatbotApi/Data/Models/ContextoItem.cs
Normal file
25
ChatbotApi/Data/Models/ContextoItem.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
// Data/Models/ContextoItem.cs
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ChatbotApi.Data.Models
|
||||
{
|
||||
public class ContextoItem
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[MaxLength(100)]
|
||||
public string Clave { get; set; } = null!;
|
||||
|
||||
[Required]
|
||||
[MaxLength(2000)]
|
||||
public string Valor { get; set; } = null!;
|
||||
|
||||
[MaxLength(500)]
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public DateTime FechaActualizacion { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user