NadekoBot/NadekoBot.Core/Services/Database/Models/Quote.cs
2017-09-30 00:46:33 +02:00

17 lines
420 B
C#

using System.ComponentModel.DataAnnotations;
namespace NadekoBot.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; }
}
}