BotSharp/BotSharp.Platform.Models/Intents/IntentExpressionPart.cs

32 lines
720 B
C#
Raw Normal View History

2018-10-03 01:44:11 +00:00
using System;
2017-12-30 20:26:35 +00:00
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
2018-10-03 01:44:11 +00:00
namespace BotSharp.Platform.Models.Intents
2017-12-30 20:26:35 +00:00
{
2018-10-03 01:44:11 +00:00
public class IntentExpressionPart
2017-12-30 20:26:35 +00:00
{
[Required]
[StringLength(36)]
public String ExpressionId { get; set; }
[Required]
[MaxLength(128)]
public String Text { get; set; }
2017-12-30 20:26:35 +00:00
[MaxLength(64)]
public String Alias { get; set; }
[MaxLength(64)]
public String Meta { get; set; }
2018-08-15 11:34:27 +00:00
public int Start { get; set; }
public Boolean UserDefined { get; set; }
2018-10-03 01:44:11 +00:00
public DateTime UpdatedTime { get; set; }
2017-12-30 20:26:35 +00:00
}
}