BotSharp/BotSharp.Platform.Models/Intents/IntentExpression.cs
2018-10-02 20:44:11 -05:00

25 lines
578 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
namespace BotSharp.Platform.Models.Intents
{
public class IntentExpression
{
public IntentExpression()
{
Data = new List<IntentExpressionPart>();
}
[Required]
[StringLength(36)]
public String IntentId { get; set; }
[ForeignKey("ExpressionId")]
public List<IntentExpressionPart> Data { get; set; }
}
}