BotSharp/BotSharp.Core/Agents/AgentMlConfig.cs

28 lines
668 B
C#
Raw Normal View History

2018-06-25 12:38:34 +00:00
using EntityFrameworkCore.BootKit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace BotSharp.Core.Agents
{
2018-07-12 15:07:05 +00:00
[Table("Bot_AgentMlConfig")]
public class AgentMlConfig : DbRecord, IDbRecord
2018-06-25 12:38:34 +00:00
{
[Required]
[StringLength(36)]
public String AgentId { get; set; }
2018-07-12 15:07:05 +00:00
[Required]
public decimal MinConfidence { get; set; }
[Required]
[MaxLength(64)]
public string CustomClassifierMode { get; set; }
[MaxLength(64)]
2018-06-25 12:38:34 +00:00
public String Pipeline { get; set; }
}
}