BotSharp/BotSharp.Core/Conversations/ConversationContext.cs
2018-05-06 12:41:36 -05:00

24 lines
583 B
C#

using EntityFrameworkCore.BootKit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace BotSharp.Core.Conversations
{
[Table("Bot_ConversationContext")]
public class ConversationContext : DbRecord, IDbRecord
{
[Required]
[StringLength(36)]
public String ConversationId { get; set; }
[Required]
[MaxLength(64)]
public String Context { get; set; }
public int Lifespan { get; set; }
}
}