Save quotes to the database after adding them
This commit is contained in:
parent
510b030fec
commit
177942f7fe
2 changed files with 46 additions and 33 deletions
|
@ -8,10 +8,22 @@ namespace Geekbot.net.Database
|
|||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public int InternalId { get; set; }
|
||||
|
||||
[Required]
|
||||
public ulong GuildId { get; set; }
|
||||
|
||||
[Required]
|
||||
public ulong UserId { get; set; }
|
||||
public string Quote { get; set; }
|
||||
|
||||
[Required]
|
||||
[DataType(DataType.DateTime)]
|
||||
public DateTime Time { get; set; }
|
||||
|
||||
public string Quote { get; set; }
|
||||
|
||||
public string Image { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue