Bot Event
This commit is contained in:
21
LaDOSE.Src/LaDOSE.DTO/BotEventDTO.cs
Normal file
21
LaDOSE.Src/LaDOSE.DTO/BotEventDTO.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LaDOSE.DTO
|
||||
{
|
||||
public class BotEventSendDTO
|
||||
{
|
||||
public string DiscordId { get; set; }
|
||||
public string DiscordName { get; set; }
|
||||
public bool Present { get; set; }
|
||||
}
|
||||
public class BotEventDTO
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public List<BotEventResultDTO> Results { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
10
LaDOSE.Src/LaDOSE.DTO/BotEventResultDTO.cs
Normal file
10
LaDOSE.Src/LaDOSE.DTO/BotEventResultDTO.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace LaDOSE.DTO
|
||||
{
|
||||
public class BotEventResultDTO
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string DiscordId { get; set; }
|
||||
public bool Result { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user