NadekoBot/NadekoBot.Core/Services/Database/Models/Quote.cs

24 lines
503 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace NadekoBot.Core.Services.Database.Models
{
public class Quote : DbEntity
{
2016-08-24 13:29:01 +00:00
public ulong GuildId { get; set; }
[Required]
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]
public string Text { get; set; }
}
public enum OrderType
{
2017-11-26 03:45:50 +00:00
Id = -1,
Keyword = -2
}
}