Files
nadekobot/NadekoBot.Core/Services/Database/Models/Quote.cs
2021-09-06 21:29:22 +02:00

25 lines
547 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 ulong UseCount { get; set; }
}
public enum OrderType
{
Id = -1,
Keyword = -2
}
}