2018-03-21 21:07:43 +00:00
|
|
|
|
using EntityFrameworkCore.BootKit;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2018-03-28 22:08:49 +00:00
|
|
|
|
namespace BotSharp.Core.Intents
|
2018-03-21 21:07:43 +00:00
|
|
|
|
{
|
|
|
|
|
|
[Table("Bot_ContextModelMapping")]
|
|
|
|
|
|
public class ContextModelMapping : DbRecord, IDbRecord
|
|
|
|
|
|
{
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
[StringLength(36)]
|
|
|
|
|
|
public String AgentId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
[StringLength(32)]
|
|
|
|
|
|
public string ContextId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
[StringLength(21)]
|
|
|
|
|
|
public string ModelName { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|