Add Some Cookies
This commit is contained in:
parent
b01094f4c2
commit
119f4586c7
3 changed files with 117 additions and 0 deletions
21
Geekbot.net/Database/Models/CookiesModel.cs
Normal file
21
Geekbot.net/Database/Models/CookiesModel.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Geekbot.net.Database.Models
|
||||
{
|
||||
public class CookiesModel
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public long GuildId { get; set; }
|
||||
|
||||
[Required]
|
||||
public long UserId { get; set; }
|
||||
|
||||
public int Cookies { get; set; } = 0;
|
||||
|
||||
public DateTimeOffset? LastPayout { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue