2016-11-15 11:01:02 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2016-08-24 01:32:48 +00:00
|
|
|
|
|
2017-10-13 04:14:54 +00:00
|
|
|
|
namespace NadekoBot.Core.Services.Database.Models
|
2016-08-24 01:32:48 +00:00
|
|
|
|
{
|
|
|
|
|
public class Quote : DbEntity
|
|
|
|
|
{
|
2016-08-24 13:29:01 +00:00
|
|
|
|
public ulong GuildId { get; set; }
|
|
|
|
|
[Required]
|
2016-08-24 01:32:48 +00:00
|
|
|
|
public string Keyword { get; set; }
|
2016-08-24 13:29:01 +00:00
|
|
|
|
[Required]
|
|
|
|
|
public string AuthorName { get; set; }
|
|
|
|
|
public ulong AuthorId { get; set; }
|
|
|
|
|
[Required]
|
2016-08-24 01:32:48 +00:00
|
|
|
|
public string Text { get; set; }
|
|
|
|
|
}
|
2017-11-20 01:48:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum OrderType
|
|
|
|
|
{
|
|
|
|
|
Id,
|
|
|
|
|
Keyword
|
|
|
|
|
}
|
2016-08-24 01:32:48 +00:00
|
|
|
|
}
|