NadekoBot/NadekoBot.Core/Services/Database/Models/Quote.cs
2017-11-26 10:45:50 +07:00

24 lines
503 B
C#

using System.ComponentModel.DataAnnotations;
namespace NadekoBot.Core.Services.Database.Models
{
public class Quote : DbEntity
{
public ulong GuildId { get; set; }
[Required]
public string Keyword { get; set; }
[Required]
public string AuthorName { get; set; }
public ulong AuthorId { get; set; }
[Required]
public string Text { get; set; }
}
public enum OrderType
{
Id = -1,
Keyword = -2
}
}