BotSharp/Platform.Dialogflow/Models/EntrySynonym.cs

26 lines
581 B
C#
Raw Normal View History

2018-04-02 22:42:11 +00:00
using EntityFrameworkCore.BootKit;
using System;
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 Platform.Dialogflow.Models
2018-04-02 22:42:11 +00:00
{
2018-10-03 01:44:11 +00:00
public class EntrySynonym
2018-04-02 22:42:11 +00:00
{
2018-10-03 01:44:11 +00:00
/// <summary>
/// Guid
/// </summary>
[StringLength(36)]
public String Id { get; set; }
2018-04-02 22:42:11 +00:00
[Required]
[StringLength(36)]
public String EntityEntryId { get; set; }
2018-06-18 14:15:54 +00:00
[MaxLength(128)]
2018-04-02 22:42:11 +00:00
public String Synonym { get; set; }
}
}