Port UserRepository and remove OW stuff
This commit is contained in:
parent
d2f31d0730
commit
15034d63a3
20 changed files with 176 additions and 328 deletions
|
@ -1,7 +1,21 @@
|
|||
namespace Geekbot.net.Database.Models
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Geekbot.net.Database.Models
|
||||
{
|
||||
public class KarmaModel
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public long GuildId { get; set; }
|
||||
|
||||
[Required]
|
||||
public long UserId { get; set; }
|
||||
|
||||
public int Karma { get; set; }
|
||||
|
||||
public DateTimeOffset TimeOut { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue