BotSharp/Bot.Rasa/Expressions/EntitiyOfSpeech.cs
2017-12-30 14:26:35 -06:00

28 lines
648 B
C#

using EntityFrameworkCore.BootKit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Bot.Rasa.Expressions
{
[Table("Bot_EntityOfSpeech")]
public class EntitiyOfSpeech : DbRecord, IDbRecord
{
[Required]
[StringLength(36)]
public String ExpressionId { get; set; }
public int Start { get; set; }
[Required]
[MaxLength(128)]
public String Value { get; set; }
[Required]
[MaxLength(64)]
public String Entity { get; set; }
}
}