Cleanup some dead code and database models

This commit is contained in:
runebaas 2020-06-01 01:13:45 +02:00
parent 520633c590
commit ff968a490f
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
5 changed files with 0 additions and 78 deletions

View file

@ -1,24 +0,0 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Geekbot.net.Database.Models
{
public class GuildsModel
{
[Key]
public int Id { get; set; }
[Required]
public long GuildId { get; set; }
[Required]
public string Name { get; set; }
[Required]
public long Owner { get; set; }
public string IconUrl { get; set; }
public DateTimeOffset CreatedAt { get; set; }
}
}

View file

@ -1,27 +0,0 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Geekbot.net.Database.Models
{
public class PollModel
{
[Key]
public int Id { get; set; }
[Required]
public long GuildId { get; set; }
[Required]
public long ChannelId { get; set; }
public string Question { get; set; }
public long Creator { get; set; }
public long MessageId { get; set; }
public List<PollQuestionModel> Options { get; set; }
public bool IsFinshed { get; set; }
}
}

View file

@ -1,16 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Geekbot.net.Database.Models
{
public class PollQuestionModel
{
[Key]
public int Id { get; set; }
public int OptionId { get; set; }
public string OptionText { get; set; }
public int Votes { get; set; }
}
}