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

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