using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace BotSharp.Platform.Models { public abstract class AgentBase { public AgentBase() { CreatedDate = DateTime.UtcNow; } /// /// Guid /// [StringLength(36)] public String Id { get; set; } /// /// Name of chatbot /// [Required] [MaxLength(64)] public virtual String Name { get; set; } /// /// Description of chatbot /// [MaxLength(256)] public String Description { get; set; } /// /// /// [Required] [MaxLength(5)] public String Language { get; set; } [Required] public DateTime CreatedDate { get; set; } public TrainingCorpus Corpus { get; set; } } }