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