2018-05-10 02:00:26 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Database.Models
|
2018-05-10 00:00:51 +02:00
|
|
|
|
{
|
|
|
|
|
public class KarmaModel
|
|
|
|
|
{
|
2018-05-10 02:00:26 +02:00
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
2018-05-10 00:00:51 +02:00
|
|
|
|
|
2018-05-10 02:00:26 +02:00
|
|
|
|
[Required]
|
|
|
|
|
public long GuildId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int Karma { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTimeOffset TimeOut { get; set; }
|
2018-05-10 00:00:51 +02:00
|
|
|
|
}
|
|
|
|
|
}
|