NadekoBot/NadekoBot.Core/Services/Database/Models/Quote.cs
2017-10-13 06:14:54 +02:00

17 lines
425 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; }
}
}