BotSharp/BotSharp.Core/Intents/IntentResponseParameter.cs
2018-06-06 11:20:02 -05:00

34 lines
821 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.Intents
{
[Table("Bot_IntentResponseParameter")]
public class IntentResponseParameter : DbRecord, IDbRecord
{
[Required]
[StringLength(36)]
public String IntentResponseId { get; set; }
public bool Required { get; set; }
[MaxLength(32)]
public string DataType { get; set; }
[MaxLength(128)]
public string DefaultValue { get; set; }
[MaxLength(64)]
public string Name { get; set; }
[MaxLength(128)]
public string Value { get; set; }
public bool IsList { get; set; }
}
}