16 lines
436 B
C#
16 lines
436 B
C#
|
using System.ComponentModel.DataAnnotations;
|
||
|
using Geekbot.net.Lib.Highscores;
|
||
|
|
||
|
namespace Geekbot.net.WebApi.Controllers.Highscores
|
||
|
{
|
||
|
public class HighscoreControllerPostBodyDto
|
||
|
{
|
||
|
[Required]
|
||
|
public ulong GuildId { get; set; }
|
||
|
|
||
|
public HighscoreTypes Type { get; set; } = HighscoreTypes.messages;
|
||
|
|
||
|
[Range(1, 150)]
|
||
|
public int Amount { get; set; } = 50;
|
||
|
}
|
||
|
}
|