using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace BotSharp.Platform.Models.Intents
{
public class IntentResponse
{
///
/// Guid
///
[StringLength(36)]
public String Id { get; set; }
[Required]
[StringLength(36)]
public String IntentId { get; set; }
[MaxLength(128)]
public String Action { get; set; }
public Boolean ResetContexts { get; set; }
[ForeignKey("IntentResponseId")]
public List Contexts { get; set; }
[ForeignKey("IntentResponseId")]
public List Parameters { get; set; }
[ForeignKey("IntentResponseId")]
public List Messages { get; set; }
[NotMapped]
public string IntentName { get; set; }
}
}