2016-11-15 11:01:02 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2016-08-24 01:32:48 +00:00
|
|
|
|
|
|
|
|
|
namespace NadekoBot.Services.Database.Models
|
|
|
|
|
{
|
|
|
|
|
public class Quote : DbEntity
|
|
|
|
|
{
|
2016-08-24 13:29:01 +00:00
|
|
|
|
public ulong GuildId { get; set; }
|
|
|
|
|
[Required]
|
2016-08-24 01:32:48 +00:00
|
|
|
|
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]
|
2016-08-24 01:32:48 +00:00
|
|
|
|
public string Text { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|